Home
last modified time | relevance | path

Searched refs:typeMatcher (Results 1 – 11 of 11) sorted by relevance

/external/guice/core/src/com/google/inject/spi/
DTypeConverterBinding.java40 private final Matcher<? super TypeLiteral<?>> typeMatcher; field in TypeConverterBinding
45 Object source, Matcher<? super TypeLiteral<?>> typeMatcher, TypeConverter typeConverter) { in TypeConverterBinding() argument
47 this.typeMatcher = checkNotNull(typeMatcher, "typeMatcher"); in TypeConverterBinding()
57 return typeMatcher; in getTypeMatcher()
71 binder.withSource(getSource()).convertToTypes(typeMatcher, typeConverter); in applyTo()
78 + typeMatcher in toString()
DTypeListenerBinding.java36 private final Matcher<? super TypeLiteral<?>> typeMatcher; field in TypeListenerBinding
40 Object source, TypeListener listener, Matcher<? super TypeLiteral<?>> typeMatcher) { in TypeListenerBinding() argument
43 this.typeMatcher = typeMatcher; in TypeListenerBinding()
53 return typeMatcher; in getTypeMatcher()
68 binder.withSource(getSource()).bindListener(typeMatcher, listener); in applyTo()
DElements.java264 public void bindListener(Matcher<? super TypeLiteral<?>> typeMatcher, TypeListener listener) { in bindListener() argument
265 elements.add(new TypeListenerBinding(getElementSource(), listener, typeMatcher)); in bindListener()
423 Matcher<? super TypeLiteral<?>> typeMatcher, TypeConverter converter) { in convertToTypes() argument
424 elements.add(new TypeConverterBinding(getElementSource(), typeMatcher, converter)); in convertToTypes()
/external/guice/core/src/com/google/inject/internal/
DTypeConverterBindingProcessor.java157 InjectorImpl injector, final Matcher<? super Class<?>> typeMatcher, TypeConverter converter) { in convertToClasses() argument
168 return typeMatcher.matches(clazz); in convertToClasses()
173 return typeMatcher.toString(); in convertToClasses()
180 InjectorImpl injector, Matcher<? super TypeLiteral<?>> typeMatcher, TypeConverter converter) { in internalConvertToTypes() argument
182 new TypeConverterBinding(SourceProvider.UNKNOWN_SOURCE, typeMatcher, converter)); in internalConvertToTypes()
/external/guice/core/src/com/google/inject/
DAbstractModule.java193 Matcher<? super TypeLiteral<?>> typeMatcher, TypeConverter converter) { in convertToTypes() argument
194 binder().convertToTypes(typeMatcher, converter); in convertToTypes()
225 protected void bindListener(Matcher<? super TypeLiteral<?>> typeMatcher, TypeListener listener) { in bindListener() argument
226 binder().bindListener(typeMatcher, listener); in bindListener()
DPrivateModule.java237 Matcher<? super TypeLiteral<?>> typeMatcher, TypeConverter converter) { in convertToTypes() argument
238 binder().convertToTypes(typeMatcher, converter); in convertToTypes()
259 protected void bindListener(Matcher<? super TypeLiteral<?>> typeMatcher, TypeListener listener) { in bindListener() argument
260 binder().bindListener(typeMatcher, listener); in bindListener()
DBinder.java337 void convertToTypes(Matcher<? super TypeLiteral<?>> typeMatcher, TypeConverter converter); in convertToTypes() argument
347 void bindListener(Matcher<? super TypeLiteral<?>> typeMatcher, TypeListener listener); in bindListener() argument
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/core/
DIs.java73 final Matcher<T> typeMatcher = instanceOf(type); in isA() local
74 return is(typeMatcher); in isA()
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/test/
DDateOrder.java72 Matcher typeMatcher = PatternCache.get("\\[@type=\"([^\"]*)\"]").matcher(""); in getOrderingInfo() local
83 typeMatcher.reset(path).find(); in getOrderingInfo()
84 String type = typeMatcher.group(1); in getOrderingInfo()
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/tool/
DGenerateBirth.java235 final Matcher typeMatcher = TYPE.matcher(""); field in GenerateBirth.Births
295 if (typeMatcher.reset(xpath).find()) { in fixNullPrevious()
296 String type = typeMatcher.group(1); in fixNullPrevious()
/external/guice/core/test/com/google/inject/spi/
DElementsTest.java779 final Matcher<Object> typeMatcher = Matchers.only(TypeLiteral.get(String.class)); in testBindListener() local
792 bindListener(typeMatcher, listener); in testBindListener()
798 assertSame(typeMatcher, binding.getTypeMatcher()); in testBindListener()