public class AnnotationInstanceCreator
extends java.lang.Object
Proxy
implementing the annotation interface represented by the given
AnnotationTag.| Constructor and Description |
|---|
AnnotationInstanceCreator() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
create(AnnotationTag tag)
Creates an instance of the Annotation represented by
tag. |
public java.lang.Object create(AnnotationTag tag)
tag.tag - the soot internal representation of the annotation to be
created.Proxy and implementing the type of
tagjava.lang.RuntimeException - if
AnnotationTag.getType() of
tag could not be loaded.tag does not define all required methods of
the annotation loaded.AnnotationElem could not
be loaded.AnnotationEnumElem is no
instance of Enum.