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