Documentation Update

This commit is contained in:
Konloch 2022-02-13 13:34:11 -06:00
parent 48804b5e04
commit 5ce26b1ba4

View file

@ -42,9 +42,8 @@ import static the.bytecode.club.bytecodeviewer.Constants.tempDirectory;
***************************************************************************/ ***************************************************************************/
/** /**
* The official API for BCV, this was designed for plugin authors and developers utilizing EZ-Injection. * An easier to use version of the BCV API, this is designed for anyone who wants to extend BCV, in any shape
* * or form. One way of doing that is through the plugin system.
* The BCV Class is meant to to help aid in dynamic analysis and plugin utility.
* *
* @author Konloch * @author Konloch
*/ */
@ -98,6 +97,11 @@ public class BCV
return null; return null;
} }
/**
* This shotgun approach will class-load all the classes that have been imported into BCV.
*
* @return A list with the Class objects of the successfully loaded classes.
*/
public static List<Class<?>> loadClassesIntoClassLoader() public static List<Class<?>> loadClassesIntoClassLoader()
{ {
try try
@ -239,6 +243,12 @@ public class BCV
return DialogUtils.canOverwriteFile(file); return DialogUtils.canOverwriteFile(file);
} }
/**
* This function will hide a JFrame after a given amount of time.
*
* @param frame Any JFrame object
* @param milliseconds The amount of time until it will be hidden represented in milliseconds
*/
public static void hideFrame(JFrame frame, long milliseconds) public static void hideFrame(JFrame frame, long milliseconds)
{ {
new Thread(()->{ new Thread(()->{