@@ -35,35 +35,48 @@ public interface Repository {
3535
3636 /**
3737 * Finds the class with the name provided, if the class isn't there, return NULL.
38+ *
39+ * @param className the class name.
40+ * @return the JavaClass instance, or null.
3841 */
3942 JavaClass findClass (String className );
4043
4144 /**
42- * Gets the ClassPath associated with this Repository
45+ * Gets the ClassPath associated with this Repository.
46+ *
47+ * @return the ClassPath.
4348 */
4449 ClassPath getClassPath ();
4550
4651 /**
4752 * Finds the JavaClass instance for the given run-time class object.
4853 *
54+ * @param clazz the class.
55+ * @return the JavaClass instance.
4956 * @throws ClassNotFoundException if the class can't be found.
5057 */
5158 JavaClass loadClass (Class <?> clazz ) throws ClassNotFoundException ;
5259
5360 /**
5461 * Finds the class with the name provided, if the class isn't there, make an attempt to load it.
5562 *
63+ * @param className the class name.
64+ * @return the JavaClass instance.
5665 * @throws ClassNotFoundException if the class can't be found.
5766 */
5867 JavaClass loadClass (String className ) throws ClassNotFoundException ;
5968
6069 /**
61- * Removes class from repository
70+ * Removes class from repository.
71+ *
72+ * @param clazz the class to remove.
6273 */
6374 void removeClass (JavaClass clazz );
6475
6576 /**
66- * Stores the provided class under "clazz.getClassName()"
77+ * Stores the provided class under "clazz.getClassName()".
78+ *
79+ * @param clazz the class to store.
6780 */
6881 void storeClass (JavaClass clazz );
6982}
0 commit comments