Class AnnotatedPropertyCriteria
- java.lang.Object
-
- org.keycloak.models.utils.reflection.AnnotatedPropertyCriteria
-
- All Implemented Interfaces:
PropertyCriteria
public class AnnotatedPropertyCriteria extends Object implements PropertyCriteria
A criteria that matches a property based on its annotations- See Also:
PropertyCriteria
-
-
Constructor Summary
Constructors Constructor Description AnnotatedPropertyCriteria(Class<? extends Annotation> annotationClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanmethodMatches(Method m)Tests whether the specified method matches the criteria
-
-
-
Constructor Detail
-
AnnotatedPropertyCriteria
public AnnotatedPropertyCriteria(Class<? extends Annotation> annotationClass)
-
-
Method Detail
-
methodMatches
public boolean methodMatches(Method m)
Description copied from interface:PropertyCriteriaTests whether the specified method matches the criteria- Specified by:
methodMatchesin interfacePropertyCriteria- Returns:
- true if the method matches
-
-