public class ConstructorPredicates
extends java.lang.Object
Constructor
objects.Modifier and Type | Method and Description |
---|---|
static java.util.function.Predicate<java.lang.reflect.Constructor> |
annotated() |
static java.util.function.Predicate<java.lang.reflect.Constructor> |
annotatedWith(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType) |
public static final java.util.function.Predicate<java.lang.reflect.Constructor> annotated()
true
if the method has
annotations.public static java.util.function.Predicate<java.lang.reflect.Constructor> annotatedWith(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
true
if the evaluated element
is annotated with the specified Annotation.