public abstract class Condition extends Object implements MethodCondition, PojoCondition, PropertyCondition
| Modifier and Type | Method and Description |
|---|---|
static Condition |
hasAnnotation(Class<? extends Annotation> type) |
static Condition |
hasAnnotationAnnotatedWith(Class<? extends Annotation> type) |
static Condition |
hasInterface(Class<?> type) |
static Condition |
hasName(String name) |
static Condition |
instanceOf(Class<?> type) |
abstract boolean |
test(MethodInfo method) |
abstract boolean |
test(PojoInfo pojoInfo) |
abstract boolean |
test(Property property) |
public static Condition hasAnnotation(Class<? extends Annotation> type)
public static Condition hasAnnotationAnnotatedWith(Class<? extends Annotation> type)
public abstract boolean test(MethodInfo method)
test in interface MethodConditionpublic abstract boolean test(PojoInfo pojoInfo)
test in interface PojoConditionpublic abstract boolean test(Property property)
test in interface PropertyConditionCopyright © 2016 Objectos Software LTDA. All rights reserved.