Class ParameterInfo

  • All Implemented Interfaces:
    java.io.Serializable, Processable

    public class ParameterInfo
    extends SimpleProcessable
    Representation of a parameter, as defined in a method parameters attribute.
    See Also:
    Serialized Form
    • Field Detail

      • u2nameIndex

        public int u2nameIndex
      • u2accessFlags

        public int u2accessFlags
    • Constructor Detail

      • ParameterInfo

        public ParameterInfo()
        Creates an uninitialized ParameterInfo.
      • ParameterInfo

        public ParameterInfo​(int u2nameIndex,
                             int u2accessFlags)
        Creates an initialized ParameterInfo.
    • Method Detail

      • getName

        public java.lang.String getName​(Clazz clazz)
        Returns the parameter name.
      • nameConstantAccept

        public void nameConstantAccept​(Clazz clazz,
                                       ConstantVisitor constantVisitor)
        Applies the given constant pool visitor to the Utf8 constant that represents the name of the parameter, if any.