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) intsize()voidwrite(SourceFileWriter writer) (package private) voidwriteBare(SourceFileWriter writer)
-
Field Details
-
type
-
list
-
-
Constructor Details
-
ImplJAnnotationArray
ImplJAnnotationArray(JType type)
-
-
Method Details
-
add
Description copied from interface:JAnnotationArrayAdd an annotation of the array's type to the array.- Specified by:
addin interfaceJAnnotationArray- Returns:
- the new annotation
-
write
- Specified by:
writein interfaceWritable- Throws:
IOException
-
size
int size() -
writeBare
- Throws:
IOException
-