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 80f85cafb6d5f82160a87fd602ffa84bce2ef753
Author: Gary Gregory <[email protected]>
AuthorDate: Sat Jan 10 23:32:05 2026 -0500

    Javadoc
---
 .../apache/bcel/verifier/structurals/Frame.java    | 34 ++++++++++++++++++++--
 1 file changed, 32 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/apache/bcel/verifier/structurals/Frame.java 
b/src/main/java/org/apache/bcel/verifier/structurals/Frame.java
index 74c87fa5..d126224c 100644
--- a/src/main/java/org/apache/bcel/verifier/structurals/Frame.java
+++ b/src/main/java/org/apache/bcel/verifier/structurals/Frame.java
@@ -34,7 +34,9 @@ public class Frame {
     protected static UninitializedObjectType _this;
 
     /**
-     * @return the _this
+     * Gets the static _this reference.
+     *
+     * @return the _this.
      * @since 6.0
      */
     public static UninitializedObjectType getThis() {
@@ -42,7 +44,9 @@ public class Frame {
     }
 
     /**
-     * @param _this the _this to set
+     * Sets the static _this reference.
+     *
+     * @param _this the _this to set.
      * @since 6.0
      */
     public static void setThis(final UninitializedObjectType _this) {
@@ -50,14 +54,20 @@ public class Frame {
     }
 
     /**
+     * The local variables.
      */
     private final LocalVariables locals;
 
     /**
+     * The operand stack.
      */
     private final OperandStack stack;
 
     /**
+     * Constructs a Frame.
+     *
+     * @param maxLocals the maximum number of local variables.
+     * @param maxStack the maximum stack size.
      */
     public Frame(final int maxLocals, final int maxStack) {
         locals = new LocalVariables(maxLocals);
@@ -65,6 +75,10 @@ public class Frame {
     }
 
     /**
+     * Constructs a Frame.
+     *
+     * @param locals the local variables.
+     * @param stack the operand stack.
      */
     public Frame(final LocalVariables locals, final OperandStack stack) {
         this.locals = locals;
@@ -72,6 +86,9 @@ public class Frame {
     }
 
     /**
+     * Creates a clone of this frame.
+     *
+     * @return a clone of this frame.
      */
     @Override
     protected Object clone() {
@@ -79,6 +96,10 @@ public class Frame {
     }
 
     /**
+     * Checks if this frame equals another object.
+     *
+     * @param o the object to compare.
+     * @return true if equal, false otherwise.
      */
     @Override
     public boolean equals(final Object o) {
@@ -90,18 +111,27 @@ public class Frame {
     }
 
     /**
+     * Gets a clone of this frame.
+     *
+     * @return a clone of this frame.
      */
     public Frame getClone() {
         return (Frame) clone();
     }
 
     /**
+     * Gets the local variables.
+     *
+     * @return the local variables.
      */
     public LocalVariables getLocals() {
         return locals;
     }
 
     /**
+     * Gets the operand stack.
+     *
+     * @return the operand stack.
      */
     public OperandStack getStack() {
         return stack;

Reply via email to