Package org.teavm.model
Class AnnotationContainer
- java.lang.Object
-
- org.teavm.model.AnnotationContainer
-
- All Implemented Interfaces:
AnnotationContainerReader
public class AnnotationContainer extends java.lang.Object implements AnnotationContainerReader
-
-
Constructor Summary
Constructors Constructor Description AnnotationContainer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(AnnotationHolder annotation)java.lang.Iterable<AnnotationHolder>all()AnnotationHolderget(java.lang.String type)voidremove(java.lang.String type)voidremove(AnnotationHolder annotation)
-
-
-
Method Detail
-
add
public void add(AnnotationHolder annotation)
-
get
public AnnotationHolder get(java.lang.String type)
- Specified by:
getin interfaceAnnotationContainerReader
-
remove
public void remove(AnnotationHolder annotation)
-
remove
public void remove(java.lang.String type)
-
all
public java.lang.Iterable<AnnotationHolder> all()
- Specified by:
allin interfaceAnnotationContainerReader
-
-