mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-12 04:14:50 +00:00
make fields final where possible
This commit is contained in:
@@ -29,6 +29,7 @@ import com.jpexs.decompiler.flash.abc.types.Float4;
|
||||
import com.jpexs.decompiler.flash.abc.types.MethodBody;
|
||||
import com.jpexs.decompiler.flash.abc.types.traits.Trait;
|
||||
import com.jpexs.decompiler.flash.configuration.Configuration;
|
||||
import com.jpexs.decompiler.flash.docs.As3PCodeDocs;
|
||||
import com.jpexs.decompiler.flash.exporters.modes.ScriptExportMode;
|
||||
import com.jpexs.decompiler.flash.gui.GraphDialog;
|
||||
import com.jpexs.decompiler.flash.gui.View;
|
||||
@@ -37,7 +38,6 @@ import com.jpexs.decompiler.flash.helpers.HighlightedText;
|
||||
import com.jpexs.decompiler.flash.helpers.HighlightedTextWriter;
|
||||
import com.jpexs.decompiler.flash.helpers.hilight.HighlightSpecialType;
|
||||
import com.jpexs.decompiler.flash.helpers.hilight.Highlighting;
|
||||
import com.jpexs.decompiler.flash.docs.As3PCodeDocs;
|
||||
import com.jpexs.decompiler.flash.tags.ABCContainerTag;
|
||||
import com.jpexs.decompiler.flash.tags.Tag;
|
||||
import com.jpexs.decompiler.graph.ScopeStack;
|
||||
@@ -75,7 +75,7 @@ public class ASMSourceEditorPane extends DebuggableEditorPane implements CaretLi
|
||||
|
||||
private List<Highlighting> specialHilights = new ArrayList<>();
|
||||
|
||||
private List<DocsListener> docsListeners = new ArrayList<>();
|
||||
private final List<DocsListener> docsListeners = new ArrayList<>();
|
||||
|
||||
private final DecompiledEditorPane decompiledEditor;
|
||||
|
||||
@@ -95,7 +95,7 @@ public class ASMSourceEditorPane extends DebuggableEditorPane implements CaretLi
|
||||
|
||||
private int firstInstrLine = -1;
|
||||
|
||||
private Map<String, InstructionDefinition> insNameToDef = new HashMap<>();
|
||||
private final Map<String, InstructionDefinition> insNameToDef = new HashMap<>();
|
||||
|
||||
public void addDocsListener(DocsListener l) {
|
||||
docsListeners.add(l);
|
||||
|
||||
Reference in New Issue
Block a user