Package com.iizigo.java.parser.type
Class IzAnnotation
java.lang.Object
com.iizigo.java.parser.type.IzAnnotation
Annotation for a method or class.
- Author:
- Christopher Mindus
Field Summary
FieldsConstructor Summary
ConstructorsConstructorDescriptionConstructor.IzAnnotation
(IAnnotationBinding ab, boolean doAddNameParam) Constructor.Method Summary
Modifier and TypeMethodDescriptionGets the parameter string.Gets the parameter string.list()
Lists an annotation to a string.void
list
(PrintStream printStream) Lists an annotation to an output.void
list
(StringBuilder buf) Lists an annotation to StringBuilder.
Field Details
fqn
The fully qualified name.description
Description if present.
Constructor Details
IzAnnotation
Constructor.- Parameters:
ab
- The annotation bindings.
IzAnnotation
Constructor.- Parameters:
ab
- The annotation bindings.doAddNameParam
- If true, the parameters table will add a parameter named "name", "descr" or "ref".
Method Details
getParam
Gets the parameter string.- Parameters:
name
- The parameter name (case sensitive).- Returns:
- The value or null for none.
getParam
Gets the parameter string.- Parameters:
name
- The parameter name (case sensitive).defaultValue
- Default value if none is found, can be null.- Returns:
- The value or null for none.
list
Lists an annotation to StringBuilder.list
Lists an annotation to a string.list
Lists an annotation to an output.