Searched refs:stringType (Results 1 – 2 of 2) sorted by relevance
841 val stringType = codebase.assertClass("test.pkg.Foo").methods().single().returnType() in <lambda>() constant842 assertThat(stringType.annotationNames()).containsExactly("test.pkg.A", "test.pkg.B") in <lambda>()845 val annotationA = stringType.modifiers.annotations().first() in <lambda>()847 stringType.modifiers.removeAnnotation(annotationA) in <lambda>()848 assertThat(stringType.annotationNames()).containsExactly("test.pkg.B") in <lambda>()851 stringType.modifiers.addAnnotation(annotationA) in <lambda>()852 assertThat(stringType.annotationNames()).containsExactly("test.pkg.B", "test.pkg.A") in <lambda>()1588 val stringType = codebase.assertClass("test.pkg.Foo").methods().single().returnType() in <lambda>() constant1590 stringType.assertHasNullableNullability(annotations) in <lambda>()1593 stringType.modifiers.setNullability(PLATFORM) in <lambda>()[all …]
725 val stringType = paramTypes[0] in Test class types() constant726 assertThat(stringType).isInstanceOf(ClassTypeItem::class.java) in Test class types()727 assertThat((stringType as ClassTypeItem).qualifiedName).isEqualTo("java.lang.String") in Test class types()728 assertThat(stringType.className).isEqualTo("String") in Test class types()729 assertThat(stringType.arguments).isEmpty() in Test class types()