class ImplJAnnotationArray extends java.lang.Object implements JAnnotationArray, Writable
Modifier and Type | Field and Description |
---|---|
private java.util.ArrayList<ImplJAnnotation> |
list |
private JType |
type |
Constructor and Description |
---|
ImplJAnnotationArray(JType type) |
Modifier and Type | Method and Description |
---|---|
JAnnotation |
add()
Add an annotation of the array's type to the array.
|
(package private) int |
size() |
void |
write(SourceFileWriter writer) |
(package private) void |
writeBare(SourceFileWriter writer) |
private final JType type
private java.util.ArrayList<ImplJAnnotation> list
ImplJAnnotationArray(JType type)
public JAnnotation add()
JAnnotationArray
add
in interface JAnnotationArray
public void write(SourceFileWriter writer) throws java.io.IOException
int size()
void writeBare(SourceFileWriter writer) throws java.io.IOException
java.io.IOException