Class Annotations

java.lang.Object
org.robovm.compiler.Annotations

public class Annotations
extends Object
Author:
niklas
  • Field Details

  • Constructor Details

    • Annotations

      public Annotations()
  • Method Details

    • hasAnnotation

      public static boolean hasAnnotation​(soot.tagkit.Host host, String annotationType)
    • hasParameterAnnotation

      public static boolean hasParameterAnnotation​(soot.SootMethod method, int paramIndex, String annotationType)
    • getAnnotations

      public static List<soot.tagkit.AnnotationTag> getAnnotations​(soot.tagkit.Host host, Annotations.Visibility visibility)
    • getAnnotation

      public static soot.tagkit.AnnotationTag getAnnotation​(soot.tagkit.Host host, String annotationType)
    • getParameterAnnotations

      public static List<soot.tagkit.AnnotationTag> getParameterAnnotations​(soot.SootMethod method, int paramIndex, Annotations.Visibility visibility)
    • getParameterAnnotations

      public static List<soot.tagkit.AnnotationTag>[] getParameterAnnotations​(soot.SootMethod method, Annotations.Visibility visibility)
    • getParameterAnnotation

      public static soot.tagkit.AnnotationTag getParameterAnnotation​(soot.SootMethod method, int paramIndex, String annotationType)
    • hasBridgeAnnotation

      public static boolean hasBridgeAnnotation​(soot.SootMethod method)
    • hasCallbackAnnotation

      public static boolean hasCallbackAnnotation​(soot.SootMethod method)
    • hasStructMemberAnnotation

      public static boolean hasStructMemberAnnotation​(soot.SootMethod method)
    • hasGlobalValueAnnotation

      public static boolean hasGlobalValueAnnotation​(soot.SootMethod method)
    • hasArrayAnnotation

      public static boolean hasArrayAnnotation​(soot.SootMethod method)
    • hasArrayAnnotation

      public static boolean hasArrayAnnotation​(soot.SootMethod method, int paramIndex)
    • hasPointerAnnotation

      public static boolean hasPointerAnnotation​(soot.SootMethod method)
    • hasMachineSizedFloatAnnotation

      public static boolean hasMachineSizedFloatAnnotation​(soot.SootMethod method)
    • hasMachineSizedSIntAnnotation

      public static boolean hasMachineSizedSIntAnnotation​(soot.SootMethod method)
    • hasMachineSizedUIntAnnotation

      public static boolean hasMachineSizedUIntAnnotation​(soot.SootMethod method)
    • hasByValAnnotation

      public static boolean hasByValAnnotation​(soot.SootMethod method)
    • hasByRefAnnotation

      public static boolean hasByRefAnnotation​(soot.SootMethod method)
    • hasStructRetAnnotation

      public static boolean hasStructRetAnnotation​(soot.SootMethod method, int paramIndex)
    • hasPointerAnnotation

      public static boolean hasPointerAnnotation​(soot.SootMethod method, int paramIndex)
    • hasMachineSizedFloatAnnotation

      public static boolean hasMachineSizedFloatAnnotation​(soot.SootMethod method, int paramIndex)
    • hasMachineSizedSIntAnnotation

      public static boolean hasMachineSizedSIntAnnotation​(soot.SootMethod method, int paramIndex)
    • hasMachineSizedUIntAnnotation

      public static boolean hasMachineSizedUIntAnnotation​(soot.SootMethod method, int paramIndex)
    • hasByValAnnotation

      public static boolean hasByValAnnotation​(soot.SootMethod method, int paramIndex)
    • hasByRefAnnotation

      public static boolean hasByRefAnnotation​(soot.SootMethod method, int paramIndex)
    • hasVariadicAnnotation

      public static boolean hasVariadicAnnotation​(soot.SootMethod method)
    • hasWeaklyLinkedAnnotation

      public static boolean hasWeaklyLinkedAnnotation​(soot.tagkit.Host host)
    • hasStronglyLinkedAnnotation

      public static boolean hasStronglyLinkedAnnotation​(soot.tagkit.Host host)
    • getVariadicParameterIndex

      public static int getVariadicParameterIndex​(soot.SootMethod method)
    • hasAfterBridgeCallAnnotation

      public static boolean hasAfterBridgeCallAnnotation​(soot.SootMethod method)
    • hasAfterCallbackCallAnnotation

      public static boolean hasAfterCallbackCallAnnotation​(soot.SootMethod method)
    • getMarshalerAnnotation

      public static soot.tagkit.AnnotationTag getMarshalerAnnotation​(soot.SootMethod method, int paramIndex)
    • getMarshalerAnnotation

      public static soot.tagkit.AnnotationTag getMarshalerAnnotation​(soot.SootMethod method)
    • getMarshalerAnnotations

      public static List<soot.tagkit.AnnotationTag> getMarshalerAnnotations​(soot.SootClass clazz)
    • getMarshalsPointerAnnotation

      public static soot.tagkit.AnnotationTag getMarshalsPointerAnnotation​(soot.SootMethod method)
    • getMarshalsValueAnnotation

      public static soot.tagkit.AnnotationTag getMarshalsValueAnnotation​(soot.SootMethod method)
    • getMarshalsArrayAnnotation

      public static soot.tagkit.AnnotationTag getMarshalsArrayAnnotation​(soot.SootMethod method)
    • getStructMemberAnnotation

      public static soot.tagkit.AnnotationTag getStructMemberAnnotation​(soot.SootMethod method)
    • getStructVectorisedAnnotation

      public static soot.tagkit.AnnotationTag getStructVectorisedAnnotation​(soot.SootClass clazz)
    • getStructPackedAnnotation

      public static soot.tagkit.AnnotationTag getStructPackedAnnotation​(soot.SootClass clazz)
    • getArrayAnnotation

      public static soot.tagkit.AnnotationTag getArrayAnnotation​(soot.SootMethod method)
    • getArrayAnnotation

      public static soot.tagkit.AnnotationTag getArrayAnnotation​(soot.SootMethod method, int paramIndex)
    • getBaseTypeAnnotation

      public static soot.tagkit.AnnotationTag getBaseTypeAnnotation​(soot.SootMethod method)
    • hasByValAnnotation

      public static boolean hasByValAnnotation​(soot.SootClass clazz)
    • hasByRefAnnotation

      public static boolean hasByRefAnnotation​(soot.SootClass clazz)
    • getElemByName

      public static soot.tagkit.AnnotationElem getElemByName​(soot.tagkit.AnnotationTag annotation, String name)
    • readStringElem

      public static String readStringElem​(soot.tagkit.AnnotationTag annotation, String name, String def)
    • readBooleanElem

      public static boolean readBooleanElem​(soot.tagkit.AnnotationTag annotation, String name, boolean def)
    • readIntElem

      public static int readIntElem​(soot.tagkit.AnnotationTag annotation, String name, int def)
    • getOrCreateRuntimeVisibilityAnnotationTag

      public static soot.tagkit.VisibilityAnnotationTag getOrCreateRuntimeVisibilityAnnotationTag​(soot.tagkit.Host host)
    • addRuntimeVisibleAnnotation

      public static void addRuntimeVisibleAnnotation​(soot.tagkit.Host host, String annotationType)
    • addRuntimeVisibleAnnotation

      public static void addRuntimeVisibleAnnotation​(soot.tagkit.Host host, soot.tagkit.AnnotationTag annoTag)
    • removeAnnotation

      public static void removeAnnotation​(soot.tagkit.Host host, String annotationType)
    • removeParameterAnnotation

      public static void removeParameterAnnotation​(soot.SootMethod method, int paramIndex, String annotationType)
    • copyAnnotations

      public static void copyAnnotations​(soot.SootMethod fromMethod, soot.SootMethod toMethod, Annotations.Visibility visibility)
    • copyParameterAnnotations

      public static void copyParameterAnnotations​(soot.SootMethod fromMethod, soot.SootMethod toMethod, int start, int end, int shift, Annotations.Visibility visibility)
    • getOrCreateRuntimeVisibilityAnnotationTag

      public static soot.tagkit.VisibilityAnnotationTag getOrCreateRuntimeVisibilityAnnotationTag​(soot.SootMethod method, int paramIndex)
    • addRuntimeVisibleParameterAnnotation

      public static void addRuntimeVisibleParameterAnnotation​(soot.SootMethod method, int paramIndex, String annotationType)
    • addRuntimeVisibleParameterAnnotation

      public static void addRuntimeVisibleParameterAnnotation​(soot.SootMethod method, int paramIndex, soot.tagkit.AnnotationTag annoTag)