Package proguard.classfile.editor
Class LocalVariableInfoAdder
- java.lang.Object
-
- proguard.classfile.editor.LocalVariableInfoAdder
-
- All Implemented Interfaces:
LocalVariableInfoVisitor
public class LocalVariableInfoAdder extends java.lang.Object implements LocalVariableInfoVisitor
ThisLocalVariableInfoVisitor
adds all local variables that it visits to the given target local variable table attribute.
-
-
Constructor Summary
Constructors Constructor Description LocalVariableInfoAdder(ProgramClass targetClass, LocalVariableTableAttribute targetLocalVariableTableAttribute)
Creates a new LocalVariableInfoAdder that will copy local variables into the given target local variable table.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
visitLocalVariableInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableInfo localVariableInfo)
-
-
-
Constructor Detail
-
LocalVariableInfoAdder
public LocalVariableInfoAdder(ProgramClass targetClass, LocalVariableTableAttribute targetLocalVariableTableAttribute)
Creates a new LocalVariableInfoAdder that will copy local variables into the given target local variable table.
-
-
Method Detail
-
visitLocalVariableInfo
public void visitLocalVariableInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableInfo localVariableInfo)
- Specified by:
visitLocalVariableInfo
in interfaceLocalVariableInfoVisitor
-
-