Class ParameterInfo

java.lang.Object
proguard.util.SimpleProcessable
proguard.classfile.attribute.ParameterInfo
All Implemented Interfaces:
Serializable, Processable

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

    • u2nameIndex

      public int u2nameIndex
    • u2accessFlags

      public int u2accessFlags
  • Constructor Details

    • ParameterInfo

      public ParameterInfo()
      Creates an uninitialized ParameterInfo.
    • ParameterInfo

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

    • getName

      public 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.