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 2022/11/16 15:40:26 UTC
[commons-bcel] 02/03: 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 2e4aac0c5ff3e588fac085f6e103b825d651adc5
Author: Gary David Gregory (Code signing key) <gg...@apache.org>
AuthorDate: Wed Nov 16 10:32:41 2022 -0500
Javadoc
---
src/main/java/org/apache/bcel/classfile/JavaClass.java | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/main/java/org/apache/bcel/classfile/JavaClass.java b/src/main/java/org/apache/bcel/classfile/JavaClass.java
index 68b9bf59..14b41d0b 100644
--- a/src/main/java/org/apache/bcel/classfile/JavaClass.java
+++ b/src/main/java/org/apache/bcel/classfile/JavaClass.java
@@ -396,6 +396,8 @@ public class JavaClass extends AccessFlags implements Cloneable, Node, Comparabl
/**
* Get all interfaces implemented by this JavaClass (transitively).
+ *
+ * @throws ClassNotFoundException if any of the class's superclasses or interfaces can't be found.
*/
public JavaClass[] getAllInterfaces() throws ClassNotFoundException {
final ClassQueue queue = new ClassQueue();
@@ -501,6 +503,8 @@ public class JavaClass extends AccessFlags implements Cloneable, Node, Comparabl
/**
* Get interfaces directly implemented by this JavaClass.
+ *
+ * @throws ClassNotFoundException if any of the class's interfaces can't be found.
*/
public JavaClass[] getInterfaces() throws ClassNotFoundException {
final String[] interfaces = getInterfaceNames();