Package org.jboss.jdeparser
Class ImplJAnnotationArray
java.lang.Object
org.jboss.jdeparser.ImplJAnnotationArray
- All Implemented Interfaces:
JAnnotationArray
,Writable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadd()
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)
-
Field Details
-
type
-
list
-
-
Constructor Details
-
ImplJAnnotationArray
ImplJAnnotationArray(JType type)
-
-
Method Details
-
add
Description copied from interface:JAnnotationArray
Add an annotation of the array's type to the array.- Specified by:
add
in interfaceJAnnotationArray
- Returns:
- the new annotation
-
write
- Specified by:
write
in interfaceWritable
- Throws:
IOException
-
size
int size() -
writeBare
- Throws:
IOException
-