Package cz.cvut.kbss.jopa.proxy.lazy.gen
Class PersistentPropertyGetterMatcher<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.proxy.lazy.gen.PersistentPropertyGetterMatcher<T>
- Type Parameters:
T
- MethodDescription
- All Implemented Interfaces:
net.bytebuddy.matcher.ElementMatcher<T>
,net.bytebuddy.matcher.ElementMatcher.Junction<T>
public class PersistentPropertyGetterMatcher<T extends net.bytebuddy.description.method.MethodDescription>
extends PersistentPropertyMatcher<T>
Matches only persistent field getters.
This matcher checks that there exists a persistent field corresponding to the method name that appears to be a
getter. get, is, has
prefixes are supported.
-
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
Methods inherited from class cz.cvut.kbss.jopa.model.metamodel.gen.PersistentPropertyMatcher
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
-
PersistentPropertyGetterMatcher
-
-
Method Details
-
doMatch
- Overrides:
doMatch
in classPersistentPropertyMatcher<T extends net.bytebuddy.description.method.MethodDescription>
-
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>
-