AnnotationSourcerpublic class AnnotationSourcer extends Object implements org.objectweb.asm.AnnotationVisitorAn annotation visitor that generates Java source for an annotation. |
Fields Summary |
---|
private final String | mOpenChar | private final String | mCloseChar | private final Output | mOutput | private boolean | mNeedClose |
Constructors Summary |
---|
public AnnotationSourcer(Output output)
this(output, false /*isArray*/);
| public AnnotationSourcer(Output output, boolean isArray)
mOutput = output;
mOpenChar = isArray ? "[" : "(";
mCloseChar = isArray ? "]" : ")";
|
|