Retrieve the main class of the debuggee VM. @return the main classes ReferenceType or null if the debugger is not started.
()
| 119 | * or null if the debugger is not started. |
| 120 | */ |
| 121 | public ReferenceType getMainClass() { |
| 122 | if (isStarted()) { |
| 123 | return mainClass; |
| 124 | } |
| 125 | return null; |
| 126 | } |
| 127 | |
| 128 | |
| 129 | /** |