Package org.teavm.model
Class AnnotationHolder
- java.lang.Object
-
- org.teavm.model.AnnotationHolder
-
- All Implemented Interfaces:
AnnotationReader
public class AnnotationHolder extends Object implements AnnotationReader
Represents an annotation of Java element.- Author:
- Alexey Andreev
-
-
Constructor Summary
Constructors Constructor Description AnnotationHolder(String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterable<String>getAvailableFields()StringgetType()AnnotationValuegetValue(String fieldName)Map<String,AnnotationValue>getValues()
-
-
-
Constructor Detail
-
AnnotationHolder
public AnnotationHolder(String type)
-
-
Method Detail
-
getType
public String getType()
- Specified by:
getTypein interfaceAnnotationReader
-
getValues
public Map<String,AnnotationValue> getValues()
-
getValue
public AnnotationValue getValue(String fieldName)
- Specified by:
getValuein interfaceAnnotationReader
-
getAvailableFields
public Iterable<String> getAvailableFields()
- Specified by:
getAvailableFieldsin interfaceAnnotationReader
-
-