Class AnnotationInstanceCreator


  • public class AnnotationInstanceCreator
    extends Object
    A simple helper class with the ability to create an instance of Proxy implementing the annotation interface represented by the given AnnotationTag.
    Author:
    Florian Kuebler
    • Constructor Detail

      • AnnotationInstanceCreator

        public AnnotationInstanceCreator()
    • Method Detail

      • create

        public Object create​(AnnotationTag tag)
        Creates an instance of the Annotation represented by tag.
        Parameters:
        tag - the soot internal representation of the annotation to be created.
        Returns:
        an Object extending Proxy and implementing the type of tag
        Throws:
        RuntimeException - if