Home
last modified time | relevance | path

Searched refs:isInstance (Results 1 – 25 of 50) sorted by relevance

12

/libcore/luni/src/main/java/libcore/reflect/
DAnnotatedElements.java57 if (annotationClass.isInstance(annotations[i])) { in getDirectOrIndirectAnnotationsByType()
61 repeatableAnnotationClass.isInstance(annotations[i])) { in getDirectOrIndirectAnnotationsByType()
DAnnotationFactory.java181 if (!klazz.isInstance(obj)) { in equals()
DAnnotationMember.java347 || elementType.isInstance(value)) { // nested annotation value in validateValue()
/libcore/ojluni/src/main/java/java/net/
DContentHandler.java104 if (classes[i].isInstance(obj)) { in getContent()
DInet6AddressImpl.java188 if (inetaddr.getClass().isInstance(addr)) { in isReachable()
/libcore/luni/src/test/java/tests/security/spec/
DECFieldF2mTest.java142 if (tp.x == null || !e.getClass().isInstance(tp.x)) { in testECFieldF2mint()
267 if (tp.x == null || !e.getClass().isInstance(tp.x)) { in testECFieldF2mintintArray()
306 if (tp.x == null || !e.getClass().isInstance(tp.x)) { in testECFieldF2mintBigInteger()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DGenericReflectionTestsBase.java67 .isInstance(actual)); in assertInstanceOf()
/libcore/ojluni/src/test/java/time/test/java/time/format/
DTestCharLiteralParser.java135 assertTrue(expected.isInstance(ex)); in test_parse_error()
DTestStringLiteralParser.java138 assertTrue(expected.isInstance(ex)); in test_parse_error()
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/
DAtomicReferenceFieldUpdater.java389 if (!cclass.isInstance(obj)) in accessCheck()
412 if (v != null && !(vclass.isInstance(v))) in valueCheck()
DAtomicLongFieldUpdater.java431 if (!cclass.isInstance(obj)) in accessCheck()
572 if (!cclass.isInstance(obj)) in accessCheck()
DAtomicIntegerFieldUpdater.java456 if (!cclass.isInstance(obj)) in accessCheck()
/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKResolverStyle.java135 assertTrue(expectedEx.isInstance(ex)); in test_resolverStyle()
DTCKSignStyle.java132 assertTrue(expectedEx.isInstance(ex)); in test_signStyle()
DTCKDateTimeFormatters.java237 assertTrue(expectedEx.isInstance(ex)); in test_print_isoLocalDate()
331 assertTrue(expectedEx.isInstance(ex)); in test_print_isoOffsetDate()
389 assertTrue(expectedEx.isInstance(ex)); in test_print_isoDate()
461 assertTrue(expectedEx.isInstance(ex)); in test_print_isoLocalTime()
531 assertTrue(expectedEx.isInstance(ex)); in test_print_isoOffsetTime()
601 assertTrue(expectedEx.isInstance(ex)); in test_print_isoTime()
682 assertTrue(expectedEx.isInstance(ex)); in test_print_isoLocalDateTime()
761 assertTrue(expectedEx.isInstance(ex)); in test_print_isoOffsetDateTime()
850 assertTrue(expectedEx.isInstance(ex)); in test_print_isoZonedDateTime()
934 assertTrue(expectedEx.isInstance(ex)); in test_print_isoDateTime()
[all …]
/libcore/dalvik/src/main/java/dalvik/system/
DEmulatedStackFrame.java188 if (reference != null && !ptypes[idx].isInstance(reference)) { in setReference()
247 if (reference != null && !returnType.isInstance(reference)) { in setReturnValueTo()
/libcore/luni/src/test/java/libcore/java/lang/reflect/
DGenericExceptionsTest.java95 expectedType.isInstance(array[0])); in getOnlyValue()
/libcore/benchmarks/src/benchmarks/regression/
DReflectionBenchmark.java169 klass.isInstance(d); in timeClass_isInstance()
/libcore/ojluni/src/test/java/time/test/java/time/chrono/
DTestJapaneseChronology.java243 assertTrue(expectedEx.isInstance(ex)); in test_eraName()
/libcore/luni/src/main/java/libcore/io/
DIoUtils.java80 if (pfdClass.isInstance(object)) { in isParcelFileDescriptor()
/libcore/ojluni/src/main/java/java/util/jar/
DAttributes.java213 if (!Attributes.class.isInstance(attr)) in putAll()
/libcore/ojluni/annotations/mmodule/java/lang/
DClass.annotated.java58 public boolean isInstance(java.lang.Object obj) { throw new RuntimeException("Stub!"); } in isInstance() method in Class
/libcore/jsr166-tests/src/test/java/jsr166/
DJSR166TestCase.java1382 if (! exceptionClass.isInstance(t))
1402 if (! exceptionClass.isInstance(t))
1839 if (!expectedExceptionClass.isInstance(t)) {
/libcore/ojluni/src/main/java/java/lang/reflect/
DArray.java476 if (value != null && !array.getClass().getComponentType().isInstance(value)) { in set()
/libcore/ojluni/src/main/java/java/lang/
DClass.java538 public boolean isInstance(Object obj) { in isInstance() method in Class
2445 if (obj != null && !isInstance(obj)) in cast()

12