Uses of Interface
org.elasticsearch.common.inject.matcher.Matcher
-
Packages that use Matcher Package Description org.elasticsearch.common.inject org.elasticsearch.common.inject.internal org.elasticsearch.common.inject.matcher org.elasticsearch.common.inject.spi -
-
Uses of Matcher in org.elasticsearch.common.inject
Methods in org.elasticsearch.common.inject with parameters of type Matcher Modifier and Type Method Description protected voidAbstractModule. bindListener(Matcher<? super TypeLiteral<?>> typeMatcher, TypeListener listener)voidBinder. bindListener(Matcher<? super TypeLiteral<?>> typeMatcher, TypeListener listener)Registers a listener for injectable types.protected voidAbstractModule. convertToTypes(Matcher<? super TypeLiteral<?>> typeMatcher, TypeConverter converter)voidBinder. convertToTypes(Matcher<? super TypeLiteral<?>> typeMatcher, TypeConverter converter)Binds a type converter. -
Uses of Matcher in org.elasticsearch.common.inject.internal
Methods in org.elasticsearch.common.inject.internal that return Matcher Modifier and Type Method Description Matcher<? super TypeLiteral<?>>MatcherAndConverter. getTypeMatcher()Constructors in org.elasticsearch.common.inject.internal with parameters of type Matcher Constructor Description MatcherAndConverter(Matcher<? super TypeLiteral<?>> typeMatcher, TypeConverter typeConverter, Object source) -
Uses of Matcher in org.elasticsearch.common.inject.matcher
Classes in org.elasticsearch.common.inject.matcher that implement Matcher Modifier and Type Class Description classAbstractMatcher<T>Implementsand()andor().Methods in org.elasticsearch.common.inject.matcher that return Matcher Modifier and Type Method Description Matcher<T>AbstractMatcher. and(Matcher<? super T> other)Matcher<T>Matcher. and(Matcher<? super T> other)Returns a new matcher which returnstrueif both this and the given matcher returntrue.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 value)Returns a matcher which matches only the given object.static Matcher<Class>Matchers. inPackage(Package targetPackage)Returns a matcher which matches classes in the given package.static Matcher<Class>Matchers. inSubpackage(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<Object>Matchers. only(Object value)Returns a matcher which matches objects equal to the given object.Matcher<T>AbstractMatcher. or(Matcher<? super T> other)Matcher<T>Matcher. or(Matcher<? super T> other)Returns a new matcher which returnstrueif either this or the given matcher returntrue.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 org.elasticsearch.common.inject.matcher with parameters of type Matcher Modifier and Type Method Description Matcher<T>AbstractMatcher. and(Matcher<? super T> other)Matcher<T>Matcher. and(Matcher<? super T> other)Returns a new matcher which returnstrueif both this and the given matcher returntrue.static <T> Matcher<T>Matchers. not(Matcher<? super T> p)Inverts the given matcher.Matcher<T>AbstractMatcher. or(Matcher<? super T> other)Matcher<T>Matcher. or(Matcher<? super T> other)Returns a new matcher which returnstrueif either this or the given matcher returntrue.static Matcher<Method>Matchers. returns(Matcher<? super Class<?>> returnType)Returns a matcher which matches methods with matching return types. -
Uses of Matcher in org.elasticsearch.common.inject.spi
Methods in org.elasticsearch.common.inject.spi that return Matcher Modifier and Type Method Description Matcher<? super TypeLiteral<?>>TypeConverterBinding. getTypeMatcher()Matcher<? super TypeLiteral<?>>TypeListenerBinding. getTypeMatcher()Returns the type matcher which chooses which types the listener should be notified of.
-