public class AnnotationInstanceCreator extends Object
Proxy implementing the annotation interface
represented by the given AnnotationTag.| Constructor and Description |
|---|
AnnotationInstanceCreator() |
| Modifier and Type | Method and Description |
|---|---|
Object |
create(AnnotationTag tag)
Creates an instance of the Annotation represented by
tag. |
public Object create(AnnotationTag tag)
tag.tag - the soot internal representation of the annotation to be created.Proxy and implementing the type of tagRuntimeException - 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.Copyright © 2020 Soot OSS. All rights reserved.