< prev index next >
src/java.xml/share/classes/com/sun/org/apache/bcel/internal/generic/LocalVariableGen.java
Print this page
@@ -22,16 +22,15 @@
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
+ * 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 {
@@ -68,11 +67,11 @@
this.live_to_end = end == null;
}
/**
- * Generate a local variable that with index `index'. Note that double and long
+ * 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,11 +85,11 @@
this.orig_index = orig_index;
}
/**
- * Get LocalVariable object.
+ * 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 >