mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-28 11:50:49 +00:00
final fields
This commit is contained in:
@@ -37,7 +37,7 @@ public enum ExportMode {
|
||||
}
|
||||
}
|
||||
|
||||
private int code;
|
||||
private final int code;
|
||||
|
||||
private ExportMode(int code) {
|
||||
this.code = code;
|
||||
|
||||
@@ -55,7 +55,7 @@ public class Graph {
|
||||
|
||||
public List<GraphPart> heads;
|
||||
protected GraphSource code;
|
||||
private List<Integer> alternateEntries;
|
||||
private final List<Integer> alternateEntries;
|
||||
public static final int SOP_USE_STATIC = 0;
|
||||
public static final int SOP_SKIP_STATIC = 1;
|
||||
public static final int SOP_REMOVE_STATIC = 2;
|
||||
|
||||
@@ -26,8 +26,8 @@ import java.util.List;
|
||||
*/
|
||||
public class GraphPath implements Serializable {
|
||||
|
||||
private List<Integer> keys = new ArrayList<>();
|
||||
private List<Integer> vals = new ArrayList<>();
|
||||
private final List<Integer> keys = new ArrayList<>();
|
||||
private final List<Integer> vals = new ArrayList<>();
|
||||
public String rootName = "";
|
||||
|
||||
public GraphPath(String rootName, List<Integer> keys, List<Integer> vals) {
|
||||
|
||||
@@ -26,7 +26,7 @@ import com.jpexs.decompiler.graph.model.LocalData;
|
||||
*/
|
||||
public class MarkItem extends GraphTargetItem {
|
||||
|
||||
private String mark;
|
||||
private final String mark;
|
||||
|
||||
public MarkItem(String mark) {
|
||||
super(null, NOPRECEDENCE);
|
||||
|
||||
@@ -25,7 +25,7 @@ import com.jpexs.decompiler.graph.GraphTargetItem;
|
||||
*/
|
||||
public class CommentItem extends GraphTargetItem {
|
||||
|
||||
private String[] commentLines;
|
||||
private final String[] commentLines;
|
||||
|
||||
public CommentItem(String comment) {
|
||||
super(null, NOPRECEDENCE);
|
||||
|
||||
@@ -27,7 +27,7 @@ import java.util.Set;
|
||||
*/
|
||||
public class IntegerValueItem extends GraphTargetItem {
|
||||
|
||||
private int intValue;
|
||||
private final int intValue;
|
||||
|
||||
public IntegerValueItem(GraphSourceItem src, int value) {
|
||||
super(src, PRECEDENCE_PRIMARY);
|
||||
|
||||
Reference in New Issue
Block a user