Uses of Class
org.apache.bcel.generic.LocalVariableGen
Packages that use LocalVariableGen
Package
Description
Generic part of the Apache Byte Code Engineering Library (BCEL), classes to dynamically modify class objects
and byte code instructions.
-
Uses of LocalVariableGen in org.apache.bcel.generic
Fields in org.apache.bcel.generic with type parameters of type LocalVariableGenMethods in org.apache.bcel.generic that return LocalVariableGenModifier and TypeMethodDescriptionMethodGen.addLocalVariable
(String name, Type type, int slot, InstructionHandle start, InstructionHandle end) Adds a local variable to this method.MethodGen.addLocalVariable
(String name, Type type, int slot, InstructionHandle start, InstructionHandle end, int origIndex) Adds a local variable to this method.MethodGen.addLocalVariable
(String name, Type type, InstructionHandle start, InstructionHandle end) Adds a local variable to this method and assigns an index automatically.MethodGen.getLocalVariables()
Methods in org.apache.bcel.generic with parameters of type LocalVariableGenModifier and TypeMethodDescriptionvoid
InstructionList.redirectLocalVariables
(LocalVariableGen[] lg, InstructionHandle oldTarget, InstructionHandle newTarget) Redirect all references of local variables from oldTarget to newTarget.void
MethodGen.removeLocalVariable
(LocalVariableGen l) Remove a local variable, its slot will not be reused, if you do not use addLocalVariable with an explicit index argument.