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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
    doMatch(T target)
     
    protected Optional<String>
    resolveFieldName(String methodName, net.bytebuddy.description.method.MethodDescription methodDesc)
     

    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

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PersistentPropertyGetterMatcher

      public PersistentPropertyGetterMatcher(Class<?> parentType)
  • Method Details