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;
94 assertTrue(subclassesOf(Runnable.class).matches(Runnable.class)); in testSubclassesOf()
95 assertTrue(subclassesOf(Runnable.class).matches(MyRunnable.class)); in testSubclassesOf()
96 assertFalse(subclassesOf(Runnable.class).matches(Object.class)); in testSubclassesOf()
97 assertEquals("subclassesOf(Runnable.class)", subclassesOf(Runnable.class).toString()); in testSubclassesOf()
98 assertEqualsBothWays(subclassesOf(Runnable.class), subclassesOf(Runnable.class)); in testSubclassesOf()
99 assertFalse(subclassesOf(Runnable.class).equals(subclassesOf(Object.class))); in testSubclassesOf()
161 assertEqualWhenReserialized(subclassesOf(AbstractList.class)); in testSerialization()
/external/guice/jdk8-tests/test/com/google/inject/jdk8/
DDefaultMethodInterceptionTest.java194 bindInterceptor(Matchers.subclassesOf(Baz.class), Matchers.any(), interceptor); in testInterception_ofAllMethodsOnType()
211 bindInterceptor(Matchers.subclassesOf(BazImpl.class), Matchers.any(), interceptor); in testInterception_ofAllMethodsOnType_interceptsInheritedDefaultMethod()
/external/guice/core/src/com/google/inject/internal/
DTypeConverterBindingProcessor.java68 convertToClasses(injector, Matchers.subclassesOf(Enum.class), new TypeConverter() { 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.java691 final Matcher<Class> classMatcher = Matchers.subclassesOf(List.class); in testBindIntercepor()