This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git

commit 1a04cf3dffc7149a410aa9c287090c278dcfae0b
Author: Gary David Gregory (Code signing key) <ggreg...@apache.org>
AuthorDate: Mon Nov 21 16:07:06 2022 -0500

    Javadoc
---
 .../org/apache/bcel/classfile/LocalVariable.java   | 29 +++++++++++++++-------
 1 file changed, 20 insertions(+), 9 deletions(-)

diff --git a/src/main/java/org/apache/bcel/classfile/LocalVariable.java 
b/src/main/java/org/apache/bcel/classfile/LocalVariable.java
index 25216929..a67daf51 100644
--- a/src/main/java/org/apache/bcel/classfile/LocalVariable.java
+++ b/src/main/java/org/apache/bcel/classfile/LocalVariable.java
@@ -37,17 +37,28 @@ import org.apache.bcel.util.Args;
  */
 public final class LocalVariable implements Cloneable, Node, Constants {
 
-    private int startPc; // Range in which the variable is valid
+    /** Range in which the variable is valid. */
+    private int startPc;
+
     private int length;
-    private int nameIndex; // Index in constant pool of variable name
-    // Technically, a decscriptor_index for a local variable table entry
-    // and a signatureIndex for a local variable type table entry.
-    private int signatureIndex; // Index of variable signature
-    private int index; /*
-                        * Variable is index'th local variable on this method's 
frame.
-                        */
+
+    /** Index in constant pool of variable name. */
+    private int nameIndex;
+
+    /**
+     * Technically, a decscriptor_index for a local variable table entry and a 
signatureIndex for a local variable type table entry. Index of variable 
signature
+     */
+    private int signatureIndex;
+
+    /*
+     * Variable is index'th local variable on this method's frame.
+     */
+    private int index;
+
     private ConstantPool constantPool;
-    private final int origIndex; // never changes; used to match up with 
LocalVariableTypeTable entries
+
+    /** Never changes; used to match up with LocalVariableTypeTable entries. */
+    private final int origIndex;
 
     /**
      * Constructs object from file stream.

Reply via email to