Class ProgramMember

    • Field Detail

      • u2accessFlags

        public int u2accessFlags
      • u2nameIndex

        public int u2nameIndex
      • u2descriptorIndex

        public int u2descriptorIndex
      • u2attributesCount

        public int u2attributesCount
    • Constructor Detail

      • ProgramMember

        protected ProgramMember()
        Creates an uninitialized ProgramMember.
      • ProgramMember

        protected ProgramMember​(int u2accessFlags,
                                int u2nameIndex,
                                int u2descriptorIndex,
                                int u2attributesCount,
                                Attribute[] attributes)
        Creates an initialized ProgramMember.
      • ProgramMember

        protected ProgramMember​(int u2accessFlags,
                                int u2nameIndex,
                                int u2descriptorIndex,
                                int u2attributesCount,
                                Attribute[] attributes,
                                int processingFlags,
                                java.lang.Object processingInfo)
        Creates an initialized ProgramMember.
    • Method Detail

      • accept

        public abstract void accept​(ProgramClass programClass,
                                    MemberVisitor memberVisitor)
        Accepts the given member info visitor.
      • attributesAccept

        public abstract void attributesAccept​(ProgramClass programClass,
                                              AttributeVisitor attributeVisitor)
        Lets the given attribute info visitor visit all the attributes of this member info.
      • getAccessFlags

        public int getAccessFlags()
        Description copied from interface: Member
        Returns the access flags.
        Specified by:
        getAccessFlags in interface Member
      • getName

        public java.lang.String getName​(Clazz clazz)
        Description copied from interface: Member
        Returns the class member name.
        Specified by:
        getName in interface Member
      • getDescriptor

        public java.lang.String getDescriptor​(Clazz clazz)
        Description copied from interface: Member
        Returns the class member's descriptor.
        Specified by:
        getDescriptor in interface Member
      • accept

        public void accept​(Clazz clazz,
                           MemberVisitor memberVisitor)
        Description copied from interface: Member
        Accepts the given class visitor.
        Specified by:
        accept in interface Member