Class IzAnnotation
java.lang.Object
com.iizigo.java.parser.type.IzAnnotation
Field Summary
FieldsConstructor Summary
ConstructorsConstructorDescriptionIzAnnotation(org.eclipse.jdt.core.dom.IAnnotationBinding ab) Constructor.IzAnnotation(org.eclipse.jdt.core.dom.IAnnotationBinding ab, boolean doAddNameParam) Constructor.Method Summary
Modifier and TypeMethodDescriptionGets the parameter string.Gets the parameter string.list()Lists an annotation to a string.voidlist(PrintStream printStream) Lists an annotation to an output.voidlist(StringBuilder buf) Lists an annotation to StringBuilder.
Field Details
fqn
The fully qualified name.description
Description if present.
Constructor Details
IzAnnotation
public IzAnnotation(org.eclipse.jdt.core.dom.IAnnotationBinding ab) Constructor.- Parameters:
ab- The annotation bindings.
IzAnnotation
public IzAnnotation(org.eclipse.jdt.core.dom.IAnnotationBinding ab, boolean doAddNameParam) Constructor.- Parameters:
ab- The annotation bindings.doAddNameParam- If true, the parameters table will add a parameter named "name", "descr" or "ref".
Method Details
getParam
getParam
list
Lists an annotation to StringBuilder.list
Lists an annotation to a string.list
Lists an annotation to an output.