Home
last modified time | relevance | path

Searched refs:getClass (Results 1 – 25 of 1952) sorted by relevance

12345678910>>...79

/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_javaparsermodel_DefaultVisitorAdapter.txt1 Line 18) node.getClass().getCanonicalName() ==> java.lang.Class.getCanonicalName()
2 Line 18) node.getClass() ==> java.lang.Object.getClass()
3 Line 23) node.getClass().getCanonicalName() ==> java.lang.Class.getCanonicalName()
4 Line 23) node.getClass() ==> java.lang.Object.getClass()
5 Line 28) node.getClass().getCanonicalName() ==> java.lang.Class.getCanonicalName()
6 Line 28) node.getClass() ==> java.lang.Object.getClass()
7 Line 33) node.getClass().getCanonicalName() ==> java.lang.Class.getCanonicalName()
8 Line 33) node.getClass() ==> java.lang.Object.getClass()
9 Line 38) node.getClass().getCanonicalName() ==> java.lang.Class.getCanonicalName()
10 Line 38) node.getClass() ==> java.lang.Object.getClass()
[all …]
Dcom_github_javaparser_symbolsolver_javaparsermodel_declarations_JavaParserSymbolDeclaration.txt16 Line 133) wrappedNode.getClass().getCanonicalName() ==> java.lang.Class.getCanonicalName()
17 Line 133) wrappedNode.getClass() ==> java.lang.Object.getClass()
37 …Line 155) getParentNode(wrappedNode).getClass().getCanonicalName() ==> java.lang.Class.getCanonica…
38 Line 155) getParentNode(wrappedNode).getClass() ==> java.lang.Object.getClass()
40 Line 158) wrappedNode.getClass().getCanonicalName() ==> java.lang.Class.getCanonicalName()
41 Line 158) wrappedNode.getClass() ==> java.lang.Object.getClass()
42 Line 164) this.getClass().getCanonicalName() ==> java.lang.Class.getCanonicalName()
43 Line 164) this.getClass() ==> java.lang.Object.getClass()
44 …Line 164) this.getWrappedNode().getClass().getCanonicalName() ==> java.lang.Class.getCanonicalName…
45 Line 164) this.getWrappedNode().getClass() ==> java.lang.Object.getClass()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/
DDefaultVisitorAdapter.java18 throw new UnsupportedOperationException(node.getClass().getCanonicalName()); in visit()
23 throw new UnsupportedOperationException(node.getClass().getCanonicalName()); in visit()
28 throw new UnsupportedOperationException(node.getClass().getCanonicalName()); in visit()
33 throw new UnsupportedOperationException(node.getClass().getCanonicalName()); in visit()
38 throw new UnsupportedOperationException(node.getClass().getCanonicalName()); in visit()
43 throw new UnsupportedOperationException(node.getClass().getCanonicalName()); in visit()
48 throw new UnsupportedOperationException(node.getClass().getCanonicalName()); in visit()
53 throw new UnsupportedOperationException(node.getClass().getCanonicalName()); in visit()
58 throw new UnsupportedOperationException(node.getClass().getCanonicalName()); in visit()
63 throw new UnsupportedOperationException(node.getClass().getCanonicalName()); in visit()
[all …]
/external/conscrypt/libcore-stub/src/main/java/libcore/util/
DObjects.java32 Class<?> c = o.getClass(); in toString()
51 if (value.getClass().isArray()) { in toString()
52 if (value.getClass() == boolean[].class) { in toString()
54 } else if (value.getClass() == byte[].class) { in toString()
56 } else if (value.getClass() == char[].class) { in toString()
58 } else if (value.getClass() == double[].class) { in toString()
60 } else if (value.getClass() == float[].class) { in toString()
62 } else if (value.getClass() == int[].class) { in toString()
64 } else if (value.getClass() == long[].class) { in toString()
66 } else if (value.getClass() == short[].class) { in toString()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javaparser_methodcalls_expected_output/
Dcom_github_javaparser_ast_UserDataKey.txt1 Line 28) getClass().hashCode() ==> java.lang.Object.hashCode()
2 Line 28) getClass() ==> java.lang.Object.getClass()
3 Line 37) getClass().equals(obj.getClass()) ==> java.lang.Object.equals(java.lang.Object)
4 Line 37) getClass() ==> java.lang.Object.getClass()
5 Line 37) obj.getClass() ==> java.lang.Object.getClass()
/external/objenesis/main/src/test/java/org/objenesis/
DObjenesisTest.java49 assertEquals(o.getInstantiatorOf(getClass()).newInstance().getClass(), getClass()); in testObjenesis_WithoutCache()
55 assertEquals(getClass(), o.newInstance(getClass()).getClass()); in testNewInstance()
61 ObjectInstantiator<?> i1 = o.getInstantiatorOf(getClass()); in testGetInstantiatorOf()
63 assertEquals(getClass(), i1.newInstance().getClass()); in testGetInstantiatorOf()
66 ObjectInstantiator<?> i2 = o.getInstantiatorOf(getClass()); in testGetInstantiatorOf()
/external/grpc-grpc-java/core/src/test/java/io/grpc/
DServiceProvidersTest.java60 getClass().getClassLoader(), in contextClassLoaderProvider()
66 getClass().getClassLoader(), in contextClassLoaderProvider()
73 ServiceProvidersTestAbstractProvider.class, NO_HARDCODED, cl, ACCESSOR).getClass()); in contextClassLoaderProvider()
84 getClass().getClassLoader(), in noProvider()
97 ClassLoader cl = new ReplacingClassLoader(getClass().getClassLoader(), serviceFile, in multipleProvider()
102 ServiceProvidersTestAbstractProvider.class, NO_HARDCODED, cl, ACCESSOR).getClass()); in multipleProvider()
107 assertEquals(Available7Provider.class, providers.get(0).getClass()); in multipleProvider()
108 assertEquals(Available5Provider.class, providers.get(1).getClass()); in multipleProvider()
109 assertEquals(Available0Provider.class, providers.get(2).getClass()); in multipleProvider()
115 ClassLoader cl = new ReplacingClassLoader(getClass().getClassLoader(), serviceFile, in unavailableProvider()
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DObjectArraysTest.java48 assertEquals(String[].class, empty.getClass()); in testNewArray_fromClass_Empty()
55 assertEquals(String[].class, array.getClass()); in testNewArray_fromClass_Nonempty()
63 assertEquals(String[][].class, array.getClass()); in testNewArray_fromClass_OfArray()
76 assertEquals(String[].class, array.getClass()); in testNewArray_fromArray_Nonempty()
83 assertEquals(String[][].class, array.getClass()); in testNewArray_fromArray_OfArray()
92 assertEquals(String[].class, result.getClass()); in testConcatEmptyEmpty()
100 assertEquals(String[].class, result.getClass()); in testConcatEmptyNonempty()
108 assertEquals(String[].class, result.getClass()); in testConcatNonemptyEmpty()
116 assertEquals(String[].class, result.getClass()); in testConcatBasic()
124 assertEquals(Serializable[].class, result.getClass()); in testConcatWithMoreGeneralType()
[all …]
/external/guice/core/test/com/google/inject/
DBinderTest.java138 String atSegment = "at " + getClass().getName(); in testMissingBindings()
139 String sourceFileName = getDeclaringSourcePart(getClass()); in testMissingBindings()
174 "at " + getClass().getName(), in testMissingDependency()
175 getDeclaringSourcePart(getClass())); in testMissingDependency()
197 "at " + getClass().getName()); in testDanglingConstantBinding()
215 "at " + getClass().getName(), in testRecursiveBinding()
216 getDeclaringSourcePart(getClass())); in testRecursiveBinding()
332 "1) A binding to java.lang.String[] was already configured at " + getClass().getName(), in testArrayTypeCanonicalization()
333 "at " + getClass().getName(), in testArrayTypeCanonicalization()
334 getDeclaringSourcePart(getClass())); in testArrayTypeCanonicalization()
[all …]
DProvisionExceptionsTest.java54 assertEquals(IllegalStateException.class, pe.getCause().getClass()); in testConstructorRuntimeException()
56 IllegalStateException.class, Messages.getOnlyCause(pe.getErrorMessages()).getClass()); in testConstructorRuntimeException()
79 assertEquals(IOException.class, pe.getCause().getClass()); in testConstructorCheckedException()
80 assertEquals(IOException.class, Messages.getOnlyCause(pe.getErrorMessages()).getClass()); in testConstructorCheckedException()
109 assertEquals(IllegalStateException.class, pe.getCause().getClass()); in testCustomProvidersRuntimeException()
111 IllegalStateException.class, Messages.getOnlyCause(pe.getErrorMessages()).getClass()); in testCustomProvidersRuntimeException()
137 assertEquals(IllegalStateException.class, pe.getCause().getClass()); in testProviderMethodRuntimeException()
139 IllegalStateException.class, Messages.getOnlyCause(pe.getErrorMessages()).getClass()); in testProviderMethodRuntimeException()
166 assertEquals(IOException.class, pe.getCause().getClass()); in testProviderMethodCheckedException()
167 assertEquals(IOException.class, Messages.getOnlyCause(pe.getErrorMessages()).getClass()); in testProviderMethodCheckedException()
DTypeConversionTest.java195 + getDeclaringSourcePart(getClass()), in testInvalidInteger()
222 assertContains(expected.getMessage(), "bound at " + getClass().getName()); in testInvalidCharacter()
246 assertContains(expected.getMessage(), "bound at " + getClass().getName()); in testInvalidEnum()
320 getClass().getName(), in testInvalidCustomValue()
321 getDeclaringSourcePart(getClass()), in testInvalidCustomValue()
324 "(bound at " + getClass().getName(), in testInvalidCustomValue()
325 getDeclaringSourcePart(getClass()), in testInvalidCustomValue()
374 getClass().getName(), in testNullCustomValue()
375 getDeclaringSourcePart(getClass()), in testNullCustomValue()
379 "(bound at " + getClass().getName(), in testNullCustomValue()
[all …]
DModulesTest.java62 m1.getClass().getName(), in testCombineSources()
63 combined1.getClass().getName(), in testCombineSources()
64 skipSourcesModule.getClass().getName(), in testCombineSources()
65 combined2.getClass().getName()), in testCombineSources()
68 assertEquals(skipSourcesModule.getClass().getName(), stackTraceElement.getClassName()); in testCombineSources()
76 Class<T> tClass = (Class<T>) toBind.getClass(); in newModule()
77 binder().skipSources(getClass()).bind(tClass).toInstance(toBind); in newModule()
/external/proguard/src/proguard/evaluation/value/
DValue.java48 …("Value \"" + this.toString() + "\" is not a Category 1 value [" + this.getClass().getName() + "]"… in category1Value()
56 …("Value \"" + this.toString() + "\" is not a Category 2 value [" + this.getClass().getName() + "]"… in category2Value()
65 …on("Value \"" + this.toString() + "\" is not an integer value [" + this.getClass().getName() + "]"… in integerValue()
73 …eption("Value \"" + this.toString() + "\" is not a long value [" + this.getClass().getName() + "]"… in longValue()
81 …ption("Value \"" + this.toString() + "\" is not a float value [" + this.getClass().getName() + "]"… in floatValue()
89 …tion("Value \"" + this.toString() + "\" is not a double value [" + this.getClass().getName() + "]"… in doubleValue()
97 …n("Value \"" + this.toString() + "\" is not a reference value [" + this.getClass().getName() + "]"… in referenceValue()
105 …"" + this.toString() + "\" is not an instruction offset value [" + this.getClass().getName() + "]"… in instructionOffsetValue()
DTopValue.java46 return this.getClass() == other.getClass() ? this : null; in generalize()
65 this.getClass() == object.getClass(); in equals()
71 return this.getClass().hashCode(); in hashCode()
/external/nist-sip/java/gov/nist/javax/sip/header/
DSIPObject.java83 if (!this.getClass().equals(other.getClass())) in equals()
86 Class myclass = this.getClass(); in equals()
87 Class hisclass = other.getClass(); in equals()
176 if (!this.getClass().equals(other.getClass())) in match()
179 Class myclass = this.getClass(); in match()
180 Class hisclass = other.getClass(); in match()
247 && GenericObject.isMySubclass(myObj.getClass()) in match()
248 && GenericObject.isMySubclass(hisObj.getClass()) in match()
249 && myObj.getClass().equals(hisObj.getClass()) in match()
260 GenericObject.isMySubclass(myObj.getClass()) in match()
[all …]
/external/nist-sip/java/gov/nist/javax/sip/address/
DNetObject.java84 if (!this.getClass().equals(that.getClass())) in equals()
86 Class<?> myclass = this.getClass(); in equals()
87 Class<?> hisclass = that.getClass(); in equals()
170 if (!this.getClass().equals(other.getClass())) in match()
176 Class<?> hisclass = other.getClass(); in match()
177 Class<?> myclass = this.getClass(); in match()
241 GenericObject.isMySubclass(myObj.getClass()) in match()
242 && GenericObject.isMySubclass(hisObj.getClass()) in match()
243 && myObj.getClass().equals(hisObj.getClass()) in match()
254 GenericObject.isMySubclass(myObj.getClass()) in match()
[all …]
/external/guava/guava-tests/test/com/google/common/reflect/
DTypeTokenResolutionTest.java45 return new TypeToken<A>(getClass()) {}.getRawType(); in getClassA()
49 return new TypeToken<B>(getClass()) {}.getRawType(); in getClassB()
53 return new TypeToken<A[]>(getClass()) {}.getRawType(); in getArrayClassA()
57 return new TypeToken<A[]>(getClass()) {}.getType(); in getArrayTypeA()
61 return new TypeToken<B[]>(getClass()) {}.getRawType(); in getArrayClassB()
122 TypeResolver typeResolver = TypeResolver.accordingTo(parameterized.getClass());
163 return new TypeToken<X>(getClass()) {}.getRawType();
169 return new TypeToken<T>(getClass()) {}.getRawType();
190 final Type f = new TypeToken<F>(getClass()) {}.getType();
191 final Type t = new TypeToken<T>(getClass()) {}.getType();
[all …]
DClassPathTest.java62 ClassPath classpath = ClassPath.from(getClass().getClassLoader()); in testGetResources()
81 assertEquals(getClass().getClassLoader().getResource(testResourceName), in testGetResources()
91 ClassPath classpath = ClassPath.from(getClass().getClassLoader()); in testGetAllClasses()
103 Class<?> anonymousClass = new Object() {}.getClass(); in testGetAllClasses()
120 ClassPath classpath = ClassPath.from(getClass().getClassLoader()); in testGetTopLevelClasses()
161 .addEqualityGroup(classInfo(Test.class), classInfo(Test.class, getClass().getClassLoader())) in testEquals()
163 new ResourceInfo("a/b/c.txt", getClass().getClassLoader()), in testEquals()
164 new ResourceInfo("a/b/c.txt", getClass().getClassLoader())) in testEquals()
166 new ResourceInfo("x.txt", getClass().getClassLoader())) in testEquals()
366 assertEquals(ClassInfo.class, resourceInfo(ClassPathTest.class).getClass()); in testResourceInfo_of()
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/immutable/
DImmutablesRepresenter.java44 getTag(data.getClass(), new Tag(data.getClass())), in representData()
55 return representSequence(getTag(data.getClass(), new Tag(data.getClass())), in representData()
65 return representSequence(getTag(data.getClass(), new Tag(data.getClass())), in representData()
76 getTag(data.getClass(), new Tag(data.getClass())), in representData()
/external/mockito/src/test/java/org/mockito/internal/creation/instance/
DConstructorInstantiatorTest.java44 …structorInstantiator(false, new Object[0]).newInstance(SomeClass.class).getClass(), SomeClass.clas… in creates_instances()
49 …w ConstructorInstantiator(true, this).newInstance(SomeInnerClass.class).getClass(), SomeInnerClass… in creates_instances_of_inner_classes()
50 …Instantiator(true, new ChildOfThis()).newInstance(SomeInnerClass.class).getClass(), SomeInnerClass… in creates_instances_of_inner_classes()
55 …structorInstantiator(false, "someString").newInstance(SomeClass2.class).getClass(), SomeClass2.cla… in creates_instances_with_arguments()
60 …orInstantiator(false, new Object[]{null}).newInstance(SomeClass2.class).getClass(), SomeClass2.cla… in creates_instances_with_null_arguments()
65 …assertEquals(new ConstructorInstantiator(false, 123).newInstance(SomeClass3.class).getClass(), Som… in creates_instances_with_primitive_arguments()
70 …orInstantiator(false, new Object[]{null}).newInstance(SomeClass3.class).getClass(), SomeClass3.cla… in fails_when_null_is_passed_for_a_primitive()
/external/objenesis/main/src/test/java/org/objenesis/instantiator/basic/
DClassDefinitionUtilsTest.java32 Class<?> c = ClassDefinitionUtils.defineClass(className, b, getClass().getClassLoader()); in testDefineClass()
50 Class<?> actual = ClassDefinitionUtils.getExistingClass(getClass().getClassLoader(), in testGetExistingClass_existing()
51 getClass().getName()); in testGetExistingClass_existing()
52 assertSame(actual, getClass()); in testGetExistingClass_existing()
57 …Class<?> actual = ClassDefinitionUtils.getExistingClass(getClass().getClassLoader(), getClass().ge… in testGetExistingClass_notExisting()
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DObjectArraysTest.java44 assertEquals(String[].class, array.getClass()); in testNewArray_fromArray_Nonempty()
51 assertEquals(String[][].class, array.getClass()); in testNewArray_fromArray_OfArray()
65 assertEquals(reference.getClass(), target.getClass()); in doTestToArrayImpl1()
90 assertEquals(reference.getClass(), target.getClass()); in doTestToArrayImpl2()
152 assertTrue("expected(" + expected.getClass() + "): " + Arrays.toString(expected) in checkArrayEquals()
153 + " actual(" + actual.getClass() + "): " + Arrays.toString(actual), in checkArrayEquals()
158 assertSame(array1.getClass(), array2.getClass()); in arrayEquals()
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/instr/
DProbeArrayStrategyFactoryTest.java53 assertEquals(ClassFieldProbeArrayStrategy.class, strategy.getClass()); in testClass1()
62 assertEquals(ClassFieldProbeArrayStrategy.class, strategy.getClass()); in testClass2()
71 assertEquals(ClassFieldProbeArrayStrategy.class, strategy.getClass()); in testClass3()
80 assertEquals(ClassFieldProbeArrayStrategy.class, strategy.getClass()); in testClass4()
89 assertEquals(ClassFieldProbeArrayStrategy.class, strategy.getClass()); in testClass5()
98 assertEquals(ClassFieldProbeArrayStrategy.class, strategy.getClass()); in testClass6()
107 assertEquals(ClassFieldProbeArrayStrategy.class, strategy.getClass()); in testClass7()
116 assertEquals(ClassFieldProbeArrayStrategy.class, strategy.getClass()); in testClass8()
128 assertEquals(LocalProbeArrayStrategy.class, strategy.getClass()); in testInterface7()
137 assertEquals(NoneProbeArrayStrategy.class, strategy.getClass()); in testEmptyInterface7()
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/
DArrayProto.java108 return classPath.getClass("Ljava/lang/Object;"); in getCommonSuperclass()
112 TypeProto thisClass = classPath.getClass(elementType); in getCommonSuperclass()
113 TypeProto otherClass = classPath.getClass(((ArrayProto)other).elementType); in getCommonSuperclass()
121 return classPath.getClass(makeArrayType(mergedClass.getType(), dimensions)); in getCommonSuperclass()
125 return classPath.getClass(makeArrayType("Ljava/lang/Object;", dimensions)); in getCommonSuperclass()
138 return classPath.getClass("Ljava/lang/Object;"); in getCommonSuperclass()
165 return classPath.getClass("Ljava/lang/Object;").getMethodByVtableIndex(vtableIndex); in getMethodByVtableIndex()
169 return classPath.getClass("Ljava/lang/Object;").findMethodIndexInVtable(method); in findMethodIndexInVtable()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DDuckTypedPSKKeyManager.java53 Class<?> sourceClass = obj.getClass(); in getInstance()
76 return (String) mDelegate.getClass() in chooseServerKeyIdentityHint()
87 return (String) mDelegate.getClass() in chooseServerKeyIdentityHint()
98 return (String) mDelegate.getClass() in chooseClientKeyIdentity()
109 return (String) mDelegate.getClass() in chooseClientKeyIdentity()
120 return (SecretKey) mDelegate.getClass() in getKey()
131 return (SecretKey) mDelegate.getClass() in getKey()

12345678910>>...79