Class ClassInfo


  • public class ClassInfo
    extends java.lang.Object
    • Method Detail

      • getVersion

        public int getVersion()
      • getAccess

        public int getAccess()
      • getName

        public java.lang.String getName()
      • getSig

        public java.lang.String getSig()
      • getSuperName

        public java.lang.String getSuperName()
      • getInterfaces

        public java.util.List<java.lang.String> getInterfaces()
      • getAnnos

        public java.util.List<AnnoInfo> getAnnos()
      • hasAnnoAnywhere

        public boolean hasAnnoAnywhere​(org.objectweb.asm.Type annoType)
        Returns true if an annotation of the specified type is found anywhere in the class represented by this ClassInfo.
      • hasMethodAnnoAnywhere

        public boolean hasMethodAnnoAnywhere​(org.objectweb.asm.Type annoType)
      • hasLocalVarAnnoAnywhere

        public boolean hasLocalVarAnnoAnywhere​(org.objectweb.asm.Type annoType)
      • hasAnno

        public boolean hasAnno​(org.objectweb.asm.Type annoType)
        Returns true if an annotation of the given type is found at the class level in the class represented by this ClassInfo.
      • getAnnoFor

        public AnnoInfo getAnnoFor​(org.objectweb.asm.Type annoType)
      • getFields

        public java.util.List<FieldInfo> getFields()
      • getMethod

        public MethodInfo getMethod​(java.lang.String name,
                                    java.lang.String desc)
      • getMethods

        public java.util.List<MethodInfo> getMethods()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • toFormattedString

        public java.lang.String toFormattedString()