/external/apache-commons-bcel/src/main/java/org/apache/bcel/ |
D | Repository.java | 183 public static boolean instanceOf( final JavaClass clazz, final JavaClass super_class ) in instanceOf() method in Repository 185 return clazz.instanceOf(super_class); in instanceOf() 194 public static boolean instanceOf( final String clazz, final String super_class ) in instanceOf() method in Repository 196 return instanceOf(lookupClass(clazz), lookupClass(super_class)); in instanceOf() 204 public static boolean instanceOf( final JavaClass clazz, final String super_class ) in instanceOf() method in Repository 206 return instanceOf(clazz, lookupClass(super_class)); in instanceOf() 214 public static boolean instanceOf( final String clazz, final JavaClass super_class ) in instanceOf() method in Repository 216 return instanceOf(lookupClass(clazz), super_class); in instanceOf()
|
/external/hamcrest/hamcrest-core/src/test/java/org/hamcrest/core/ |
D | IsInstanceOfTest.java | 8 import static org.hamcrest.core.IsInstanceOf.instanceOf; 14 Matcher<?> matcher = instanceOf(Number.class); in copesWithNullsAndUnknownTypes() 22 final Matcher<Object> matcher = instanceOf(Number.class); in evaluatesToTrueIfArgumentIsInstanceOfASpecificClass() 32 assertDescription("an instance of java.lang.Number", instanceOf(Number.class)); in hasAReadableDescription() 37 …assertMismatchDescription("\"some text\" is a java.lang.String", instanceOf(Number.class), "some t… in describesActualClassInMismatchMessage() 55 Integer anInteger = (Integer)with(instanceOf(Integer.class)); in instanceOfRequiresACastToReturnTheCorrectTypeForUseInJMock()
|
D | IsNotTest.java | 8 import static org.hamcrest.core.IsInstanceOf.instanceOf; 39 assertDescription("not an instance of java.lang.String", not(instanceOf(String.class))); in usesDescriptionOfNegatedMatcherWithPrefix()
|
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/core/ |
D | Is.java | 8 import static org.hamcrest.core.IsInstanceOf.instanceOf; 73 final Matcher<T> typeMatcher = instanceOf(type); in isA()
|
D | IsInstanceOf.java | 70 public static <T> Matcher<T> instanceOf(Class<?> type) { in instanceOf() method in IsInstanceOf
|
/external/junit/src/main/java/org/junit/rules/ |
D | ExpectedException.java | 5 import static org.hamcrest.CoreMatchers.instanceOf; 186 expect(instanceOf(type)); in expect()
|
/external/conscrypt/openjdk/src/test/java/org/conscrypt/ |
D | ConscryptSocketTest.java | 21 import static org.hamcrest.CoreMatchers.instanceOf; 545 assertThat(connection.clientException, instanceOf(SSLHandshakeException.class)); 546 assertThat(connection.clientException.getCause(), instanceOf(CertificateException.class)); 557 assertThat(connection.clientException, instanceOf(SSLHandshakeException.class)); 558 assertThat(connection.clientException.getCause(), instanceOf(CertificateException.class)); 618 assertThat(connection.clientException, instanceOf(SSLHandshakeException.class)); 621 assertThat(connection.serverException, instanceOf(SSLHandshakeException.class));
|
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/ |
D | ConscryptSocketTest.java | 22 import static org.hamcrest.CoreMatchers.instanceOf; 551 assertThat(connection.clientException, instanceOf(SSLHandshakeException.class)); 552 assertThat(connection.clientException.getCause(), instanceOf(CertificateException.class)); 563 assertThat(connection.clientException, instanceOf(SSLHandshakeException.class)); 564 assertThat(connection.clientException.getCause(), instanceOf(CertificateException.class)); 624 assertThat(connection.clientException, instanceOf(SSLHandshakeException.class)); 627 assertThat(connection.serverException, instanceOf(SSLHandshakeException.class));
|
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/bdd/steps/ |
D | CommentParsingSteps.java | 391 … assertThat(commentUnderTest.getParentNode().get(), instanceOf(ClassOrInterfaceDeclaration.class)); in thenCommentInCompilationUnitParentIsClassOrInterfaceDeclaration() 397 …assertThat(commentUnderTest.getCommentedNode().get(), instanceOf(ClassOrInterfaceDeclaration.class… in thenCommentInCompilationUnitCommentedNodeIsClassOrInterfaceDeclaration() 403 assertThat(commentUnderTest.getCommentedNode().get(), instanceOf(FieldDeclaration.class)); in thenCommentInCompilationUnitCommentedNodeIsFieldDeclaration() 409 assertThat(commentUnderTest.getCommentedNode().get(), instanceOf(IntegerLiteralExpr.class)); in thenCommentInCompilationUnitCommentedNodeIsIntegerLiteralExpr() 415 assertThat(commentUnderTest.getCommentedNode().get(), instanceOf(ExpressionStmt.class)); in thenCommentInCompilationUnitCommentedNodeIsIntegerExpressionStmt() 421 assertThat(commentUnderTest.getCommentedNode().get(), instanceOf(PrimitiveType.class)); in thenCommentInCompilationUnitCommentedNodeIsIntegerPrimitiveType()
|
/external/guava/guava-tests/test/com/google/common/base/ |
D | PredicatesTest.java | 555 Predicate<Object> isInteger = Predicates.instanceOf(Integer.class); in testIsInstanceOf_apply() 565 Predicate<Object> isNumber = Predicates.instanceOf(Number.class); in testIsInstanceOf_subclass() 575 Predicate<Object> isComparable = Predicates.instanceOf(Comparable.class); in testIsInstanceOf_interface() 587 Predicates.instanceOf(Integer.class), in testIsInstanceOf_equality() 588 Predicates.instanceOf(Integer.class)) in testIsInstanceOf_equality() 589 .addEqualityGroup(Predicates.instanceOf(Number.class)) in testIsInstanceOf_equality() 590 .addEqualityGroup(Predicates.instanceOf(Float.class)) in testIsInstanceOf_equality() 596 checkSerialization(Predicates.instanceOf(Integer.class)); in testIsInstanceOf_serialization()
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/utils/ |
D | FixedLengthBlockOutputStreamTest.java | 140 assertThat(e, IsInstanceOf.instanceOf(ClosedChannelException.class)); in testWriteFailsAfterFLClosedThrowsException() 148 assertThat(e, IsInstanceOf.instanceOf(ClosedChannelException.class)); in testWriteFailsAfterFLClosedThrowsException() 157 assertThat(e, IsInstanceOf.instanceOf(ClosedChannelException.class)); in testWriteFailsAfterFLClosedThrowsException()
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/zip/ |
D | ZipClassCoverageTest.java | 54 assertThat(o, IsInstanceOf.instanceOf(clazz)); in testConstantConstructor()
|
D | ZipEncodingTest.java | 171 assertThat(enc, IsInstanceOf.instanceOf(NioZipEncoding.class)); in doSimpleEncodingTest()
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/ |
D | ContextsTest.java | 21 import static org.hamcrest.core.IsInstanceOf.instanceOf; 223 assertThat(cancellableContext.cancellationCause(), instanceOf(TimeoutException.class)); in statusFromCancelled_TimeoutExceptionShouldMapToDeadlineExceeded()
|
/external/apache-commons-bcel/src/main/java/org/apache/bcel/generic/ |
D | ObjectType.java | 147 return Repository.instanceOf(this.class_name, superclass.class_name); in subclassOf()
|
D | ReferenceType.java | 90 if (Repository.instanceOf(((ObjectType) this).getClassName(), ((ObjectType) T) in isAssignmentCompatibleWith()
|
/external/proguard/src/proguard/evaluation/value/ |
D | ReferenceValue.java | 55 public abstract int instanceOf(String otherType, Clazz otherReferencedClass); in instanceOf() method in ReferenceValue
|
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/ |
D | CoreMatchers.java | 281 public static <T> org.hamcrest.Matcher<T> instanceOf(java.lang.Class<?> type) { in instanceOf() method in CoreMatchers 282 return org.hamcrest.core.IsInstanceOf.instanceOf(type); in instanceOf()
|
/external/proguard/src/proguard/evaluation/ |
D | Processor.java | 623 int instanceOf = stack.apop().instanceOf(referenceValue.getType(), in visitConstantInstruction() local 626 stack.push(instanceOf == Value.NEVER ? valueFactory.createIntegerValue(0) : in visitConstantInstruction() 627 instanceOf == Value.ALWAYS ? valueFactory.createIntegerValue(1) : in visitConstantInstruction()
|
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/ |
D | ShadowDecorator.java | 55 …generator.instanceOf(mutableClass.classType); // __robo_data__, is instance of sam… in decorateMethodPreClassHandler()
|
/external/mockito/src/test/java/org/mockitoutil/ |
D | Conditions.java | 107 return CoreMatchers.instanceOf(type);
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
D | ServiceManager.java | 23 import static com.google.common.base.Predicates.instanceOf; 392 .add("services", Collections2.filter(services, not(instanceOf(NoOpService.class)))) in toString()
|
/external/grpc-grpc-java/context/src/test/java/io/grpc/ |
D | ContextTest.java | 20 import static org.hamcrest.core.IsInstanceOf.instanceOf; 752 assertThat(context.cancellationCause(), instanceOf(TimeoutException.class)); in expiredDeadlineShouldCancelContextImmediately() 759 assertThat(context.cancellationCause(), instanceOf(TimeoutException.class)); in expiredDeadlineShouldCancelContextImmediately()
|
/external/hamcrest/ |
D | CHANGES.txt | 69 * distinguish between instanceOf() and any()
|
/external/guava/guava/src/com/google/common/collect/ |
D | Iterators.java | 24 import static com.google.common.base.Predicates.instanceOf; 675 return (UnmodifiableIterator<T>) filter(unfiltered, instanceOf(type));
|