|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
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 Class<?>> classMatcher,
Matcher<? super Method> methodMatcher,
MethodInterceptor... interceptors)
Binds a method interceptor to methods matched by class and method matchers. |
void |
Binder.bindInterceptor(Matcher<? super Class<?>> classMatcher,
Matcher<? super Method> methodMatcher,
MethodInterceptor... interceptors)
Binds a method interceptor to methods matched by class and method matchers. |
protected void |
AbstractModule.bindInterceptor(Matcher<? super Class<?>> classMatcher,
Matcher<? super Method> methodMatcher,
MethodInterceptor... interceptors)
|
protected void |
AbstractModule.bindInterceptor(Matcher<? super Class<?>> classMatcher,
Matcher<? super Method> methodMatcher,
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<AnnotatedElement> |
Matchers.annotatedWith(Annotation annotation)
Returns a matcher which matches elements (methods, classes, etc.) with a given annotation. |
|
static Matcher<AnnotatedElement> |
Matchers.annotatedWith(Class<? extends Annotation> annotationType)
Returns a matcher which matches elements (methods, classes, etc.) with a given annotation. |
|
static Matcher<Object> |
Matchers.any()
Returns a matcher which matches any input. |
|
static Matcher<Object> |
Matchers.identicalTo(Object o)
Returns a matcher which matches only the given object. |
|
static Matcher<Class> |
Matchers.inPackage(Package p)
Returns a matcher which matches classes in the given package. |
|
static
|
Matchers.not(Matcher<? super T> p)
Inverts the given matcher. |
|
static Matcher<Object> |
Matchers.only(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<Method> |
Matchers.returns(Matcher<? super Class<?>> returnType)
Returns a matcher which matches methods with matching return types. |
|
static Matcher<Class> |
Matchers.subclassesOf(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
|
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<Method> |
Matchers.returns(Matcher<? super Class<?>> returnType)
Returns a matcher which matches methods with matching return types. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |