Package org.apache.bcel.classfile
Class MethodParameter
- java.lang.Object
 - 
- org.apache.bcel.classfile.MethodParameter
 
 
- 
- All Implemented Interfaces:
 java.lang.Cloneable
public class MethodParameter extends java.lang.Object implements java.lang.CloneableEntry of the parameters table.- Since:
 - 6.0
 - See Also:
 - The class File Format : The MethodParameters Attribute
 
 
- 
- 
Constructor Summary
Constructors Constructor Description MethodParameter() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(Visitor v)MethodParametercopy()voiddump(java.io.DataOutputStream file)Dump object to file stream on binary format.intgetAccessFlags()intgetNameIndex()java.lang.StringgetParameterName(ConstantPool constant_pool)Returns the name of the parameter.booleanisFinal()booleanisMandated()booleanisSynthetic()voidsetAccessFlags(int access_flags)voidsetNameIndex(int name_index) 
 - 
 
- 
- 
Method Detail
- 
getNameIndex
public int getNameIndex()
 
- 
setNameIndex
public void setNameIndex(int name_index)
 
- 
getParameterName
public java.lang.String getParameterName(ConstantPool constant_pool)
Returns the name of the parameter. 
- 
getAccessFlags
public int getAccessFlags()
 
- 
setAccessFlags
public void setAccessFlags(int access_flags)
 
- 
isFinal
public boolean isFinal()
 
- 
isSynthetic
public boolean isSynthetic()
 
- 
isMandated
public boolean isMandated()
 
- 
accept
public void accept(Visitor v)
 
- 
dump
public final void dump(java.io.DataOutputStream file) throws java.io.IOExceptionDump object to file stream on binary format.- Parameters:
 file- Output file stream- Throws:
 java.io.IOException
 
- 
copy
public MethodParameter copy()
- Returns:
 - deep copy of this object
 
 
 - 
 
 -