mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-27 13:01:01 +00:00
Fix missing javadoc parameters, throw tags,...
This commit is contained in:
@@ -770,7 +770,7 @@ public class ABC implements Openable {
|
||||
*
|
||||
* @param minMajor Minimum major version
|
||||
* @param minMinor Minimum minor version
|
||||
* @return
|
||||
* @return Whether the ABC has minimum version
|
||||
*/
|
||||
private boolean minVersionCheck(int minMajor, int minMinor) {
|
||||
return version.compareTo(new ABCVersion(minMajor, minMinor)) >= 0;
|
||||
|
||||
@@ -252,7 +252,7 @@ public class ScriptPack extends AS3ClassTreeItem {
|
||||
* @param convertData Convert data
|
||||
* @param exportMode Export mode
|
||||
* @param parallel Parallel
|
||||
* @throws InterruptedException
|
||||
* @throws InterruptedException On interrupt
|
||||
*/
|
||||
public void convert(AbcIndexing abcIndex, final NulWriter writer, final List<Trait> traits, final ConvertData convertData, final ScriptExportMode exportMode, final boolean parallel) throws InterruptedException {
|
||||
|
||||
@@ -296,7 +296,7 @@ public class ScriptPack extends AS3ClassTreeItem {
|
||||
* @param convertData Convert data
|
||||
* @param exportMode Export mode
|
||||
* @param parallel Parallel
|
||||
* @throws InterruptedException
|
||||
* @throws InterruptedException On interrupt
|
||||
*/
|
||||
private void appendTo(AbcIndexing abcIndex, GraphTextWriter writer, List<Trait> traits, ConvertData convertData, ScriptExportMode exportMode, boolean parallel) throws InterruptedException {
|
||||
boolean first = true;
|
||||
@@ -369,7 +369,7 @@ public class ScriptPack extends AS3ClassTreeItem {
|
||||
* @param exportMode Export mode
|
||||
* @param parallel Parallel
|
||||
* @param ignoreFrameScripts Whether to ignore frame scripts
|
||||
* @throws InterruptedException
|
||||
* @throws InterruptedException On interrupt
|
||||
*/
|
||||
public void toSource(AbcIndexing abcIndex, GraphTextWriter writer, final List<Trait> traits, final ConvertData convertData, final ScriptExportMode exportMode, final boolean parallel, boolean ignoreFrameScripts) throws InterruptedException {
|
||||
writer.suspendMeasure();
|
||||
@@ -420,8 +420,8 @@ public class ScriptPack extends AS3ClassTreeItem {
|
||||
* @param exportSettings Export settings
|
||||
* @param parallel Parallel
|
||||
* @return File
|
||||
* @throws IOException
|
||||
* @throws InterruptedException
|
||||
* @throws IOException On I/O error
|
||||
* @throws InterruptedException On interrupt
|
||||
*/
|
||||
public File export(AbcIndexing abcIndex, File file, ScriptExportSettings exportSettings, boolean parallel) throws IOException, InterruptedException {
|
||||
if (!exportSettings.singleFile) {
|
||||
|
||||
@@ -3088,7 +3088,7 @@ public class AVM2Code implements Cloneable {
|
||||
* @param scope Scope
|
||||
* @param abc ABC
|
||||
* @param autoFill Auto fill
|
||||
* @return
|
||||
* @return True if success
|
||||
*/
|
||||
private boolean walkCode(CodeStats stats, int pos, int stack, int scope, ABC abc, boolean autoFill) {
|
||||
while (pos < code.size()) {
|
||||
|
||||
@@ -77,7 +77,7 @@ public class NumberContext {
|
||||
/**
|
||||
* Sets the usage of the number.
|
||||
*
|
||||
* @param usage
|
||||
* @param usage Usage
|
||||
*/
|
||||
public void setUsage(int usage) {
|
||||
if (usage > 6 || usage < 0) {
|
||||
|
||||
+1
-1
@@ -34,7 +34,7 @@ public enum DeobfuscationLevel {
|
||||
/**
|
||||
* Get level of deobfuscation as number
|
||||
*
|
||||
* @return
|
||||
* @return Level of deobfuscation as number
|
||||
*/
|
||||
public int getLevel() {
|
||||
return level;
|
||||
|
||||
@@ -83,7 +83,7 @@ public class FastAVM2List implements Collection<AVM2InstructionItem> {
|
||||
*
|
||||
* @param item Item to insert before
|
||||
* @param action Action to insert
|
||||
* @return
|
||||
* @return New item
|
||||
*/
|
||||
public final AVM2InstructionItem insertItemBefore(AVM2InstructionItem item, AVM2Instruction action) {
|
||||
AVM2InstructionItem newItem = new AVM2InstructionItem(action);
|
||||
@@ -111,7 +111,7 @@ public class FastAVM2List implements Collection<AVM2InstructionItem> {
|
||||
*
|
||||
* @param item Item to insert after
|
||||
* @param action Action to insert
|
||||
* @return
|
||||
* @return New item
|
||||
*/
|
||||
public final AVM2InstructionItem insertItemAfter(AVM2InstructionItem item, AVM2Instruction action) {
|
||||
AVM2InstructionItem newItem = new AVM2InstructionItem(action);
|
||||
@@ -240,7 +240,7 @@ public class FastAVM2List implements Collection<AVM2InstructionItem> {
|
||||
* @param instructions Instructions
|
||||
* @param address Address
|
||||
* @param next Next
|
||||
* @return
|
||||
* @return Nearby address
|
||||
*/
|
||||
private long getNearAddress(List<AVM2Instruction> instructions, long address, boolean next) {
|
||||
int min = 0;
|
||||
@@ -451,7 +451,7 @@ public class FastAVM2List implements Collection<AVM2InstructionItem> {
|
||||
*
|
||||
* @param jump Jump
|
||||
* @param jumpTarget Jump target
|
||||
* @return
|
||||
* @return Unreachable action count
|
||||
*/
|
||||
public int getUnreachableActionCount(AVM2InstructionItem jump, AVM2InstructionItem jumpTarget) {
|
||||
AVM2InstructionItem item = firstItem;
|
||||
@@ -703,7 +703,7 @@ public class FastAVM2List implements Collection<AVM2InstructionItem> {
|
||||
* @param a the array into which the elements of this collection are to be
|
||||
* stored, if it is big enough; otherwise, a new array of the same runtime
|
||||
* type is allocated for this purpose.
|
||||
* @param <T>
|
||||
* @param <T> Type
|
||||
* @return Array
|
||||
*/
|
||||
@Override
|
||||
|
||||
@@ -867,8 +867,8 @@ public class AVM2Graph extends Graph {
|
||||
/**
|
||||
* Gets real references. Real = start >= 0
|
||||
*
|
||||
* @param part
|
||||
* @return
|
||||
* @param part Part
|
||||
* @return List of graph parts
|
||||
*/
|
||||
private List<GraphPart> getRealRefs(GraphPart part) {
|
||||
List<GraphPart> ret = new ArrayList<>();
|
||||
|
||||
+2
-2
@@ -43,7 +43,7 @@ public class UnknownInstruction extends InstructionDefinition {
|
||||
* @param lda Local data area
|
||||
* @param constants Constant pool
|
||||
* @param ins Instruction
|
||||
* @throws AVM2VerifyErrorException
|
||||
* @throws AVM2VerifyErrorException On verify error
|
||||
*/
|
||||
@Override
|
||||
public void verify(LocalDataArea lda, AVM2ConstantPool constants, AVM2Instruction ins) throws AVM2VerifyErrorException {
|
||||
@@ -57,7 +57,7 @@ public class UnknownInstruction extends InstructionDefinition {
|
||||
* @param constants Constant pool
|
||||
* @param ins Instruction
|
||||
* @return True if instruction was executed, false if not
|
||||
* @throws AVM2ExecutionException
|
||||
* @throws AVM2ExecutionException On execution error
|
||||
*/
|
||||
@Override
|
||||
public boolean execute(LocalDataArea lda, AVM2ConstantPool constants, AVM2Instruction ins) throws AVM2ExecutionException {
|
||||
|
||||
@@ -160,7 +160,7 @@ public class SetSlotAVM2Item extends AVM2Item implements SetTypeAVM2Item, Assign
|
||||
* @param writer Writer
|
||||
* @param localData Local data
|
||||
* @return Writer
|
||||
* @throws InterruptedException
|
||||
* @throws InterruptedException On interrupt
|
||||
*/
|
||||
public GraphTextWriter getName(GraphTextWriter writer, LocalData localData) throws InterruptedException {
|
||||
return writer.append(getNameAsStr(localData));
|
||||
|
||||
+1
-1
@@ -1993,7 +1993,7 @@ public class ActionScript3Parser {
|
||||
* Lexer can return XML opentags instead of greater. In expression, we need
|
||||
* greater sign only
|
||||
*
|
||||
* @param symb
|
||||
* @param symb Symbol to fix
|
||||
*/
|
||||
private void xmlToLowerThanFix(ParsedSymbol symb) {
|
||||
if (symb.isType(SymbolType.XML_STARTVARTAG_BEGIN, SymbolType.XML_STARTTAG_BEGIN)) {
|
||||
|
||||
@@ -271,7 +271,7 @@ public final class MethodBody implements Cloneable {
|
||||
* @param trait Trait
|
||||
* @param info Method info
|
||||
* @return Number of removed instructions
|
||||
* @throws InterruptedException
|
||||
* @throws InterruptedException On interrupt
|
||||
*/
|
||||
public int removeDeadCode(AVM2ConstantPool constants, Trait trait, MethodInfo info) throws InterruptedException {
|
||||
return getCode().removeDeadCode(this);
|
||||
@@ -287,7 +287,7 @@ public final class MethodBody implements Cloneable {
|
||||
* @param isStatic Is static
|
||||
* @param path Path
|
||||
* @return Number of removed instructions
|
||||
* @throws InterruptedException
|
||||
* @throws InterruptedException On interrupt
|
||||
*/
|
||||
public int removeTraps(ABC abc, Trait trait, int scriptIndex, int classIndex, boolean isStatic, String path) throws InterruptedException {
|
||||
|
||||
@@ -303,7 +303,7 @@ public final class MethodBody implements Cloneable {
|
||||
* @param classIndex Class index
|
||||
* @param isStatic Is static
|
||||
* @param path Path
|
||||
* @throws InterruptedException
|
||||
* @throws InterruptedException On interrupt
|
||||
*/
|
||||
public void deobfuscate(DeobfuscationLevel level, Trait trait, int scriptIndex, int classIndex, boolean isStatic, String path) throws InterruptedException {
|
||||
if (level == DeobfuscationLevel.LEVEL_REMOVE_DEAD_CODE) {
|
||||
@@ -329,8 +329,8 @@ public final class MethodBody implements Cloneable {
|
||||
* newinstruction is jump, the offset operand must be handled properly by
|
||||
* caller.
|
||||
*
|
||||
* @param pos
|
||||
* @param instruction
|
||||
* @param pos Position
|
||||
* @param instruction Instruction
|
||||
*/
|
||||
public void replaceInstruction(int pos, AVM2Instruction instruction) {
|
||||
getCode().replaceInstruction(pos, instruction, this);
|
||||
@@ -446,7 +446,7 @@ public final class MethodBody implements Cloneable {
|
||||
* @param initTraits Initial traits
|
||||
* @param firstLevel First level
|
||||
* @param seenMethods Seen methods
|
||||
* @throws InterruptedException
|
||||
* @throws InterruptedException On interrupt
|
||||
*/
|
||||
public void convert(List<MethodBody> callStack, AbcIndexing abcIndex, final ConvertData convertData, final String path, ScriptExportMode exportMode, final boolean isStatic, final int methodIndex, final int scriptIndex, final int classIndex, final ABC abc, final Trait trait, final ScopeStack scopeStack, final int initializerType, final NulWriter writer, final List<DottedChain> fullyQualifiedNames, Traits initTraits, boolean firstLevel, Set<Integer> seenMethods) throws InterruptedException {
|
||||
seenMethods.add(this.method_info);
|
||||
@@ -532,7 +532,7 @@ public final class MethodBody implements Cloneable {
|
||||
* @param fullyQualifiedNames Fully qualified names
|
||||
* @param seenMethods Seen methods
|
||||
* @return Writer
|
||||
* @throws InterruptedException
|
||||
* @throws InterruptedException On interrupt
|
||||
*/
|
||||
public GraphTextWriter toString(List<MethodBody> callStack, AbcIndexing abcIndex, final String path, ScriptExportMode exportMode, final ABC abc, final Trait trait, final GraphTextWriter writer, final List<DottedChain> fullyQualifiedNames, Set<Integer> seenMethods) throws InterruptedException {
|
||||
seenMethods.add(method_info);
|
||||
@@ -590,7 +590,7 @@ public final class MethodBody implements Cloneable {
|
||||
* @param abc ABC file
|
||||
* @param trait Trait
|
||||
* @return Method body
|
||||
* @throws InterruptedException
|
||||
* @throws InterruptedException On interrupt
|
||||
*/
|
||||
public MethodBody convertMethodBodyCanUseLast(boolean deobfuscate, String path, boolean isStatic, int scriptIndex, int classIndex, ABC abc, Trait trait) throws InterruptedException {
|
||||
if (lastConvertedBody != null) {
|
||||
@@ -617,7 +617,7 @@ public final class MethodBody implements Cloneable {
|
||||
* @param abc ABC file
|
||||
* @param trait Trait
|
||||
* @return Method body
|
||||
* @throws InterruptedException
|
||||
* @throws InterruptedException On interrupt
|
||||
*/
|
||||
public MethodBody convertMethodBody(boolean deobfuscate, String path, boolean isStatic, int scriptIndex, int classIndex, ABC abc, Trait trait) throws InterruptedException {
|
||||
MethodBody body = clone();
|
||||
|
||||
@@ -970,8 +970,8 @@ public class Multiname {
|
||||
* Checks if this multiname is effectively a QName. Efectively means that it
|
||||
* is a QName or QNameA or MULTINAME with only one namespace.
|
||||
*
|
||||
* @param thisCpool
|
||||
* @return
|
||||
* @param thisCpool This constant pool
|
||||
* @return True if it's effectively a QName
|
||||
*/
|
||||
private boolean isEfectivelyQname(AVM2ConstantPool thisCpool) {
|
||||
return kind == QNAME || kind == QNAMEA || isMULTINAMEwithOneNs(thisCpool);
|
||||
|
||||
@@ -276,7 +276,7 @@ public abstract class Trait implements Cloneable, Serializable {
|
||||
* @param ignorePackage Ignore package
|
||||
* @param fullyQualifiedNames Fully qualified names
|
||||
* @param uses Uses
|
||||
* @throws InterruptedException
|
||||
* @throws InterruptedException On interrupt
|
||||
*/
|
||||
public void getDependencies(AbcIndexing abcIndex, int scriptIndex, int classIndex, boolean isStatic, String customNamespace, ABC abc, List<Dependency> dependencies, DottedChain ignorePackage, List<DottedChain> fullyQualifiedNames, List<String> uses) throws InterruptedException {
|
||||
if (customNamespace == null) {
|
||||
@@ -361,7 +361,7 @@ public abstract class Trait implements Cloneable, Serializable {
|
||||
* @param writer Writer
|
||||
* @param ignorePackage Ignore package
|
||||
* @param fullyQualifiedNames Fully qualified names
|
||||
* @throws InterruptedException
|
||||
* @throws InterruptedException On interrupt
|
||||
*/
|
||||
public void writeImports(AbcIndexing abcIndex, int scriptIndex, int classIndex, boolean isStatic, ABC abc, GraphTextWriter writer, DottedChain ignorePackage, List<DottedChain> fullyQualifiedNames) throws InterruptedException {
|
||||
|
||||
@@ -680,7 +680,7 @@ public abstract class Trait implements Cloneable, Serializable {
|
||||
* @param parallel Parallel
|
||||
* @param insideInterface Inside interface
|
||||
* @return Writer
|
||||
* @throws InterruptedException
|
||||
* @throws InterruptedException On interrupt
|
||||
*/
|
||||
public GraphTextWriter toString(AbcIndexing abcIndex, Trait parent, ConvertData convertData, String path, ABC abc, boolean isStatic, ScriptExportMode exportMode, int scriptIndex, int classIndex, GraphTextWriter writer, List<DottedChain> fullyQualifiedNames, boolean parallel, boolean insideInterface) throws InterruptedException {
|
||||
writer.appendNoHilight(abc.constants.getMultiname(name_index).toString(abc.constants, fullyQualifiedNames) + " kind=" + kindType + " metadata=" + Helper.intArrToString(metadata));
|
||||
@@ -703,7 +703,7 @@ public abstract class Trait implements Cloneable, Serializable {
|
||||
* @param fullyQualifiedNames Fully qualified names
|
||||
* @param parallel Parallel
|
||||
* @param scopeStack Scope stack
|
||||
* @throws InterruptedException
|
||||
* @throws InterruptedException On interrupt
|
||||
*/
|
||||
public void convert(AbcIndexing abcIndex, Trait parent, ConvertData convertData, String path, ABC abc, boolean isStatic, ScriptExportMode exportMode, int scriptIndex, int classIndex, NulWriter writer, List<DottedChain> fullyQualifiedNames, boolean parallel, ScopeStack scopeStack) throws InterruptedException {
|
||||
}
|
||||
@@ -816,7 +816,7 @@ public abstract class Trait implements Cloneable, Serializable {
|
||||
* @param parallel Parallel
|
||||
* @param insideInterface Inside interface
|
||||
* @return Writer
|
||||
* @throws InterruptedException
|
||||
* @throws InterruptedException On interrupt
|
||||
*/
|
||||
public GraphTextWriter toStringPackaged(AbcIndexing abcIndex, Trait parent, ConvertData convertData, String path, ABC abc, boolean isStatic, ScriptExportMode exportMode, int scriptIndex, int classIndex, GraphTextWriter writer, List<DottedChain> fullyQualifiedNames, boolean parallel, boolean insideInterface) throws InterruptedException {
|
||||
Multiname name = abc.constants.getMultiname(name_index);
|
||||
@@ -851,7 +851,7 @@ public abstract class Trait implements Cloneable, Serializable {
|
||||
* @param fullyQualifiedNames Fully qualified names
|
||||
* @param parallel Parallel
|
||||
* @param scopeStack Scope stack
|
||||
* @throws InterruptedException
|
||||
* @throws InterruptedException On interrupt
|
||||
*/
|
||||
public void convertPackaged(AbcIndexing abcIndex, Trait parent, ConvertData convertData, String path, ABC abc, boolean isStatic, ScriptExportMode exportMode, int scriptIndex, int classIndex, NulWriter writer, List<DottedChain> fullyQualifiedNames, boolean parallel, ScopeStack scopeStack) throws InterruptedException {
|
||||
Multiname name = abc.constants.getMultiname(name_index);
|
||||
@@ -878,7 +878,7 @@ public abstract class Trait implements Cloneable, Serializable {
|
||||
* @param parallel Parallel
|
||||
* @param insideInterface Inside interface
|
||||
* @return Writer
|
||||
* @throws InterruptedException
|
||||
* @throws InterruptedException On interrupt
|
||||
*/
|
||||
public GraphTextWriter toStringHeader(Trait parent, ConvertData convertData, String path, ABC abc, boolean isStatic, ScriptExportMode exportMode, int scriptIndex, int classIndex, GraphTextWriter writer, List<DottedChain> fullyQualifiedNames, boolean parallel, boolean insideInterface) throws InterruptedException {
|
||||
toString(null, parent, convertData, path, abc, isStatic, exportMode, scriptIndex, classIndex, writer, fullyQualifiedNames, parallel, insideInterface);
|
||||
@@ -899,7 +899,7 @@ public abstract class Trait implements Cloneable, Serializable {
|
||||
* @param writer Writer
|
||||
* @param fullyQualifiedNames Fully qualified names
|
||||
* @param parallel Parallel
|
||||
* @throws InterruptedException
|
||||
* @throws InterruptedException On interrupt
|
||||
*/
|
||||
public void convertHeader(Trait parent, ConvertData convertData, String path, ABC abc, boolean isStatic, ScriptExportMode exportMode, int scriptIndex, int classIndex, NulWriter writer, List<DottedChain> fullyQualifiedNames, boolean parallel) throws InterruptedException {
|
||||
convert(null, parent, convertData, path, abc, isStatic, exportMode, scriptIndex, classIndex, writer, fullyQualifiedNames, parallel, new ScopeStack());
|
||||
@@ -928,7 +928,7 @@ public abstract class Trait implements Cloneable, Serializable {
|
||||
* @param abc ABC
|
||||
* @param path Path
|
||||
* @return Number of removed traps
|
||||
* @throws InterruptedException
|
||||
* @throws InterruptedException On interrupt
|
||||
*/
|
||||
public abstract int removeTraps(int scriptIndex, int classIndex, boolean isStatic, ABC abc, String path) throws InterruptedException;
|
||||
|
||||
|
||||
@@ -115,7 +115,7 @@ public class TraitClass extends Trait implements TraitWithSlot {
|
||||
* @param ignorePackage Ignore package
|
||||
* @param fullyQualifiedNames Fully qualified names
|
||||
* @param uses Uses
|
||||
* @throws InterruptedException
|
||||
* @throws InterruptedException On interrupt
|
||||
*/
|
||||
@Override
|
||||
public void getDependencies(AbcIndexing abcIndex, int scriptIndex, int classIndex, boolean isStatic, String customNamespace, ABC abc, List<Dependency> dependencies, DottedChain ignorePackage, List<DottedChain> fullyQualifiedNames, List<String> uses) throws InterruptedException {
|
||||
@@ -216,7 +216,7 @@ public class TraitClass extends Trait implements TraitWithSlot {
|
||||
* @param parallel Parallel
|
||||
* @param insideInterface Inside interface
|
||||
* @return Writer
|
||||
* @throws InterruptedException
|
||||
* @throws InterruptedException On interrupt
|
||||
*/
|
||||
@Override
|
||||
public GraphTextWriter toString(AbcIndexing abcIndex, Trait parent, ConvertData convertData, String path, ABC abc, boolean isStatic, ScriptExportMode exportMode, int scriptIndex, int classIndex, GraphTextWriter writer, List<DottedChain> fullyQualifiedNames, boolean parallel, boolean insideInterface) throws InterruptedException {
|
||||
@@ -363,7 +363,7 @@ public class TraitClass extends Trait implements TraitWithSlot {
|
||||
* @param fullyQualifiedNames Fully qualified names
|
||||
* @param parallel Parallel
|
||||
* @param scopeStack Scope stack
|
||||
* @throws InterruptedException
|
||||
* @throws InterruptedException On interrupt
|
||||
*/
|
||||
@Override
|
||||
public void convert(AbcIndexing abcIndex, Trait parent, ConvertData convertData, String path, ABC abc, boolean isStatic, ScriptExportMode exportMode, int scriptIndex, int classIndex, NulWriter writer, List<DottedChain> fullyQualifiedNames, boolean parallel, ScopeStack scopeStack) throws InterruptedException {
|
||||
@@ -490,7 +490,7 @@ public class TraitClass extends Trait implements TraitWithSlot {
|
||||
* @param abc ABC
|
||||
* @param path Path
|
||||
* @return Number of removed traps
|
||||
* @throws InterruptedException
|
||||
* @throws InterruptedException On interrupt
|
||||
*/
|
||||
@Override
|
||||
public int removeTraps(int scriptIndex, int classIndex, boolean isStatic, ABC abc, String path) throws InterruptedException {
|
||||
|
||||
@@ -68,7 +68,7 @@ public class TraitFunction extends Trait implements TraitWithSlot {
|
||||
/**
|
||||
* Gets slot index.
|
||||
*
|
||||
* @return
|
||||
* @return Slot index
|
||||
*/
|
||||
@Override
|
||||
public int getSlotIndex() {
|
||||
@@ -156,7 +156,7 @@ public class TraitFunction extends Trait implements TraitWithSlot {
|
||||
* @param parallel Parallel
|
||||
* @param insideInterface Inside interface
|
||||
* @return Writer
|
||||
* @throws InterruptedException
|
||||
* @throws InterruptedException On interrupt
|
||||
*/
|
||||
@Override
|
||||
public GraphTextWriter toString(AbcIndexing abcIndex, Trait parent, ConvertData convertData, String path, ABC abc, boolean isStatic, ScriptExportMode exportMode, int scriptIndex, int classIndex, GraphTextWriter writer, List<DottedChain> fullyQualifiedNames, boolean parallel, boolean insideInterface) throws InterruptedException {
|
||||
@@ -196,7 +196,7 @@ public class TraitFunction extends Trait implements TraitWithSlot {
|
||||
* @param fullyQualifiedNames Fully qualified names
|
||||
* @param parallel Parallel
|
||||
* @param scopeStack Scope stack
|
||||
* @throws InterruptedException
|
||||
* @throws InterruptedException On interrupt
|
||||
*/
|
||||
@Override
|
||||
public void convert(AbcIndexing abcIndex, Trait parent, ConvertData convertData, String path, ABC abc, boolean isStatic, ScriptExportMode exportMode, int scriptIndex, int classIndex, NulWriter writer, List<DottedChain> fullyQualifiedNames, boolean parallel, ScopeStack scopeStack) throws InterruptedException {
|
||||
@@ -222,7 +222,7 @@ public class TraitFunction extends Trait implements TraitWithSlot {
|
||||
* @param abc ABC
|
||||
* @param path Path
|
||||
* @return Number of removed traps
|
||||
* @throws InterruptedException
|
||||
* @throws InterruptedException On interrupt
|
||||
*/
|
||||
@Override
|
||||
public int removeTraps(int scriptIndex, int classIndex, boolean isStatic, ABC abc, String path) throws InterruptedException {
|
||||
@@ -257,7 +257,7 @@ public class TraitFunction extends Trait implements TraitWithSlot {
|
||||
* @param ignorePackage Ignore package
|
||||
* @param fullyQualifiedNames Fully qualified names
|
||||
* @param uses Uses
|
||||
* @throws InterruptedException
|
||||
* @throws InterruptedException On interrupt
|
||||
*/
|
||||
@Override
|
||||
public void getDependencies(AbcIndexing abcIndex, int scriptIndex, int classIndex, boolean isStatic, String customNamespace, ABC abc, List<Dependency> dependencies, DottedChain ignorePackage, List<DottedChain> fullyQualifiedNames, List<String> uses) throws InterruptedException {
|
||||
|
||||
+4
-4
@@ -101,7 +101,7 @@ public class TraitMethodGetterSetter extends Trait {
|
||||
* @param ignorePackage Ignore package
|
||||
* @param fullyQualifiedNames Fully qualified names
|
||||
* @param uses Uses
|
||||
* @throws InterruptedException
|
||||
* @throws InterruptedException On interrupt
|
||||
*/
|
||||
@Override
|
||||
public void getDependencies(AbcIndexing abcIndex, int scriptIndex, int classIndex, boolean isStatic, String customNamespace, ABC abc, List<Dependency> dependencies, DottedChain ignorePackage, List<DottedChain> fullyQualifiedNames, List<String> uses) throws InterruptedException {
|
||||
@@ -179,7 +179,7 @@ public class TraitMethodGetterSetter extends Trait {
|
||||
* @param fullyQualifiedNames Fully qualified names
|
||||
* @param parallel Parallel
|
||||
* @param scopeStack Scope stack
|
||||
* @throws InterruptedException
|
||||
* @throws InterruptedException On interrupt
|
||||
*/
|
||||
@Override
|
||||
public void convert(AbcIndexing abcIndex, Trait parent, ConvertData convertData, String path, ABC abc, boolean isStatic, ScriptExportMode exportMode, int scriptIndex, int classIndex, NulWriter writer, List<DottedChain> fullyQualifiedNames, boolean parallel, ScopeStack scopeStack) throws InterruptedException {
|
||||
@@ -231,7 +231,7 @@ public class TraitMethodGetterSetter extends Trait {
|
||||
* @param parallel Parallel
|
||||
* @param insideInterface Inside interface
|
||||
* @return Writer
|
||||
* @throws InterruptedException
|
||||
* @throws InterruptedException On interrupt
|
||||
*/
|
||||
@Override
|
||||
public GraphTextWriter toString(AbcIndexing abcIndex, Trait parent, ConvertData convertData, String path, ABC abc, boolean isStatic, ScriptExportMode exportMode, int scriptIndex, int classIndex, GraphTextWriter writer, List<DottedChain> fullyQualifiedNames, boolean parallel, boolean insideInterface) throws InterruptedException {
|
||||
@@ -295,7 +295,7 @@ public class TraitMethodGetterSetter extends Trait {
|
||||
* @param abc ABC
|
||||
* @param path Path
|
||||
* @return Number of removed traps
|
||||
* @throws InterruptedException
|
||||
* @throws InterruptedException On interrupt
|
||||
*/
|
||||
@Override
|
||||
public int removeTraps(int scriptIndex, int classIndex, boolean isStatic, ABC abc, String path) throws InterruptedException {
|
||||
|
||||
+4
-4
@@ -170,7 +170,7 @@ public class TraitSlotConst extends Trait implements TraitWithSlot {
|
||||
* @param writer Writer
|
||||
* @param abc ABC
|
||||
* @param fullyQualifiedNames Fully qualified names
|
||||
* @throws InterruptedException
|
||||
* @throws InterruptedException On interrupt
|
||||
*/
|
||||
public void getValueStr(AbcIndexing abcIndex, ScriptExportMode exportMode, Trait parent, ConvertData convertData, GraphTextWriter writer, ABC abc, List<DottedChain> fullyQualifiedNames) throws InterruptedException {
|
||||
if (convertData.assignedValues.containsKey(this)) {
|
||||
@@ -247,7 +247,7 @@ public class TraitSlotConst extends Trait implements TraitWithSlot {
|
||||
* @param parallel Parallel
|
||||
* @param insideInterface Inside interface
|
||||
* @return Writer
|
||||
* @throws InterruptedException
|
||||
* @throws InterruptedException On interrupt
|
||||
*/
|
||||
@Override
|
||||
public GraphTextWriter toString(AbcIndexing abcIndex, Trait parent, ConvertData convertData, String path, ABC abc, boolean isStatic, ScriptExportMode exportMode, int scriptIndex, int classIndex, GraphTextWriter writer, List<DottedChain> fullyQualifiedNames, boolean parallel, boolean insideInterface) throws InterruptedException {
|
||||
@@ -298,7 +298,7 @@ public class TraitSlotConst extends Trait implements TraitWithSlot {
|
||||
* @param fullyQualifiedNames Fully qualified names
|
||||
* @param parallel Parallel
|
||||
* @param scopeStack Scope stack
|
||||
* @throws InterruptedException
|
||||
* @throws InterruptedException On interrupt
|
||||
*/
|
||||
@Override
|
||||
public void convert(AbcIndexing abcIndex, Trait parent, ConvertData convertData, String path, ABC abc, boolean isStatic, ScriptExportMode exportMode, int scriptIndex, int classIndex, NulWriter writer, List<DottedChain> fullyQualifiedNames, boolean parallel, ScopeStack scopeStack) throws InterruptedException {
|
||||
@@ -366,7 +366,7 @@ public class TraitSlotConst extends Trait implements TraitWithSlot {
|
||||
* @param ignorePackage Ignore package
|
||||
* @param fullyQualifiedNames Fully qualified names
|
||||
* @param uses Uses
|
||||
* @throws InterruptedException
|
||||
* @throws InterruptedException On interrupt
|
||||
*/
|
||||
@Override
|
||||
public void getDependencies(AbcIndexing abcIndex, int scriptIndex, int classIndex, boolean isStatic, String customNamespace, ABC abc, List<Dependency> dependencies, DottedChain ignorePackage, List<DottedChain> fullyQualifiedNames, List<String> uses) throws InterruptedException {
|
||||
|
||||
@@ -105,7 +105,7 @@ public class Traits implements Cloneable, Serializable {
|
||||
* @param abc ABC file
|
||||
* @param path Path
|
||||
* @return Number of removed traps
|
||||
* @throws InterruptedException
|
||||
* @throws InterruptedException On interrupt
|
||||
*/
|
||||
public int removeTraps(int scriptIndex, int classIndex, boolean isStatic, ABC abc, String path) throws InterruptedException {
|
||||
int ret = 0;
|
||||
@@ -278,7 +278,7 @@ public class Traits implements Cloneable, Serializable {
|
||||
* Calls the task.
|
||||
*
|
||||
* @return Null
|
||||
* @throws InterruptedException
|
||||
* @throws InterruptedException On interrupt
|
||||
*/
|
||||
@Override
|
||||
public Void call() throws InterruptedException {
|
||||
@@ -311,7 +311,7 @@ public class Traits implements Cloneable, Serializable {
|
||||
* @param ignoredTraitNames Ignored trait names
|
||||
* @param insideInterface Inside interface flag
|
||||
* @return Writer
|
||||
* @throws InterruptedException
|
||||
* @throws InterruptedException On interrupt
|
||||
*/
|
||||
public GraphTextWriter toString(AbcIndexing abcIndex, Class[] traitTypes, Trait parent, ConvertData convertData, String path, ABC abc, boolean isStatic, ScriptExportMode exportMode, boolean makePackages, int scriptIndex, int classIndex, GraphTextWriter writer, List<DottedChain> fullyQualifiedNames, boolean parallel, List<String> ignoredTraitNames, boolean insideInterface) throws InterruptedException {
|
||||
|
||||
@@ -406,7 +406,7 @@ public class Traits implements Cloneable, Serializable {
|
||||
* @param fullyQualifiedNames Fully qualified names
|
||||
* @param parallel Parallel flag
|
||||
* @param scopeStack Scope stack
|
||||
* @throws InterruptedException
|
||||
* @throws InterruptedException On interrupt
|
||||
*/
|
||||
public void convert(AbcIndexing abcIndex, Trait parent, ConvertData convertData, String path, ABC abc, boolean isStatic, ScriptExportMode exportMode, boolean makePackages, int scriptIndex, int classIndex, NulWriter writer, List<DottedChain> fullyQualifiedNames, boolean parallel, ScopeStack scopeStack) throws InterruptedException {
|
||||
if (!parallel || traits.size() < 2) {
|
||||
@@ -476,7 +476,7 @@ public class Traits implements Cloneable, Serializable {
|
||||
* @param ignorePackage Ignore package
|
||||
* @param fullyQualifiedNames Fully qualified names
|
||||
* @param uses Uses
|
||||
* @throws InterruptedException
|
||||
* @throws InterruptedException On interrupt
|
||||
*/
|
||||
public void getDependencies(AbcIndexing abcIndex, int scriptIndex, int classIndex, boolean isStatic, String customNs, ABC abc, List<Dependency> dependencies, DottedChain ignorePackage, List<DottedChain> fullyQualifiedNames, List<String> uses) throws InterruptedException {
|
||||
for (Trait t : traits) {
|
||||
|
||||
@@ -108,7 +108,7 @@ public abstract class ABCWalker {
|
||||
* @param scriptTraitIndex Script trait index
|
||||
* @param traitIndex Trait index
|
||||
* @param walkType Walk type
|
||||
* @return
|
||||
* @return True if handled
|
||||
*/
|
||||
private boolean optionalHandleClass(Set<Integer> handledClasses, Set<Integer> handledMethodBodies, Set<Integer> handledMethodInfos, ABC abc, int index, int scriptIndex, int scriptTraitIndex, int traitIndex, WalkType walkType) {
|
||||
if (handledClasses.contains(index)) {
|
||||
|
||||
Reference in New Issue
Block a user