@CompileStatic abstract class AbstractValidator extends Object
Convenient abstract class for extending and making Validators but not necessary to extend. Just checks that phase is VALIDATE Phase and if so calls validate method.
Optional<String>
process(T cssPart, Processor.Phase phase)
validate(T style)
class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
Implements the interface's process method.
Returns empty if no problem, otherwise returns Optional wrapped error message.
Groovy Documentation