Class AnnotationsUtils


  • public class AnnotationsUtils
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.List<jadx.api.plugins.input.data.annotations.EncodedValue> getArray​(jadx.api.plugins.input.data.annotations.IAnnotation ann, java.lang.String name)  
      static @Nullable java.lang.Object getValue​(jadx.api.plugins.input.data.annotations.IAnnotation ann, java.lang.String name, jadx.api.plugins.input.data.annotations.EncodedType type)  
      static <T> T getValue​(jadx.api.plugins.input.data.annotations.IAnnotation ann, java.lang.String name, jadx.api.plugins.input.data.annotations.EncodedType type, T defValue)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AnnotationsUtils

        public AnnotationsUtils()
    • Method Detail

      • getValue

        public static <T> T getValue​(jadx.api.plugins.input.data.annotations.IAnnotation ann,
                                     java.lang.String name,
                                     jadx.api.plugins.input.data.annotations.EncodedType type,
                                     T defValue)
      • getValue

        @Nullable
        public static @Nullable java.lang.Object getValue​(jadx.api.plugins.input.data.annotations.IAnnotation ann,
                                                          java.lang.String name,
                                                          jadx.api.plugins.input.data.annotations.EncodedType type)
      • getArray

        public static java.util.List<jadx.api.plugins.input.data.annotations.EncodedValue> getArray​(jadx.api.plugins.input.data.annotations.IAnnotation ann,
                                                                                                    java.lang.String name)