Class PersistentPropertyMatcher<T extends net.bytebuddy.description.method.MethodDescription>
java.lang.Object
net.bytebuddy.matcher.ElementMatcher.Junction.AbstractBase<W>
net.bytebuddy.matcher.ElementMatcher.Junction.ForNonNullValues<T>
cz.cvut.kbss.jopa.model.metamodel.gen.PersistentPropertyMatcher<T>
- Type Parameters:
T
- MethodDescription
- All Implemented Interfaces:
net.bytebuddy.matcher.ElementMatcher<T>
,net.bytebuddy.matcher.ElementMatcher.Junction<T>
- Direct Known Subclasses:
PersistentPropertyGetterMatcher
,PersistentPropertySetterMatcher
public abstract class PersistentPropertyMatcher<T extends net.bytebuddy.description.method.MethodDescription>
extends net.bytebuddy.matcher.ElementMatcher.Junction.ForNonNullValues<T>
Matches only persistent attribute getters/setters.
This matcher checks that there exists a persistent field corresponding to the method name that appears to be a getter/setter.
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.bytebuddy.matcher.ElementMatcher
net.bytebuddy.matcher.ElementMatcher.Junction<S extends Object>
Nested classes/interfaces inherited from interface net.bytebuddy.matcher.ElementMatcher.Junction
net.bytebuddy.matcher.ElementMatcher.Junction.AbstractBase<V extends Object>, net.bytebuddy.matcher.ElementMatcher.Junction.Conjunction<W extends Object>, net.bytebuddy.matcher.ElementMatcher.Junction.Disjunction<W extends Object>, net.bytebuddy.matcher.ElementMatcher.Junction.ForNonNullValues<W extends Object>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
int
hashCode()
resolveFieldName
(String methodName, net.bytebuddy.description.method.MethodDescription methodDesc) tryFindingField
(String fieldName) Methods inherited from class net.bytebuddy.matcher.ElementMatcher.Junction.ForNonNullValues
matches
Methods inherited from class net.bytebuddy.matcher.ElementMatcher.Junction.AbstractBase
and, or
-
Constructor Details
-
PersistentPropertyMatcher
-
-
Method Details
-
doMatch
- Specified by:
doMatch
in classnet.bytebuddy.matcher.ElementMatcher.Junction.ForNonNullValues<T extends net.bytebuddy.description.method.MethodDescription>
-
resolveFieldName
-
tryFindingField
-
equals
- Overrides:
equals
in classnet.bytebuddy.matcher.ElementMatcher.Junction.ForNonNullValues<T extends net.bytebuddy.description.method.MethodDescription>
-
hashCode
public int hashCode()- Overrides:
hashCode
in classnet.bytebuddy.matcher.ElementMatcher.Junction.ForNonNullValues<T extends net.bytebuddy.description.method.MethodDescription>
-