API Update
This commit is contained in:
parent
91707fc67a
commit
c53d4e997b
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue
Block a user