Class ClassMethod

    • Field Detail

      • returnType

        private final java.lang.String returnType
      • parameters

        private final java.lang.String[] parameters
      • name

        private final java.lang.String name
      • descriptor

        private final java.lang.String descriptor
      • accessFlags

        private final int accessFlags
      • classFile

        private final ClassFile classFile
      • nameIndex

        private final short nameIndex
        The index of the name into the const pool
      • descriptorIndex

        private final short descriptorIndex
        the index of the descriptor into the const pool
      • attributes

        private final java.util.List<Attribute> attributes
      • constructor

        private final boolean constructor
      • runtimeVisibleAnnotationsAttribute

        private final AnnotationsAttribute runtimeVisibleAnnotationsAttribute
      • signature

        private java.lang.String signature
    • Constructor Detail

      • ClassMethod

        ClassMethod​(java.lang.String name,
                    java.lang.String returnType,
                    java.lang.String[] parameters,
                    int accessFlags,
                    ClassFile classFile)
    • Method Detail

      • addCheckedExceptions

        public void addCheckedExceptions​(java.lang.Class<? extends java.lang.Exception>... exceptions)
      • addCheckedExceptions

        public void addCheckedExceptions​(java.lang.String... exceptions)
      • getAccessFlags

        public int getAccessFlags()
      • getReturnType

        public java.lang.String getReturnType()
      • getParameters

        public java.lang.String[] getParameters()
      • getName

        public java.lang.String getName()
      • getDescriptor

        public java.lang.String getDescriptor()
      • isConstructor

        public boolean isConstructor()
      • isStatic

        public boolean isStatic()
      • getClassFile

        public ClassFile getClassFile()
      • getRuntimeVisibleAnnotationsAttribute

        public AnnotationsAttribute getRuntimeVisibleAnnotationsAttribute()
      • getSignature

        public java.lang.String getSignature()
      • setSignature

        public void setSignature​(java.lang.String signature)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

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