Package org.faktorips.runtime.model.type
Interface Type.AnnotatedElementMatcher<T extends java.lang.annotation.Annotation>
-
- Type Parameters:
T- is the type of annotation that is expected.
- Enclosing class:
- Type
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface Type.AnnotatedElementMatcher<T extends java.lang.annotation.Annotation>Matcher for methods or fields based on annotation properties.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanmatches(T annotation)
-
-
-
Method Detail
-
matches
boolean matches(T annotation)
- Parameters:
annotation- the annotation found.- Returns:
trueif the annotation matches the condition,falseelse.
-
-