Home
last modified time | relevance | path

Searched refs:getSimpleName (Results 1 – 25 of 586) sorted by relevance

12345678910>>...24

/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/expected_output/
Dcom_github_javaparser_ast_nodeTypes_NodeWithAnnotations.txt6 …Line 69) addAnnotation(clazz.getSimpleName()) ==> com.github.javaparser.ast.nodeTypes.NodeWithAnno…
7 Line 69) clazz.getSimpleName() ==> java.lang.Class.getSimpleName()
13 …Line 95) addMarkerAnnotation(clazz.getSimpleName()) ==> com.github.javaparser.ast.nodeTypes.NodeWi…
14 Line 95) clazz.getSimpleName() ==> java.lang.Class.getSimpleName()
21 …Line 124) addSingleMemberAnnotation(clazz.getSimpleName(), value) ==> com.github.javaparser.ast.no…
22 Line 124) clazz.getSimpleName() ==> java.lang.Class.getSimpleName()
29 …Line 144) isAnnotationPresent(annotationClass.getSimpleName()) ==> com.github.javaparser.ast.nodeT…
30 Line 144) annotationClass.getSimpleName() ==> java.lang.Class.getSimpleName()
39 …Line 165) getAnnotationByName(annotationClass.getSimpleName()) ==> com.github.javaparser.ast.nodeT…
40 Line 165) annotationClass.getSimpleName() ==> java.lang.Class.getSimpleName()
Dcom_github_javaparser_ast_nodeTypes_NodeWithThrowable.txt5 …Line 35) addThrows(new ClassOrInterfaceType(clazz.getSimpleName())) ==> com.github.javaparser.ast.…
6 Line 35) clazz.getSimpleName() ==> java.lang.Class.getSimpleName()
7 …Line 45) isThrows(clazz.getSimpleName()) ==> com.github.javaparser.ast.nodeTypes.NodeWithThrowable…
8 Line 45) clazz.getSimpleName() ==> java.lang.Class.getSimpleName()
Dcom_github_javaparser_ast_nodeTypes_NodeWithParameters.txt3 …Line 22) addParameter(new ClassOrInterfaceType(paramClass.getSimpleName()), name) ==> com.github.j…
4 Line 22) paramClass.getSimpleName() ==> java.lang.Class.getSimpleName()
11 …Line 48) addAndGetParameter(new ClassOrInterfaceType(paramClass.getSimpleName()), name) ==> com.gi…
12 Line 48) paramClass.getSimpleName() ==> java.lang.Class.getSimpleName()
32 …Line 97) getParameters().stream().filter(p -> p.getType().toString().equals(type.getSimpleName()))…
33 …Line 97) getParameters().stream().filter(p -> p.getType().toString().equals(type.getSimpleName()))…
34 …Line 97) getParameters().stream().filter(p -> p.getType().toString().equals(type.getSimpleName()))…
37 …Line 98) p.getType().toString().equals(type.getSimpleName()) ==> java.lang.String.equals(java.lang…
40 Line 98) type.getSimpleName() ==> java.lang.Class.getSimpleName()
Dcom_github_javaparser_ast_nodeTypes_NodeWithElementType.txt2 …Line 66) setElementType(new ClassOrInterfaceType(typeClass.getSimpleName())) ==> com.github.javapa…
3 Line 66) typeClass.getSimpleName() ==> java.lang.Class.getSimpleName()
Dcom_github_javaparser_ast_nodeTypes_NodeWithType.txt2 …Line 61) setType(new ClassOrInterfaceType(typeClass.getSimpleName())) ==> com.github.javaparser.as…
3 Line 61) typeClass.getSimpleName() ==> java.lang.Class.getSimpleName()
Dcom_github_javaparser_ast_nodeTypes_NodeWithImplements.txt5 …Line 35) addImplements(clazz.getSimpleName()) ==> com.github.javaparser.ast.nodeTypes.NodeWithImpl…
6 Line 35) clazz.getSimpleName() ==> java.lang.Class.getSimpleName()
Dcom_github_javaparser_ast_nodeTypes_NodeWithExtends.txt2 …Line 21) addExtends(clazz.getSimpleName()) ==> com.github.javaparser.ast.nodeTypes.NodeWithExtends…
3 Line 21) clazz.getSimpleName() ==> java.lang.Class.getSimpleName()
/external/desugar/test/java/com/google/devtools/build/android/desugar/testdata/java8/
DDefaultInterfaceMethodWithStaticInitializer.java34 initializationOrder.add(enclosingInterfaceClass.getSimpleName()); in register()
82 return ImmutableList.of(I1.class.getSimpleName(), I2.class.getSimpleName()); in getExpectedInitializationOrder()
125 return ImmutableList.of(I1.class.getSimpleName(), I2.class.getSimpleName()); in getExpectedInitializationOrder()
165 return ImmutableList.of(I1.class.getSimpleName()); in getExpectedInitializationOrder()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/
DNodeWithAnnotations.java99 return addAnnotation(clazz.getSimpleName()); in addAnnotation()
110 return addAndGetAnnotation(clazz.getSimpleName()); in addAndGetAnnotation()
135 return addMarkerAnnotation(clazz.getSimpleName()); in addMarkerAnnotation()
161 return addSingleMemberAnnotation(clazz.getSimpleName(), expression); in addSingleMemberAnnotation()
185 return addSingleMemberAnnotation(clazz.getSimpleName(), value); in addSingleMemberAnnotation()
205 return isAnnotationPresent(annotationClass.getSimpleName()); in isAnnotationPresent()
223 return getAnnotationByName(annotationClass.getSimpleName()); in getAnnotationByClass()
DNodeWithParameters.java58 return addParameter(parseType(paramClass.getSimpleName()), name); in addParameter()
83 return addAndGetParameter(parseType(paramClass.getSimpleName()), name); in addAndGetParameter()
132 .filter(p -> p.getType().toString().equals(type.getSimpleName())).findFirst(); in getParameterByType()
160 .equals(Stream.of(paramTypes).map(Class::getSimpleName).collect(toSet())); in hasParametersOfType()
/external/mockito/src/main/java/org/mockito/internal/util/reflection/
DFieldInitializer.java93 …nitializing field '" + field.getName() + "' of type '" + field.getType().getSimpleName() + "'", e); in initialize()
101 …throw new MockitoException("the type '" + field.getType().getSimpleName() + "' is a local class."); in checkNotLocal()
108 …throw new MockitoException("the type '" + type.getSimpleName() + "' is an inner non static class."… in checkNotInner()
114 … throw new MockitoException("the type '" + field.getType().getSimpleName() + "' is an interface."); in checkNotInterface()
120 …throw new MockitoException("the type '" + field.getType().getSimpleName() + "' is an abstract clas… in checkNotAbstract()
126 … throw new MockitoException("the type '" + field.getType().getSimpleName() + "' is an enum."); in checkNotEnum()
200 …throw new MockitoException("the type '" + field.getType().getSimpleName() + "' has no default cons… in instantiate()
202 …ockitoException("the default constructor of type '" + field.getType().getSimpleName() + "' has rai… in instantiate()
274 …ncorrect types for constructor " + constructor + " of type " + field.getType().getSimpleName(), e); in instantiate()
276 …ow new MockitoException("the constructor of type '" + field.getType().getSimpleName() + "' has rai… in instantiate()
/external/mockito/src/main/java/org/mockito/internal/configuration/
DSpyAnnotationEngine.java92 " inner class: '" + type.getSimpleName() + "'", in spyNewInstance()
93 … " outer class: '" + type.getEnclosingClass().getSimpleName() + "'", in spyNewInstance()
101 " inner class: '" + type.getSimpleName() + "'", in spyNewInstance()
102 … " outer class: '" + enclosing.getSimpleName() + "'", in spyNewInstance()
123 …throw new MockitoException("Please ensure that the type '" + type.getSimpleName() + "' has a no-ar… in noArgConstructorOf()
142 throw unsupportedCombinationOfAnnotations(annotation.getSimpleName(), in assertNoIncompatibleAnnotations()
143 u.getSimpleName()); in assertNoIncompatibleAnnotations()
/external/connectedappssdk/processor/src/main/java/com/google/android/enterprise/connectedapps/processor/annotationdiscovery/
DAnnotationStrings.java28 return crossProfileAnnotationClass().getSimpleName(); in crossProfile()
48 return crossProfileCallbackAnnotationClass().getSimpleName(); in crossProfileCallback()
68 return crossProfileConfigurationAnnotationClass().getSimpleName(); in crossProfileConfiguration()
88 return crossProfileConfigurationsAnnotationClass().getSimpleName(); in crossProfileConfigurations()
103 return crossProfileProviderAnnotationClass().getSimpleName(); in crossProfileProvider()
123 return crossProfileTestAnnotationClass().getSimpleName(); in crossProfileTest()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/
DDifferenceElementCalculator.java25 …throw new UnsupportedOperationException(a.getClass().getSimpleName()+ " "+b.getClass().getSimpleNa… in matching()
39 …throw new UnsupportedOperationException(a.getClass().getSimpleName()+ " "+b.getClass().getSimpleNa… in matching()
46 …throw new UnsupportedOperationException(a.getClass().getSimpleName()+ " "+b.getClass().getSimpleNa… in matching()
61 …throw new UnsupportedOperationException(a.getClass().getSimpleName()+ " "+b.getClass().getSimpleNa… in replacement()
72 …throw new UnsupportedOperationException(a.getClass().getSimpleName()+ " "+b.getClass().getSimpleNa… in replacement()
/external/mockito/src/main/java/org/mockito/internal/exceptions/
DReporter.java137 … "Argument passed to verify() is of type " + type.getSimpleName() + " and is not a mock!", in notAMockPassedToVerify()
584 … "You passed following type: " + wrongType.getSimpleName() + " which is not an interface." in extraInterfacesAcceptsOnlyInterfaces()
591 "You mocked following type: " + wrongType.getSimpleName(), in extraInterfacesCannotContainMockedType()
605 …cked type must be: " + spiedInstance.getClass().getSimpleName() + ", but is: " + mockedType.getSim… in mockedTypeIsInconsistentWithSpiedInstanceType()
718 … type must be: " + delegatedInstance.getClass().getSimpleName() + ", but is: " + mockedType.getSim… in mockedTypeIsInconsistentWithDelegatedInstanceType()
765 …ringBuilder.append("+] ").append(parameterTypes[i].getComponentType().getSimpleName()).append(" <… in possibleArgumentTypesOf()
767 stringBuilder.append("] ").append(parameterTypes[i].getSimpleName()).append("\n"); in possibleArgumentTypesOf()
775 …"The argument of type '" + actualType.getSimpleName() + "' cannot be returned because the followin… in wrongTypeOfArgumentToReturn()
801 …s().serializable()' however the type you are trying to mock '" + classToMock.getSimpleName() + "'", in serializableWontWorkForObjectsThatDontImplementSerializable()
815 …d be: " + mockMethod.getReturnType().getSimpleName() + ", but was: " + delegateMethod.getReturnTyp… in delegatedMethodHasWrongReturnType()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DTemporaryBindingsTest.java26 …assertThat(shadowView.getClass().getSimpleName()).isEqualTo(TemporaryShadowView.class.getSimpleNam… in overridingShadowBindingsShouldNotAffectBindingsInLaterTests()
34 .getSimpleName()) in overridingShadowBindingsShouldNotAffectBindingsInLaterTestsAgain()
35 .isEqualTo(ShadowView.class.getSimpleName()); in overridingShadowBindingsShouldNotAffectBindingsInLaterTestsAgain()
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DUtf8Test.java150 fail("Expected " + clazz.getSimpleName()); in assertEncoding_insufficientSpace()
160 fail("Expected " + clazz.getSimpleName()); in assertEncoding_insufficientSpace()
169 fail("Expected " + clazz.getSimpleName()); in assertEncoding_insufficientSpace()
179 fail("Expected " + clazz.getSimpleName()); in assertEncoding_insufficientSpace()
189 fail("Expected " + clazz.getSimpleName()); in assertEncoding_insufficientSpace()
222 fail("Expected " + expected.getSimpleName() + ", but found " + t.getClass().getSimpleName()); in assertExceptionType()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/nodeTypes/
DNodeWithAnnotations.java69 return addAnnotation(clazz.getSimpleName()); in addAnnotation()
95 return addMarkerAnnotation(clazz.getSimpleName()); in addMarkerAnnotation()
124 return addSingleMemberAnnotation(clazz.getSimpleName(), value); in addSingleMemberAnnotation()
144 return isAnnotationPresent(annotationClass.getSimpleName()); in isAnnotationPresent()
165 return getAnnotationByName(annotationClass.getSimpleName()); in getAnnotationByClass()
/external/dagger2/java/dagger/internal/codegen/binding/
DKeyVariableNamer.java56 && VERY_SIMPLE_NAMES.contains(element.getSimpleName().toString())) {
57 builder.append(element.getEnclosingElement().getSimpleName());
60 builder.append(element.getSimpleName());
100 builder.append(key.qualifier().get().getAnnotationType().asElement().getSimpleName()); in name()
DComponentCreatorAnnotation.java55 this.creatorKind = ComponentCreatorKind.valueOf(toUpperCase(annotation.getSimpleName())); in ComponentCreatorAnnotation()
71 return componentAnnotation().getSimpleName().endsWith("Subcomponent"); in isSubcomponentCreatorAnnotation()
78 return componentAnnotation().getSimpleName().startsWith("Production"); in isProductionCreatorAnnotation()
132 .getSimpleName() in creatorAnnotationsFor()
/external/connectedappssdk/processor/src/main/java/com/google/android/enterprise/connectedapps/processor/
DCrossProfileCallbackCodeGenerator.java150 .addStatement("callback.$L($L)", method.getSimpleName(), resultToPass) in generateMultiMergerResultClass()
201 MethodSpec.methodBuilder(method.getSimpleName().toString()) in generateMultiMergerInputClass()
206 String paramName = method.getParameters().get(0).getSimpleName().toString(); in generateMultiMergerInputClass()
221 MethodSpec.methodBuilder(method.getSimpleName().toString()) in addMultiMethod()
233 MethodSpec.methodBuilder(method.getSimpleName().toString()) in addMultiMethod()
235 .addParameter(paramType, param.getSimpleName().toString()) in addMultiMethod()
294 MethodSpec.methodBuilder(method.getSimpleName().toString()) in addReceiverMethod()
317 param.getSimpleName(), in addReceiverMethod()
443 parameter.getSimpleName().toString(), in addDispatchCode()
449 .map(p -> p.getSimpleName().toString()) in addDispatchCode()
[all …]
/external/mockito/src/test/java/org/mockitoutil/
DJUnitResultAssert.java42 …pected: " + expectedException + ", actual: " + f.getException().getClass().getSimpleName() + "\n" + in fails()
70 + " should be of type: " + expectedExceptions[i].getSimpleName() in failsExactly()
71 + " but is of type: " + f.getException().getClass().getSimpleName() in failsExactly()
99 …ssertionError("Method '" + methodName + "' did not fail with: " + expectedException.getSimpleName() in fails()
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/
DSyntaxTreeDumper.java73 return node.getClass().getSimpleName(); in nodeName()
76 String tokenType = token.getClass().getSimpleName().substring(1); in nodeName()
82 String p = node.getClass().getSuperclass().getSimpleName().substring(1); in nodeName()
83 String a = node.getClass().getSimpleName().substring(1); in nodeName()
/external/mockito/src/test/java/org/mockitousage/annotation/
DSpyAnnotationTest.java106 .contains(NoValidConstructor.class.getSimpleName()) in should_report_when_no_arg_less_constructor()
208 .hasMessageContaining(WithInnerPrivate.InnerPrivate.class.getSimpleName()); in should_report_private_inner_not_supported()
219 .hasMessageContaining(WithInnerPrivateAbstract.class.getSimpleName()) in should_report_private_abstract_inner_not_supported()
220 … .hasMessageContaining(WithInnerPrivateAbstract.InnerPrivateAbstract.class.getSimpleName()) in should_report_private_abstract_inner_not_supported()
232 .hasMessageContaining(WithInnerPrivateStaticAbstract.class.getSimpleName()) in should_report_private_static_abstract_inner_not_supported()
233 …sMessageContaining(WithInnerPrivateStaticAbstract.InnerPrivateStaticAbstract.class.getSimpleName()) in should_report_private_static_abstract_inner_not_supported()
/external/auto/value/src/test/java/com/google/auto/value/processor/
DExtensionTest.java296 if (method.getSimpleName().contentEquals("frob")) { in testCantConsumeConcreteMethod()
334 if (method.getSimpleName().contentEquals("intValue")) { in testCantConsumeNonExistentMethod()
857 String sideClassName = "Side_" + context.autoValueClass().getSimpleName(); in generateClass()
883 if (method.getSimpleName().contentEquals("writeToParcel")) { in writeToParcelMethod()
903 typesAndNamesBuilder.add(p.asType() + " " + p.getSimpleName()); in extraText()
906 + methodToImplement.getSimpleName() in extraText()
1033 assertThat(builderMethod.getSimpleName().toString()).isEqualTo("builder"); in builderContext()
1038 assertThat(toBuilderMethod.getSimpleName().toString()).isEqualTo("toBuilder"); in builderContext()
1042 assertThat(buildMethod.get().getSimpleName().toString()).isEqualTo("build"); in builderContext()
1047 assertThat(autoBuildMethod.getSimpleName().toString()).isEqualTo("autoBuild"); in builderContext()
[all …]

12345678910>>...24