You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2026/02/14 14:01:00 UTC

(commons-bcel) 49/49: Javadoc

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 ed6e196674eaf358c21f9d4d7fa1846cbd89653b
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Feb 14 09:00:00 2026 -0500

    Javadoc
---
 src/main/java/org/apache/bcel/verifier/structurals/Subroutines.java | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/main/java/org/apache/bcel/verifier/structurals/Subroutines.java b/src/main/java/org/apache/bcel/verifier/structurals/Subroutines.java
index 870456f3..8a73bf62 100644
--- a/src/main/java/org/apache/bcel/verifier/structurals/Subroutines.java
+++ b/src/main/java/org/apache/bcel/verifier/structurals/Subroutines.java
@@ -551,6 +551,8 @@ public class Subroutines {
      * Returns the Subroutine object associated with the given leader (that is, the first instruction of the subroutine).
      * You must not use this to get the top-level instructions modeled as a Subroutine object.
      *
+     * @param leader the leader instruction handle.
+     * @return the Subroutine object.
      * @see #getTopLevel()
      */
     public Subroutine getSubroutine(final InstructionHandle leader) {
@@ -572,6 +574,7 @@ public class Subroutines {
      * object. It is a special Subroutine object where <B>you must not invoke getEnteringJsrInstructions() or
      * getLeavingRET()</B>.
      *
+     * @return the top-level Subroutine.
      * @see Subroutine#getEnteringJsrInstructions()
      * @see Subroutine#getLeavingRET()
      */
@@ -611,6 +614,8 @@ public class Subroutines {
      * using getSubroutine(InstructionHandle). Returns 'null' if the given InstructionHandle lies in so-called 'dead code',
      * for example code that can never be executed.
      *
+     * @param any the instruction handle.
+     * @return the Subroutine object or null.
      * @see #getSubroutine(InstructionHandle)
      * @see #getTopLevel()
      */