Home
last modified time | relevance | path

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

12345678910>>...58

/external/objenesis/main/test/org/objenesis/
DObjenesisTest.java41 assertEquals(o.getInstantiatorOf(getClass()).newInstance().getClass(), getClass()); in testObjenesis_WithoutCache()
46 assertEquals(getClass(), o.newInstance(getClass()).getClass()); in testNewInstance()
51 ObjectInstantiator i1 = o.getInstantiatorOf(getClass()); in testGetInstantiatorOf()
53 assertEquals(getClass(), i1.newInstance().getClass()); in testGetInstantiatorOf()
56 ObjectInstantiator i2 = o.getInstantiatorOf(getClass()); in testGetInstantiatorOf()
/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/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.java109 String atSegment = "at " + getClass().getName(); in testMissingBindings()
110 String sourceFileName = getDeclaringSourcePart(getClass()); in testMissingBindings()
140 "at " + getClass().getName(), getDeclaringSourcePart(getClass())); in testMissingDependency()
159 "at " + getClass().getName()); in testDanglingConstantBinding()
174 "at " + getClass().getName(), getDeclaringSourcePart(getClass())); in testRecursiveBinding()
277 "1) A binding to java.lang.String[] was already configured at " + getClass().getName(), in testArrayTypeCanonicalization()
278 "at " + getClass().getName(), getDeclaringSourcePart(getClass())); in testArrayTypeCanonicalization()
332 "at " + ConstantModule.class.getName(), getDeclaringSourcePart(getClass()), in testSettingBindingTwice()
355 + " was already configured at " + getClass().getName(), in testSettingAtImplementedByTwice()
356 "at " + getClass().getName(), getDeclaringSourcePart(getClass())); in testSettingAtImplementedByTwice()
[all …]
DProvisionExceptionsTest.java52 assertEquals(IllegalStateException.class, pe.getCause().getClass()); in testConstructorRuntimeException()
53 … assertEquals(IllegalStateException.class, Errors.getOnlyCause(pe.getErrorMessages()).getClass()); in testConstructorRuntimeException()
74 assertEquals(IOException.class, pe.getCause().getClass()); in testConstructorCheckedException()
75 assertEquals(IOException.class, Errors.getOnlyCause(pe.getErrorMessages()).getClass()); in testConstructorCheckedException()
99 assertEquals(IllegalStateException.class, pe.getCause().getClass()); in testCustomProvidersRuntimeException()
100 … assertEquals(IllegalStateException.class, Errors.getOnlyCause(pe.getErrorMessages()).getClass()); in testCustomProvidersRuntimeException()
122 assertEquals(IllegalStateException.class, pe.getCause().getClass()); in testProviderMethodRuntimeException()
123 … assertEquals(IllegalStateException.class, Errors.getOnlyCause(pe.getErrorMessages()).getClass()); in testProviderMethodRuntimeException()
146 assertEquals(IOException.class, pe.getCause().getClass()); in testProviderMethodCheckedException()
147 assertEquals(IOException.class, Errors.getOnlyCause(pe.getErrorMessages()).getClass()); in testProviderMethodCheckedException()
DTypeConversionTest.java182 + getDeclaringSourcePart(getClass()), in testInvalidInteger()
206 assertContains(expected.getMessage(), "bound at " + getClass().getName()); in testInvalidCharacter()
227 assertContains(expected.getMessage(), "bound at " + getClass().getName()); in testInvalidEnum()
290 "1) Error converting 'invalid' (bound at ", getClass().getName(), in testInvalidCustomValue()
291 getDeclaringSourcePart(getClass()), "to java.util.Date", in testInvalidCustomValue()
293 "(bound at " + getClass().getName(), getDeclaringSourcePart(getClass()), in testInvalidCustomValue()
336 getClass().getName(), in testNullCustomValue()
337 getDeclaringSourcePart(getClass()), in testNullCustomValue()
341 "(bound at " + getClass().getName(), in testNullCustomValue()
342 getDeclaringSourcePart(getClass()), in testNullCustomValue()
[all …]
DModulesTest.java64 assertEquals(ImmutableList.of(m1.getClass().getName(), in testCombineSources()
65 combined1.getClass().getName(), skipSourcesModule.getClass().getName(), in testCombineSources()
66 combined2.getClass().getName()), source.getModuleClassNames()); in testCombineSources()
68 assertEquals(skipSourcesModule.getClass().getName(), stackTraceElement.getClassName()); in testCombineSources()
75 Class<T> tClass = (Class<T>) toBind.getClass(); in newModule()
76 binder().skipSources(getClass()).bind(tClass).toInstance(toBind); in newModule()
/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/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/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/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/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/conscrypt/src/main/java/org/conscrypt/
DDuckTypedPSKKeyManager.java50 Class<?> sourceClass = obj.getClass(); in getInstance()
73 return (String) mDelegate.getClass() in chooseServerKeyIdentityHint()
84 return (String) mDelegate.getClass() in chooseServerKeyIdentityHint()
95 return (String) mDelegate.getClass() in chooseClientKeyIdentity()
106 return (String) mDelegate.getClass() in chooseClientKeyIdentity()
117 return (SecretKey) mDelegate.getClass() in getKey()
128 return (SecretKey) mDelegate.getClass() in getKey()
/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/smali/dexlib2/src/test/java/org/jf/dexlib2/analysis/util/
DSuperclassChainTest.java62 TypeProto objectClassProto = classPath.getClass("Ljava/lang/Object;"); in testGetSuperclassChain()
63 TypeProto oneClassProto = classPath.getClass("Ltest/one;"); in testGetSuperclassChain()
64 TypeProto twoClassProto = classPath.getClass("Ltest/two;"); in testGetSuperclassChain()
65 TypeProto threeClassProto = classPath.getClass("Ltest/three;"); in testGetSuperclassChain()
94 TypeProto oneClassProto = classPath.getClass("Ltest/one;"); in testGetSuperclassChain_Unresolved()
95 TypeProto twoClassProto = classPath.getClass("Ltest/two;"); in testGetSuperclassChain_Unresolved()
96 TypeProto threeClassProto = classPath.getClass("Ltest/three;"); in testGetSuperclassChain_Unresolved()
/external/apache-harmony/x-net/src/test/impl/java.injected/javax/net/ssl/
DSSLServerSocketFactoryTest.java72 … if (!factory.getClass().getName().equals(customServerSocketFactory.getClass().getName())) { in testGetDefault()
73 fail("incorrect instance: " + factory.getClass() + in testGetDefault()
74 " expected: " + customServerSocketFactory.getClass().getName()); in testGetDefault()
78 fail("incorrect instance " + factory.getClass()); in testGetDefault()
DSSLSocketFactoryTest.java72 if (!factory.getClass().getName().equals(customSocketFactory.getClass().getName())) { in testGetDefault()
73 fail("incorrect instance: " + factory.getClass() + in testGetDefault()
74 " expected: " + customSocketFactory.getClass().getName()); in testGetDefault()
78 fail("incorrect instance " + factory.getClass()); in testGetDefault()
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/representer/
DRepresenter.java50 return representJavaBean(getProperties(data.getClass()), data); in representData()
74 Tag customTag = classTags.get(javaBean.getClass()); in representJavaBean()
75 tag = customTag != null ? customTag : new Tag(javaBean.getClass()); in representJavaBean()
83 .getClass()); in representJavaBean()
137 if (property.getType() == propertyValue.getClass()) { in representJavaBeanProperty()
167 if (object.getClass().isArray() && object.getClass().getComponentType().isPrimitive()) { in checkGlobalTag()
178 if (object.getClass().isArray()) { in checkGlobalTag()
189 if (t.equals(member.getClass())) in checkGlobalTag()
204 if (t.equals(member.getClass())) { in checkGlobalTag()
/external/mockito/src/org/mockito/internal/matchers/
DEquals.java54 if (o == null || !this.getClass().equals(o.getClass())) { in equals()
69 … description.appendText(describe("("+ wanted.getClass().getSimpleName() +") " + wanted)); in withExtraTypeInfo()
74 return wanted != null && object != null && object.getClass() == wanted.getClass();
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/serialization/
DPropertyInfo.java38 public static final Class OBJECT_CLASS = new Object().getClass();
39 public static final Class STRING_CLASS = "".getClass();
40 public static final Class INTEGER_CLASS = new Integer(0).getClass();
41 public static final Class LONG_CLASS = new Long(0).getClass();
42 public static final Class BOOLEAN_CLASS = new Boolean(true).getClass();
43 public static final Class VECTOR_CLASS = new java.util.Vector().getClass();
DSppPropertyInfo.java38 public static final Class OBJECT_CLASS = new Object().getClass();
39 public static final Class STRING_CLASS = "".getClass();
40 public static final Class INTEGER_CLASS = new Integer(0).getClass();
41 public static final Class LONG_CLASS = new Long(0).getClass();
42 public static final Class BOOLEAN_CLASS = new Boolean(true).getClass();
43 public static final Class VECTOR_CLASS = new java.util.Vector().getClass();
/external/nist-sip/java/gov/nist/javax/sip/parser/ims/
DSecurityAgreeParser.java86 if (header.getClass().isInstance(new SecurityClient())) { in parse()
88 } else if (header.getClass().isInstance(new SecurityServer())) { in parse()
90 } else if (header.getClass().isInstance(new SecurityVerify())) { in parse()
127 if (header.getClass().isInstance(new SecurityClient())) { in parse()
129 } else if (header.getClass().isInstance(new SecurityServer())) { in parse()
131 } else if (header.getClass().isInstance(new SecurityVerify())) { in parse()
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/
DICUTestCase.java104 Class<? extends Object> cls = obj.getClass(); in testEHCS()
105 if (!(cls.isAssignableFrom(eq.getClass()) && cls.isAssignableFrom(neq.getClass()))) { in testEHCS()
187 Class<? extends Object> lcls = lhs.getClass(); in assertArraysEqual()
188 Class<? extends Object> rcls = rhs.getClass(); in assertArraysEqual()
205 Class<? extends Object> lcls = lhs.getClass(); in assertArraysNotEqual()
206 Class<? extends Object> rcls = rhs.getClass(); in assertArraysNotEqual()
223 boolean lhsaA = lhsa.getClass().getComponentType().isArray(); in arraysAreEqual()
224 boolean rhsaA = rhsa.getClass().getComponentType().isArray(); in arraysAreEqual()
260 Class<? extends Object> cls = obj.getClass(); in cloneComplex()

12345678910>>...58