Added: #2477 Option to disable AS2 detection of uninitialized class fields

Added: AS2 detection of uninitialized class fields is cancellable and shows progress
Changed: Icon of "Deobfuscation options" menu from pile of pills to medkit
Fixed: Comments color highlighting
This commit is contained in:
Jindra Petřík
2025-07-01 19:45:04 +02:00
parent 8a3cbf9e2d
commit 5ffc71848b
22 changed files with 225 additions and 37 deletions

View File

@@ -66,6 +66,8 @@ public abstract class CancellableWorker<T> implements RunnableFuture<T> {
private CancellableWorker parentWorker;
private boolean canceled = false;
private boolean userCancelled = false;
private List<Runnable> cancelListeners = new ArrayList<>();
@@ -188,6 +190,15 @@ public abstract class CancellableWorker<T> implements RunnableFuture<T> {
THREAD_POOL.execute(this);
}
public final boolean userCancel(boolean mayIterruptIfRunning) {
userCancelled = true;
return cancel(mayIterruptIfRunning);
}
public boolean isUserCancelled() {
return userCancelled;
}
@Override
public final boolean cancel(boolean mayInterruptIfRunning) {
canceled = true;