Class MethodParameter

    • Field Detail

      • nameIndex

        private int nameIndex
        Index of the CONSTANT_Utf8_info structure in the constant_pool table representing the name of the parameter
      • accessFlags

        private int accessFlags
        The access flags
    • Constructor Detail

      • MethodParameter

        public MethodParameter()
      • MethodParameter

        MethodParameter​(java.io.DataInput input)
                 throws java.io.IOException
        Construct object from input stream.
        Parameters:
        input - Input stream
        Throws:
        java.io.IOException - if an I/O error occurs.
        ClassFormatException - if a class is malformed or cannot be interpreted as a class file
    • Method Detail

      • accept

        public void accept​(Visitor v)
        Specified by:
        accept in interface Node
      • dump

        public final void dump​(java.io.DataOutputStream file)
                        throws java.io.IOException
        Dump object to file stream on binary format.
        Parameters:
        file - Output file stream
        Throws:
        java.io.IOException - if an I/O error occurs.
      • getAccessFlags

        public int getAccessFlags()
      • getNameIndex

        public int getNameIndex()
      • getParameterName

        public java.lang.String getParameterName​(ConstantPool constantPool)
        Returns the name of the parameter.
      • isFinal

        public boolean isFinal()
      • isMandated

        public boolean isMandated()
      • isSynthetic

        public boolean isSynthetic()
      • setAccessFlags

        public void setAccessFlags​(int accessFlags)
      • setNameIndex

        public void setNameIndex​(int nameIndex)