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 7e38ba90dfe4e79198db003efd4385776d7e01ca Author: Gary Gregory <[email protected]> AuthorDate: Sat Feb 14 08:59:54 2026 -0500 Javadoc --- src/main/java/org/apache/bcel/classfile/SourceFile.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/main/java/org/apache/bcel/classfile/SourceFile.java b/src/main/java/org/apache/bcel/classfile/SourceFile.java index c6c1fbb2..55cbe049 100644 --- a/src/main/java/org/apache/bcel/classfile/SourceFile.java +++ b/src/main/java/org/apache/bcel/classfile/SourceFile.java @@ -50,6 +50,8 @@ public final class SourceFile extends Attribute { } /** + * Constructs a SourceFile. + * * @param nameIndex Index in constant pool to CONSTANT_Utf8, which should represent the string "SourceFile". * @param length Content length in bytes, the value should be 2. * @param constantPool The constant pool that this attribute is associated with. @@ -105,6 +107,8 @@ public final class SourceFile extends Attribute { } /** + * Gets the source file index. + * * @return Index in constant pool of source file name. */ public int getSourceFileIndex() { @@ -112,6 +116,8 @@ public final class SourceFile extends Attribute { } /** + * Gets the source file name. + * * @return Source file name. */ public String getSourceFileName() { @@ -119,6 +125,8 @@ public final class SourceFile extends Attribute { } /** + * Sets the source file index. + * * @param sourceFileIndex The source file index to set. */ public void setSourceFileIndex(final int sourceFileIndex) {
