Home
last modified time | relevance | path

Searched refs:isInstance (Results 1 – 25 of 40) 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/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()
DTestZoneOffsetParser.java93 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/
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/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/luni/src/main/java/libcore/io/
DIoUtils.java90 if (pfdClass.isInstance(object)) { in isParcelFileDescriptor()
/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/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DStreamBuilderTest.java66 assertTrue(ce.isInstance(caught)); in checkException()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DJSR166TestCase.java1491 if (! exceptionClass.isInstance(t))
1511 if (! exceptionClass.isInstance(t))
1998 if (!expectedExceptionClass.isInstance(t)) {
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DClass.annotated.java58 public boolean isInstance(@libcore.util.Nullable java.lang.Object obj) { throw new RuntimeException… in isInstance() method in Class
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKYearMonth.java783 assertTrue(expectedEx.isInstance(ex)); in test_plus_long_TemporalUnit()
835 assertTrue(expectedEx.isInstance(ex)); in test_plus_TemporalAmount()
998 assertTrue(expectedEx.isInstance(ex)); in test_minus_long_TemporalUnit()
1050 assertTrue(expectedEx.isInstance(ex)); in test_minus_TemporalAmount()

12