Package proguard.classfile.attribute
Class ParameterInfo
- java.lang.Object
-
- proguard.util.SimpleProcessable
-
- proguard.classfile.attribute.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 Summary
Fields Modifier and Type Field Description int
u2accessFlags
int
u2nameIndex
-
Fields inherited from class proguard.util.SimpleProcessable
processingFlags, processingInfo
-
-
Constructor Summary
Constructors Constructor Description ParameterInfo()
Creates an uninitialized ParameterInfo.ParameterInfo(int u2nameIndex, int u2accessFlags)
Creates an initialized ParameterInfo.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName(Clazz clazz)
Returns the parameter name.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.-
Methods inherited from class proguard.util.SimpleProcessable
addProcessingFlags, getProcessingFlags, getProcessingInfo, hasProcessingFlags, removeProcessingFlags, setProcessingFlags, setProcessingInfo
-
-
-
-
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.
-
-