Package org.teavm.model
Class AnnotationContainer
- java.lang.Object
-
- org.teavm.model.AnnotationContainer
-
- All Implemented Interfaces:
AnnotationContainerReader
public class AnnotationContainer extends 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)Iterable<AnnotationHolder>all()AnnotationHolderget(String type)voidremove(String type)voidremove(AnnotationHolder annotation)
-
-
-
Method Detail
-
add
public void add(AnnotationHolder annotation)
-
get
public AnnotationHolder get(String type)
- Specified by:
getin interfaceAnnotationContainerReader
-
remove
public void remove(AnnotationHolder annotation)
-
remove
public void remove(String type)
-
all
public Iterable<AnnotationHolder> all()
- Specified by:
allin interfaceAnnotationContainerReader
-
-