T - The exact type of the type description that is matched.@HashCodeAndEqualsPlugin.Enhance public class ClassFileVersionMatcher<T extends TypeDescription> extends ElementMatcher.Junction.ForNonNullValues<T>
ElementMatcher.Junction.AbstractBase<V>, ElementMatcher.Junction.Conjunction<W>, ElementMatcher.Junction.Disjunction<W>, ElementMatcher.Junction.ForNonNullValues<W>ElementMatcher.Junction<S>| Constructor and Description |
|---|
ClassFileVersionMatcher(ClassFileVersion classFileVersion,
boolean atMost)
Creates a class file version matcher.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
doMatch(T target)
Matches the supplied value if it was found not to be
null. |
String |
toString() |
matchesand, orpublic ClassFileVersionMatcher(ClassFileVersion classFileVersion, boolean atMost)
classFileVersion - The targeted class file version.atMost - true if the targeted class file version should be at most of the supplied version.protected boolean doMatch(T target)
ElementMatcher.Junction.ForNonNullValuesnull.doMatch in class ElementMatcher.Junction.ForNonNullValues<T extends TypeDescription>target - The instance to be matched.true if the given element is matched by this matcher or false otherwise.Copyright © 2014–2023. All rights reserved.