< prev index next >
src/java.xml/share/classes/com/sun/org/apache/bcel/internal/generic/LocalVariableGen.java
Print this page
*** 22,37 ****
import com.sun.org.apache.bcel.internal.Const;
import com.sun.org.apache.bcel.internal.classfile.LocalVariable;
/**
! * This class represents a local variable within a method. It contains its
* scope, name and type. The generated LocalVariable object can be obtained
* with getLocalVariable which needs the instruction list and the constant
* pool as parameters.
*
- * @version $Id$
* @see LocalVariable
* @see MethodGen
*/
public class LocalVariableGen implements InstructionTargeter, NamedAndTyped, Cloneable {
--- 22,36 ----
import com.sun.org.apache.bcel.internal.Const;
import com.sun.org.apache.bcel.internal.classfile.LocalVariable;
/**
! * Represents a local variable within a method. It contains its
* scope, name and type. The generated LocalVariable object can be obtained
* with getLocalVariable which needs the instruction list and the constant
* pool as parameters.
*
* @see LocalVariable
* @see MethodGen
*/
public class LocalVariableGen implements InstructionTargeter, NamedAndTyped, Cloneable {
*** 68,78 ****
this.live_to_end = end == null;
}
/**
! * Generate a local variable that with index `index'. Note that double and long
* variables need two indexs. Index indices have to be provided by the user.
*
* @param index index of local variable
* @param name its name
* @param type its type
--- 67,77 ----
this.live_to_end = end == null;
}
/**
! * Generates a local variable that with index `index'. Note that double and long
* variables need two indexs. Index indices have to be provided by the user.
*
* @param index index of local variable
* @param name its name
* @param type its type
*** 86,96 ****
this.orig_index = orig_index;
}
/**
! * Get LocalVariable object.
*
* This relies on that the instruction list has already been dumped to byte code or
* or that the `setPositions' methods has been called for the instruction list.
*
* Note that due to the conversion from byte code offset to InstructionHandle,
--- 85,95 ----
this.orig_index = orig_index;
}
/**
! * Gets LocalVariable object.
*
* This relies on that the instruction list has already been dumped to byte code or
* or that the `setPositions' methods has been called for the instruction list.
*
* Note that due to the conversion from byte code offset to InstructionHandle,
< prev index next >