bee

bee.task

AnnotationValidator<A>

  • kiss.Extensible

AnnotationValidator()

validate(Aannotation)void

Aannotation

An target annotation to validate.

Validate an annotation value.

getClassName()String

String

Returns the fully qualified class name of the annotated element.

isSubClassOf(Classtype)boolean

Classtype
boolean

Detecte the root element is sub class of the specified class or not.

getSourceFile()Path

Path

A path to source file.

Compute source file path.

getDocument()String

String

A documentation comment of the source code, or empty string if there is none

Returns the text of the documentation ("Javadoc") comment of an element.

A documentation comment of an element is a comment that begins with "/**" , ends with a separate "* /", and immediately precedes the element, ignoring white space. Therefore, a documentation comment contains at least three"*" characters. The text returned for the documentation comment is a processed form of the comment as it appears in source code. The leading "/**" and trailing "* /" are removed. For lines of the comment starting after the initial "/**", leading white space characters are discarded as are any consecutive "*" characters appearing after the white space or starting the line. The processed lines are then concatenated together (including line terminators) and returned.

notice(Objectmessages)void

Objectmessages

Your message.

Talk to user.

warn(Objectmessages)void

Objectmessages

Your warning message.

Warn to user.

error(Objectmessages)void

Objectmessages

Your emergency message.

Declare a state of emergency.