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. 
 

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 a method interceptor 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 a method interceptor to methods matched by class and method matchers.
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)
           
 

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 o)
          Returns a matcher which matches only the given object.
static Matcher<java.lang.Class> Matchers.inPackage(java.lang.Package p)
          Returns a matcher which matches classes in the given package.
static
<T> Matcher<T>
Matchers.not(Matcher<? super T> p)
          Inverts the given matcher.
static Matcher<java.lang.Object> Matchers.only(java.lang.Object o)
          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.
 



Copyright © 2008. All Rights Reserved.