API Update

This commit is contained in:
Konloch 2024-09-29 19:39:08 -06:00
parent 91707fc67a
commit c53d4e997b

AI 샘플 코드 생성 중입니다

Loading...

View File

@ -354,13 +354,21 @@ public class BytecodeViewer
}
/**
* Returns the currently opened & viewed resource
* Returns the last opened resource class
*/
public static ResourceViewer getActiveClass()
{
return BytecodeViewer.viewer.workPane.getLastActiveClass();
}
/**
* Returns true if the active class is not null
*/
public static boolean isActiveClassActive()
{
return getActiveClass() != null;
}
/**
* Returns the ClassNode by the specified name
* <p>