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/01/09 20:59:47 UTC
(commons-bcel) 05/05: 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 7fe4127275bff463afdcdfe0b94a14edbe3be8f6
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Jan 9 15:59:05 2026 -0500
Javadoc
---
src/main/java/org/apache/bcel/util/Repository.java | 19 ++++++++++++++++---
1 file changed, 16 insertions(+), 3 deletions(-)
diff --git a/src/main/java/org/apache/bcel/util/Repository.java b/src/main/java/org/apache/bcel/util/Repository.java
index 3a019976..c617b523 100644
--- a/src/main/java/org/apache/bcel/util/Repository.java
+++ b/src/main/java/org/apache/bcel/util/Repository.java
@@ -35,17 +35,24 @@ public interface Repository {
/**
* Finds the class with the name provided, if the class isn't there, return NULL.
+ *
+ * @param className the class name.
+ * @return the JavaClass instance, or null.
*/
JavaClass findClass(String className);
/**
- * Gets the ClassPath associated with this Repository
+ * Gets the ClassPath associated with this Repository.
+ *
+ * @return the ClassPath.
*/
ClassPath getClassPath();
/**
* Finds the JavaClass instance for the given run-time class object.
*
+ * @param clazz the class.
+ * @return the JavaClass instance.
* @throws ClassNotFoundException if the class can't be found.
*/
JavaClass loadClass(Class<?> clazz) throws ClassNotFoundException;
@@ -53,17 +60,23 @@ public interface Repository {
/**
* Finds the class with the name provided, if the class isn't there, make an attempt to load it.
*
+ * @param className the class name.
+ * @return the JavaClass instance.
* @throws ClassNotFoundException if the class can't be found.
*/
JavaClass loadClass(String className) throws ClassNotFoundException;
/**
- * Removes class from repository
+ * Removes class from repository.
+ *
+ * @param clazz the class to remove.
*/
void removeClass(JavaClass clazz);
/**
- * Stores the provided class under "clazz.getClassName()"
+ * Stores the provided class under "clazz.getClassName()".
+ *
+ * @param clazz the class to store.
*/
void storeClass(JavaClass clazz);
}