Uses of Interface
com.google.inject.matcher.Matcher

Packages that use Matcher
com.google.inject Google Guice (pronounced "juice") is an ultra-lightweight dependency injection framework. 
com.google.inject.matcher Used for matching things. 
com.google.inject.spi Guice service provider interface 
 

Uses of Matcher in com.google.inject
 

Methods in com.google.inject with parameters of type Matcher
 void Binder.bindInterceptor(Matcher<? super java.lang.Class<?>> classMatcher, Matcher<? super java.lang.reflect.Method> methodMatcher, org.aopalliance.intercept.MethodInterceptor... interceptors)
          Binds method interceptor[s] to methods matched by class and method matchers.
 void Binder.bindInterceptor(Matcher<? super java.lang.Class<?>> classMatcher, Matcher<? super java.lang.reflect.Method> methodMatcher, org.aopalliance.intercept.MethodInterceptor... interceptors)
          Binds method interceptor[s] to methods matched by class and method matchers.
protected  void PrivateModule.bindInterceptor(Matcher<? super java.lang.Class<?>> classMatcher, Matcher<? super java.lang.reflect.Method> methodMatcher, org.aopalliance.intercept.MethodInterceptor... interceptors)
           
protected  void PrivateModule.bindInterceptor(Matcher<? super java.lang.Class<?>> classMatcher, Matcher<? super java.lang.reflect.Method> methodMatcher, org.aopalliance.intercept.MethodInterceptor... interceptors)
           
protected  void AbstractModule.bindInterceptor(Matcher<? super java.lang.Class<?>> classMatcher, Matcher<? super java.lang.reflect.Method> methodMatcher, org.aopalliance.intercept.MethodInterceptor... interceptors)
           
protected  void AbstractModule.bindInterceptor(Matcher<? super java.lang.Class<?>> classMatcher, Matcher<? super java.lang.reflect.Method> methodMatcher, org.aopalliance.intercept.MethodInterceptor... interceptors)
           
 void Binder.bindListener(Matcher<? super TypeLiteral<?>> typeMatcher, TypeListener listener)
          Registers a listener for injectable types.
protected  void PrivateModule.bindListener(Matcher<? super TypeLiteral<?>> typeMatcher, TypeListener listener)
           
protected  void AbstractModule.bindListener(Matcher<? super TypeLiteral<?>> typeMatcher, TypeListener listener)
           
 void Binder.convertToTypes(Matcher<? super TypeLiteral<?>> typeMatcher, TypeConverter converter)
          Binds a type converter.
protected  void PrivateModule.convertToTypes(Matcher<? super TypeLiteral<?>> typeMatcher, TypeConverter converter)
           
protected  void AbstractModule.convertToTypes(Matcher<? super TypeLiteral<?>> typeMatcher, TypeConverter converter)
           
 

Uses of Matcher in com.google.inject.matcher
 

Classes in com.google.inject.matcher that implement Matcher
 class AbstractMatcher<T>
          Implements and() and or().
 

Methods in com.google.inject.matcher that return Matcher
 Matcher<T> Matcher.and(Matcher<? super T> other)
          Returns a new matcher which returns true if both this and the given matcher return true.
 Matcher<T> AbstractMatcher.and(Matcher<? super T> other)
           
static Matcher<java.lang.reflect.AnnotatedElement> Matchers.annotatedWith(java.lang.annotation.Annotation annotation)
          Returns a matcher which matches elements (methods, classes, etc.) with a given annotation.
static Matcher<java.lang.reflect.AnnotatedElement> Matchers.annotatedWith(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
          Returns a matcher which matches elements (methods, classes, etc.) with a given annotation.
static Matcher<java.lang.Object> Matchers.any()
          Returns a matcher which matches any input.
static Matcher<java.lang.Object> Matchers.identicalTo(java.lang.Object value)
          Returns a matcher which matches only the given object.
static Matcher<java.lang.Class> Matchers.inPackage(java.lang.Package targetPackage)
          Returns a matcher which matches classes in the given package.
static Matcher<java.lang.Class> Matchers.inSubpackage(java.lang.String targetPackageName)
          Returns a matcher which matches classes in the given package and its subpackages.
static
<T> Matcher<T>
Matchers.not(Matcher<? super T> p)
          Inverts the given matcher.
static Matcher<java.lang.Object> Matchers.only(java.lang.Object value)
          Returns a matcher which matches objects equal to the given object.
 Matcher<T> Matcher.or(Matcher<? super T> other)
          Returns a new matcher which returns true if either this or the given matcher return true.
 Matcher<T> AbstractMatcher.or(Matcher<? super T> other)
           
static Matcher<java.lang.reflect.Method> Matchers.returns(Matcher<? super java.lang.Class<?>> returnType)
          Returns a matcher which matches methods with matching return types.
static Matcher<java.lang.Class> Matchers.subclassesOf(java.lang.Class<?> superclass)
          Returns a matcher which matches subclasses of the given type (as well as the given type).
 

Methods in com.google.inject.matcher with parameters of type Matcher
 Matcher<T> Matcher.and(Matcher<? super T> other)
          Returns a new matcher which returns true if both this and the given matcher return true.
 Matcher<T> AbstractMatcher.and(Matcher<? super T> other)
           
static
<T> Matcher<T>
Matchers.not(Matcher<? super T> p)
          Inverts the given matcher.
 Matcher<T> Matcher.or(Matcher<? super T> other)
          Returns a new matcher which returns true if either this or the given matcher return true.
 Matcher<T> AbstractMatcher.or(Matcher<? super T> other)
           
static Matcher<java.lang.reflect.Method> Matchers.returns(Matcher<? super java.lang.Class<?>> returnType)
          Returns a matcher which matches methods with matching return types.
 

Uses of Matcher in com.google.inject.spi
 

Methods in com.google.inject.spi that return Matcher
 Matcher<? super java.lang.Class<?>> InterceptorBinding.getClassMatcher()
           
 Matcher<? super java.lang.reflect.Method> InterceptorBinding.getMethodMatcher()
           
 Matcher<? super TypeLiteral<?>> TypeConverterBinding.getTypeMatcher()
           
 Matcher<? super TypeLiteral<?>> TypeListenerBinding.getTypeMatcher()
          Returns the type matcher which chooses which types the listener should be notified of.
 

Methods in com.google.inject.spi with parameters of type Matcher
 void TypeEncounter.bindInterceptor(Matcher<? super java.lang.reflect.Method> methodMatcher, org.aopalliance.intercept.MethodInterceptor... interceptors)
          Binds method interceptor[s] to methods matched in type I and its supertypes.
 

Constructors in com.google.inject.spi with parameters of type Matcher
TypeConverterBinding(java.lang.Object source, Matcher<? super TypeLiteral<?>> typeMatcher, TypeConverter typeConverter)
           
 



Copyright © 2006-2011 Google, Inc.. All Rights Reserved.