format java code

This commit is contained in:
honfika@gmail.com
2016-01-15 14:37:34 +01:00
parent 8162aa6c3e
commit 8cb067bfda
37 changed files with 6480 additions and 5825 deletions

View File

@@ -735,5 +735,4 @@ public class AVM2Graph extends Graph {
protected List<GraphTargetItem> filter(List<GraphTargetItem> list) {
return avm2code.clearTemporaryRegisters(list);
}
}

View File

@@ -4,7 +4,6 @@ import com.jpexs.decompiler.flash.SourceGeneratorLocalData;
import com.jpexs.decompiler.flash.abc.ABC;
import com.jpexs.decompiler.flash.abc.avm2.AVM2ConstantPool;
import com.jpexs.decompiler.flash.abc.avm2.instructions.AVM2Instructions;
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.GetLexIns;
import com.jpexs.decompiler.flash.abc.avm2.parser.script.AVM2SourceGenerator;
import com.jpexs.decompiler.flash.abc.types.Namespace;
import com.jpexs.decompiler.flash.configuration.Configuration;
@@ -25,6 +24,7 @@ import java.util.List;
public class RegExpAvm2Item extends AVM2Item {
public String pattern;
public String modifier;
public RegExpAvm2Item(String pattern, String modifier, GraphSourceItem instruction, GraphSourceItem lineStartIns) {
@@ -101,5 +101,4 @@ public class RegExpAvm2Item extends AVM2Item {
ins(AVM2Instructions.Construct, hasModifier ? 2 : 1)
);
}
}

View File

@@ -1,22 +1,23 @@
/*
* Copyright (C) 2010-2016 JPEXS, All rights reserved.
*
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3.0 of the License, or (at your option) any later version.
*
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library.
*/
package com.jpexs.decompiler.flash.abc.avm2.model;
import com.jpexs.decompiler.graph.GraphTargetItem;
/**
*
* @author JPEXS

View File

@@ -45,6 +45,7 @@ public class CallAVM2Item extends AVM2Item {
public List<GraphTargetItem> arguments;
public int line;
public List<NamespaceItem> openedNamespaces;
public CallAVM2Item(List<NamespaceItem> openedNamespaces, int line, GraphTargetItem name, List<GraphTargetItem> arguments) {

View File

@@ -34,7 +34,9 @@ import java.util.Objects;
public class NamespaceItem {
public DottedChain name;
public int kind;
private int nsIndex = -1;
public void forceResolve(AbcIndexing abcIndex) {
@@ -148,5 +150,4 @@ public class NamespaceItem {
return abcIndex.getSelectedAbc().constants.getNamespaceSetId(nssa, true);
}
}