java.lang.Object | |
↳ | com.google.inject.matcher.Matchers |
Matcher implementations. Supports matching classes and methods.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns a matcher which matches elements (methods, classes, etc.)
with a given annotation.
| |||||||||||
Returns a matcher which matches elements (methods, classes, etc.)
with a given annotation.
| |||||||||||
Returns a matcher which matches any input.
| |||||||||||
Returns a matcher which matches only the given object.
| |||||||||||
Returns a matcher which matches classes in the given package.
| |||||||||||
Returns a matcher which matches classes in the given package and its subpackages.
| |||||||||||
Inverts the given matcher.
| |||||||||||
Returns a matcher which matches objects equal to the given object.
| |||||||||||
Returns a matcher which matches methods with matching return types.
| |||||||||||
Returns a matcher which matches subclasses of the given type (as well as
the given type).
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Returns a matcher which matches elements (methods, classes, etc.) with a given annotation.
Returns a matcher which matches elements (methods, classes, etc.) with a given annotation.
Returns a matcher which matches any input.
Returns a matcher which matches only the given object.
Returns a matcher which matches classes in the given package. Packages are specific to their classloader, so classes with the same package name may not have the same package at runtime.
Returns a matcher which matches classes in the given package and its subpackages. Unlike
inPackage()
, this matches classes from any classloader.
Inverts the given matcher.
Returns a matcher which matches objects equal to the given object.
Returns a matcher which matches methods with matching return types.
Returns a matcher which matches subclasses of the given type (as well as the given type).