Home
last modified time | relevance | path

Searched refs:subclassesOf (Results 1 – 5 of 5) sorted by relevance

/external/guice/core/test/com/google/inject/matcher/
DMatcherTest.java29 import static com.google.inject.matcher.Matchers.subclassesOf;
89 assertTrue(subclassesOf(Runnable.class).matches(Runnable.class)); in testSubclassesOf()
90 assertTrue(subclassesOf(Runnable.class).matches(MyRunnable.class)); in testSubclassesOf()
91 assertFalse(subclassesOf(Runnable.class).matches(Object.class)); in testSubclassesOf()
92 assertEquals("subclassesOf(Runnable.class)", subclassesOf(Runnable.class).toString()); in testSubclassesOf()
93 assertEqualsBothWays(subclassesOf(Runnable.class), subclassesOf(Runnable.class)); in testSubclassesOf()
94 assertFalse(subclassesOf(Runnable.class).equals(subclassesOf(Object.class))); in testSubclassesOf()
156 assertEqualWhenReserialized(subclassesOf(AbstractList.class)); in testSerialization()
/external/guice/jdk8-tests/test/com/google/inject/jdk8/
DDefaultMethodInterceptionTest.java200 bindInterceptor(Matchers.subclassesOf(Baz.class), Matchers.any(), interceptor); in testInterception_ofAllMethodsOnType()
219 bindInterceptor(Matchers.subclassesOf(BazImpl.class), Matchers.any(), interceptor); in testInterception_ofAllMethodsOnType_interceptsInheritedDefaultMethod()
/external/guice/core/src/com/google/inject/internal/
DTypeConverterBindingProcessor.java74 Matchers.subclassesOf(Enum.class), in prepareBuiltInConverters()
/external/guice/core/src/com/google/inject/matcher/
DMatchers.java184 public static Matcher<Class> subclassesOf(final Class<?> superclass) { in subclassesOf() method in Matchers
/external/guice/core/test/com/google/inject/spi/
DElementsTest.java731 final Matcher<Class> classMatcher = Matchers.subclassesOf(List.class); in testBindIntercepor()