Class PersistentPropertySetterMatcher<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>
cz.cvut.kbss.jopa.model.metamodel.gen.PersistentPropertySetterMatcher<T>
- Type Parameters:
T
- MethodDescription
- All Implemented Interfaces:
net.bytebuddy.matcher.ElementMatcher<T>
,net.bytebuddy.matcher.ElementMatcher.Junction<T>
public class PersistentPropertySetterMatcher<T extends net.bytebuddy.description.method.MethodDescription>
extends PersistentPropertyMatcher<T>
Matches only persistent attribute setters.
This matcher checks that there exists a persistent field corresponding to the method name that appears to be a 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 TypeMethodDescriptionresolveFieldName
(String methodName, net.bytebuddy.description.method.MethodDescription methodDesc) Methods inherited from class cz.cvut.kbss.jopa.model.metamodel.gen.PersistentPropertyMatcher
doMatch, equals, hashCode, tryFindingField
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
-
PersistentPropertySetterMatcher
-
-
Method Details
-
resolveFieldName
protected Optional<String> resolveFieldName(String methodName, net.bytebuddy.description.method.MethodDescription methodDesc) - Specified by:
resolveFieldName
in classPersistentPropertyMatcher<T extends net.bytebuddy.description.method.MethodDescription>
-