Package proguard.classfile.editor
Class ParameterInfoAdder
- java.lang.Object
-
- proguard.classfile.editor.ParameterInfoAdder
-
- All Implemented Interfaces:
ParameterInfoVisitor
public class ParameterInfoAdder extends java.lang.Object implements ParameterInfoVisitor
ThisParameterInfoVisitor
adds all parameter information that it visits to the given target method parameters attribute.
-
-
Constructor Summary
Constructors Constructor Description ParameterInfoAdder(ProgramClass targetClass, MethodParametersAttribute targetMethodParametersAttribute)
Creates a new ParameterInfoAdder that will copy parameter information into the given target method parameters attribute.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
visitParameterInfo(Clazz clazz, Method method, int parameterIndex, ParameterInfo parameterInfo)
-
-
-
Constructor Detail
-
ParameterInfoAdder
public ParameterInfoAdder(ProgramClass targetClass, MethodParametersAttribute targetMethodParametersAttribute)
Creates a new ParameterInfoAdder that will copy parameter information into the given target method parameters attribute.
-
-
Method Detail
-
visitParameterInfo
public void visitParameterInfo(Clazz clazz, Method method, int parameterIndex, ParameterInfo parameterInfo)
- Specified by:
visitParameterInfo
in interfaceParameterInfoVisitor
-
-