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 4957bbf011b6cadd282bee3981a343541476c1a1
Author: Gary Gregory <[email protected]>
AuthorDate: Sat Feb 14 08:59:55 2026 -0500

    Javadoc
---
 src/main/java/org/apache/bcel/generic/ReturnaddressType.java | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/main/java/org/apache/bcel/generic/ReturnaddressType.java 
b/src/main/java/org/apache/bcel/generic/ReturnaddressType.java
index 1c4818bf..f59ae63e 100644
--- a/src/main/java/org/apache/bcel/generic/ReturnaddressType.java
+++ b/src/main/java/org/apache/bcel/generic/ReturnaddressType.java
@@ -27,6 +27,7 @@ import org.apache.bcel.Const;
  */
 public class ReturnaddressType extends Type {
 
+    /** Predefined constant for a returnaddress with no target. */
     public static final ReturnaddressType NO_TARGET = new ReturnaddressType();
     private InstructionHandle returnTarget;
 
@@ -39,6 +40,8 @@ public class ReturnaddressType extends Type {
 
     /**
      * Creates a ReturnaddressType object with a target.
+     *
+     * @param returnTarget the target instruction.
      */
     public ReturnaddressType(final InstructionHandle returnTarget) {
         super(Const.T_ADDRESS, "<return address targeting " + returnTarget + 
">");
@@ -47,6 +50,9 @@ public class ReturnaddressType extends Type {
 
     /**
      * Returns if the two Returnaddresses refer to the same target.
+     *
+     * @param rat the object to compare.
+     * @return true if equal.
      */
     @Override
     public boolean equals(final Object rat) {
@@ -61,6 +67,8 @@ public class ReturnaddressType extends Type {
     }
 
     /**
+     * Gets the target of this ReturnaddressType.
+     *
      * @return the target of this ReturnaddressType.
      */
     public InstructionHandle getTarget() {

Reply via email to