Interface ValidatorInfo<T>
public interface ValidatorInfo<T>
Interface to retrieve information about a validator used on a config element
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> ValidatorInfo<T>
empty()
boolean
Gets whether this object matches the validators type and is not corrected by the validator.type()
Gets the annotation class used.value()
Gets the annotation used.default <A> A
Gets the annotation used, if it matches the given annotation class or null if not.
-
Method Details
-
type
Gets the annotation class used. This is the class of the annotation, not of theProxy
that implements it at runtime. -
value
Gets the annotation used. -
value
Gets the annotation used, if it matches the given annotation class or null if not. -
isValid
Gets whether this object matches the validators type and is not corrected by the validator. -
empty
-