# Interface: com.pnfsoftware.jeb.core.units.code.java.IJavaAnnotation

Java AST interface to represent a Java annotation. 

 Example:  

```

 @SomeAnnotation(...)
 
```

## Method: duplicate
- return type: `com.pnfsoftware.jeb.core.units.code.java.IJavaAnnotation`


## Method: generate
- parameter: `out`, type: `com.pnfsoftware.jeb.core.units.code.java.JavaOutputSink`
- parameter: `charAfterAnno`, type: `char`

Description: Custom generator.
parameter: out: output sink
parameter: charAfterAnno: a character to be appended after the annotation; 0 if none

## Method: getElements
- return type: `java.util.List<com.pnfsoftware.jeb.core.units.code.java.IJavaAnnotationElement>`

Description: Get the elements of this annotation. The actual list is returned and may be modified.
return: 

## Method: getType
- return type: `com.pnfsoftware.jeb.core.units.code.java.IJavaType`

Description: Get the annotation type.
return: 

## Method: setType
- parameter: `type`, type: `com.pnfsoftware.jeb.core.units.code.java.IJavaType`

Description: Set or update the annotation type.
parameter: type: 

