mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-28 04:25:39 +00:00
Reformating to fix checkstyle.
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -99,7 +99,8 @@ import java.util.logging.Level;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
/**
|
||||
* Represents one ACTIONRECORD, also has some static method to work with Actions.
|
||||
* Represents one ACTIONRECORD, also has some static method to work with
|
||||
* Actions.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
@@ -149,28 +150,28 @@ public abstract class Action implements GraphSourceItem {
|
||||
* Names of ActionScript properties
|
||||
*/
|
||||
public static final String[] propertyNames = new String[]{
|
||||
"_X",
|
||||
"_Y",
|
||||
"_xscale",
|
||||
"_yscale",
|
||||
"_currentframe",
|
||||
"_totalframes",
|
||||
"_alpha",
|
||||
"_visible",
|
||||
"_width",
|
||||
"_height",
|
||||
"_rotation",
|
||||
"_target",
|
||||
"_framesloaded",
|
||||
"_name",
|
||||
"_droptarget",
|
||||
"_url",
|
||||
"_highquality",
|
||||
"_focusrect",
|
||||
"_soundbuftime",
|
||||
"_quality",
|
||||
"_xmouse",
|
||||
"_ymouse"
|
||||
"_X",
|
||||
"_Y",
|
||||
"_xscale",
|
||||
"_yscale",
|
||||
"_currentframe",
|
||||
"_totalframes",
|
||||
"_alpha",
|
||||
"_visible",
|
||||
"_width",
|
||||
"_height",
|
||||
"_rotation",
|
||||
"_target",
|
||||
"_framesloaded",
|
||||
"_name",
|
||||
"_droptarget",
|
||||
"_url",
|
||||
"_highquality",
|
||||
"_focusrect",
|
||||
"_soundbuftime",
|
||||
"_quality",
|
||||
"_xmouse",
|
||||
"_ymouse"
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -194,9 +195,9 @@ public abstract class Action implements GraphSourceItem {
|
||||
*/
|
||||
private static final Logger logger = Logger.getLogger(Action.class.getName());
|
||||
|
||||
|
||||
/**
|
||||
* Gets the line offset.
|
||||
*
|
||||
* @return Line offset
|
||||
*/
|
||||
@Override
|
||||
@@ -206,13 +207,13 @@ public abstract class Action implements GraphSourceItem {
|
||||
|
||||
/**
|
||||
* Gets charset
|
||||
*
|
||||
* @return Charset
|
||||
*/
|
||||
public String getCharset() {
|
||||
return charset;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Constructs new Action
|
||||
*
|
||||
@@ -233,6 +234,7 @@ public abstract class Action implements GraphSourceItem {
|
||||
|
||||
/**
|
||||
* Gets the address.
|
||||
*
|
||||
* @return Address
|
||||
*/
|
||||
@Override
|
||||
@@ -274,6 +276,7 @@ public abstract class Action implements GraphSourceItem {
|
||||
|
||||
/**
|
||||
* Gets total length of this action.
|
||||
*
|
||||
* @return Total length of this action
|
||||
*/
|
||||
public int getTotalActionLength() {
|
||||
@@ -411,6 +414,7 @@ public abstract class Action implements GraphSourceItem {
|
||||
|
||||
/**
|
||||
* Gets content bytes of action.
|
||||
*
|
||||
* @param sos SWFOutputStream
|
||||
* @throws IOException
|
||||
*/
|
||||
@@ -429,6 +433,7 @@ public abstract class Action implements GraphSourceItem {
|
||||
|
||||
/**
|
||||
* Gets the length of content bytes of action.
|
||||
*
|
||||
* @return Length
|
||||
*/
|
||||
protected int getContentBytesLength() {
|
||||
@@ -468,6 +473,7 @@ public abstract class Action implements GraphSourceItem {
|
||||
|
||||
/**
|
||||
* Gets file offset.
|
||||
*
|
||||
* @return File offset
|
||||
*/
|
||||
@Override
|
||||
@@ -502,6 +508,7 @@ public abstract class Action implements GraphSourceItem {
|
||||
|
||||
/**
|
||||
* Converts list of Actions to bytes.
|
||||
*
|
||||
* @param list List of actions
|
||||
* @param addZero Whether to add 0 UI8 value to the end
|
||||
* @param version SWF version
|
||||
@@ -514,6 +521,7 @@ public abstract class Action implements GraphSourceItem {
|
||||
|
||||
/**
|
||||
* Sets constant pool of actions.
|
||||
*
|
||||
* @param src ASMSource
|
||||
* @param constantPools List of constant pools
|
||||
* @param tryInline Whether to try to inline constant pools
|
||||
@@ -804,6 +812,7 @@ public abstract class Action implements GraphSourceItem {
|
||||
|
||||
/**
|
||||
* Converts constant pool actions to String.
|
||||
*
|
||||
* @param listeners List of listeners
|
||||
* @param address Address
|
||||
* @param list List of actions
|
||||
@@ -852,6 +861,7 @@ public abstract class Action implements GraphSourceItem {
|
||||
|
||||
/**
|
||||
* Executes the action.
|
||||
*
|
||||
* @param lda Local data area
|
||||
* @return Whether the action was executed successfully
|
||||
*/
|
||||
@@ -859,6 +869,7 @@ public abstract class Action implements GraphSourceItem {
|
||||
|
||||
/**
|
||||
* Gets the number of stack items that are popped by this item.
|
||||
*
|
||||
* @param localData Local data
|
||||
* @param stack Stack
|
||||
* @return Number of stack items that are popped by this item
|
||||
@@ -870,6 +881,7 @@ public abstract class Action implements GraphSourceItem {
|
||||
|
||||
/**
|
||||
* Gets the number of stack items that are pushed by this item.
|
||||
*
|
||||
* @param localData Local data
|
||||
* @param stack Stack
|
||||
* @return Number of stack items that are pushed by this item
|
||||
@@ -938,6 +950,7 @@ public abstract class Action implements GraphSourceItem {
|
||||
|
||||
/**
|
||||
* Converts actions to ActionScript source code - decompiles.
|
||||
*
|
||||
* @param uninitializedClassTraits Uninitialized class traits
|
||||
* @param asm ASM source
|
||||
* @param actions List of actions
|
||||
@@ -1027,6 +1040,7 @@ public abstract class Action implements GraphSourceItem {
|
||||
|
||||
/**
|
||||
* Converts list of actions to List of treeItems
|
||||
*
|
||||
* @param uninitializedClassTraits Uninitialized class traits
|
||||
* @param insideDoInitAction Inside DoInitAction?
|
||||
* @param insideFunction Inside function?
|
||||
@@ -1090,6 +1104,7 @@ public abstract class Action implements GraphSourceItem {
|
||||
|
||||
/**
|
||||
* Translate the item to target items.
|
||||
*
|
||||
* @param localData Local data
|
||||
* @param stack Stack
|
||||
* @param output Output list
|
||||
@@ -1105,6 +1120,7 @@ public abstract class Action implements GraphSourceItem {
|
||||
|
||||
/**
|
||||
* Checks whether this item is a jump.
|
||||
*
|
||||
* @return True if this item is a jump, false otherwise
|
||||
*/
|
||||
@Override
|
||||
@@ -1114,6 +1130,7 @@ public abstract class Action implements GraphSourceItem {
|
||||
|
||||
/**
|
||||
* Checks whether this item is a branch.
|
||||
*
|
||||
* @return True if this item is a branch, false otherwise
|
||||
*/
|
||||
@Override
|
||||
@@ -1123,6 +1140,7 @@ public abstract class Action implements GraphSourceItem {
|
||||
|
||||
/**
|
||||
* Checks whether this item is an exit (throw, return, etc.).
|
||||
*
|
||||
* @return True if this item is an exit, false otherwise
|
||||
*/
|
||||
@Override
|
||||
@@ -1132,6 +1150,7 @@ public abstract class Action implements GraphSourceItem {
|
||||
|
||||
/**
|
||||
* Gets branches
|
||||
*
|
||||
* @param code Code
|
||||
* @return List of IPs to branch to
|
||||
*/
|
||||
@@ -1142,6 +1161,7 @@ public abstract class Action implements GraphSourceItem {
|
||||
|
||||
/**
|
||||
* Checks whether this item is ignored.
|
||||
*
|
||||
* @return True if this item is ignored, false otherwise
|
||||
*/
|
||||
@Override
|
||||
@@ -1151,6 +1171,7 @@ public abstract class Action implements GraphSourceItem {
|
||||
|
||||
/**
|
||||
* Sets whether this item is ignored.
|
||||
*
|
||||
* @param ignored True if this item is ignored, false otherwise
|
||||
* @param pos Sub position
|
||||
*/
|
||||
@@ -1161,6 +1182,7 @@ public abstract class Action implements GraphSourceItem {
|
||||
|
||||
/**
|
||||
* Prepares variables for the given container.
|
||||
*
|
||||
* @param cnt Container
|
||||
* @param variables Variables - map of variable names to variable items
|
||||
* @return
|
||||
@@ -1179,6 +1201,7 @@ public abstract class Action implements GraphSourceItem {
|
||||
|
||||
/**
|
||||
* Converts list of actions to tree.
|
||||
*
|
||||
* @param graph ActionGraph
|
||||
* @param switchParts Switch parts
|
||||
* @param secondPassData Second pass data
|
||||
@@ -1340,6 +1363,7 @@ public abstract class Action implements GraphSourceItem {
|
||||
|
||||
/**
|
||||
* Gets item without global prefix.
|
||||
*
|
||||
* @param ti Target item
|
||||
* @return Target item without global prefix
|
||||
*/
|
||||
@@ -1373,6 +1397,7 @@ public abstract class Action implements GraphSourceItem {
|
||||
|
||||
/**
|
||||
* Checks whether the loops are ignored.
|
||||
*
|
||||
* @return True if the loops are ignored, false otherwise
|
||||
*/
|
||||
@Override
|
||||
@@ -1382,6 +1407,7 @@ public abstract class Action implements GraphSourceItem {
|
||||
|
||||
/**
|
||||
* Sets constant pool to actions.
|
||||
*
|
||||
* @param actions List of actions
|
||||
* @param cpool Constant pool
|
||||
*/
|
||||
@@ -1407,6 +1433,7 @@ public abstract class Action implements GraphSourceItem {
|
||||
|
||||
/**
|
||||
* Get ASM source with replaced Actions.
|
||||
*
|
||||
* @param container Container
|
||||
* @param knownAddreses Known addresses
|
||||
* @param exportMode Export mode
|
||||
@@ -1420,6 +1447,7 @@ public abstract class Action implements GraphSourceItem {
|
||||
|
||||
/**
|
||||
* Converts ECMA object to float point.
|
||||
*
|
||||
* @param o Object
|
||||
* @return Float point
|
||||
*/
|
||||
@@ -1453,8 +1481,8 @@ public abstract class Action implements GraphSourceItem {
|
||||
}
|
||||
|
||||
/**
|
||||
* Converts Get to Set.
|
||||
* (variables, members, properties)
|
||||
* Converts Get to Set. (variables, members, properties)
|
||||
*
|
||||
* @param get Get item
|
||||
* @param value Value
|
||||
* @param variables Variables
|
||||
@@ -1490,9 +1518,11 @@ public abstract class Action implements GraphSourceItem {
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks whether this item is a DeobfuscatePop instruction.
|
||||
* It is a special instruction for deobfuscation.
|
||||
* @return True if this item is a DeobfuscatePop instruction, false otherwise
|
||||
* Checks whether this item is a DeobfuscatePop instruction. It is a special
|
||||
* instruction for deobfuscation.
|
||||
*
|
||||
* @return True if this item is a DeobfuscatePop instruction, false
|
||||
* otherwise
|
||||
*/
|
||||
@Override
|
||||
public boolean isDeobfuscatePop() {
|
||||
@@ -1501,6 +1531,7 @@ public abstract class Action implements GraphSourceItem {
|
||||
|
||||
/**
|
||||
* Gets the line in the high level source code.
|
||||
*
|
||||
* @return Line
|
||||
*/
|
||||
@Override
|
||||
@@ -1510,6 +1541,7 @@ public abstract class Action implements GraphSourceItem {
|
||||
|
||||
/**
|
||||
* Gets the high level source code file name.
|
||||
*
|
||||
* @return File name
|
||||
*/
|
||||
@Override
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -51,6 +51,7 @@ public class ActionDefineFunctionPushRegistersCleaner extends SWFDecompilerAdapt
|
||||
|
||||
/**
|
||||
* Called when an action list is parsed
|
||||
*
|
||||
* @param actions Action list
|
||||
* @param swf SWF object
|
||||
* @throws InterruptedException
|
||||
@@ -83,6 +84,7 @@ public class ActionDefineFunctionPushRegistersCleaner extends SWFDecompilerAdapt
|
||||
|
||||
/**
|
||||
* Cleans push registers from ActionDefineFunction
|
||||
*
|
||||
* @param code Action list
|
||||
* @param startIndex Index of first Action in DefineFunction body
|
||||
* @param count Count of actions in DefineFunction
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -85,6 +85,7 @@ import java.util.Set;
|
||||
|
||||
/**
|
||||
* ActionScript 1/2 graph
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class ActionGraph extends Graph {
|
||||
@@ -100,12 +101,14 @@ public class ActionGraph extends Graph {
|
||||
private boolean insideFunction;
|
||||
|
||||
/**
|
||||
* Uninitialized class traits - maps class name to map of trait name to trait
|
||||
* Uninitialized class traits - maps class name to map of trait name to
|
||||
* trait
|
||||
*/
|
||||
private Map<String, Map<String, Trait>> uninitializedClassTraits;
|
||||
|
||||
/**
|
||||
* Constructs ActionGraph
|
||||
*
|
||||
* @param uninitializedClassTraits Uninitialized class traits
|
||||
* @param path Path
|
||||
* @param insideDoInitAction Inside DoInitAction
|
||||
@@ -126,15 +129,17 @@ public class ActionGraph extends Graph {
|
||||
|
||||
/**
|
||||
* Get uninitialized class traits
|
||||
* @return Uninitialized class traits - maps class name to map of trait name to trait
|
||||
*
|
||||
* @return Uninitialized class traits - maps class name to map of trait name
|
||||
* to trait
|
||||
*/
|
||||
public Map<String, Map<String, Trait>> getUninitializedClassTraits() {
|
||||
return uninitializedClassTraits;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the graphSource
|
||||
*
|
||||
* @return GraphSource
|
||||
*/
|
||||
@Override
|
||||
@@ -144,6 +149,7 @@ public class ActionGraph extends Graph {
|
||||
|
||||
/**
|
||||
* Gets sub-graphs
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
@@ -179,6 +185,7 @@ public class ActionGraph extends Graph {
|
||||
|
||||
/**
|
||||
* Checks whether is inside DoInitAction.
|
||||
*
|
||||
* @return True if is inside DoInitAction, false otherwise
|
||||
*/
|
||||
public boolean isInsideDoInitAction() {
|
||||
@@ -187,6 +194,7 @@ public class ActionGraph extends Graph {
|
||||
|
||||
/**
|
||||
* Method called after populating all parts.
|
||||
*
|
||||
* @param allParts All parts
|
||||
*/
|
||||
@Override
|
||||
@@ -196,6 +204,7 @@ public class ActionGraph extends Graph {
|
||||
|
||||
/**
|
||||
* Translates via Graph - decompiles.
|
||||
*
|
||||
* @param uninitializedClassTraits Uninitialized class traits
|
||||
* @param secondPassData Second pass data
|
||||
* @param insideDoInitAction Inside DoInitAction
|
||||
@@ -219,8 +228,8 @@ public class ActionGraph extends Graph {
|
||||
}
|
||||
|
||||
/**
|
||||
* Final process stack.
|
||||
* Override this method to provide custom behavior.
|
||||
* Final process stack. Override this method to provide custom behavior.
|
||||
*
|
||||
* @param stack Translate stack
|
||||
* @param output Output
|
||||
* @param path Path
|
||||
@@ -242,6 +251,7 @@ public class ActionGraph extends Graph {
|
||||
|
||||
/**
|
||||
* Checks whether a part can be a break candidate.
|
||||
*
|
||||
* @param localData Local data
|
||||
* @param part Part
|
||||
* @param throwStates List of throw states
|
||||
@@ -267,6 +277,7 @@ public class ActionGraph extends Graph {
|
||||
|
||||
/**
|
||||
* Final process.
|
||||
*
|
||||
* @param list List of GraphTargetItems
|
||||
* @param level Level
|
||||
* @param localData Local data
|
||||
@@ -548,8 +559,9 @@ public class ActionGraph extends Graph {
|
||||
}
|
||||
|
||||
/**
|
||||
* Moves all stack items to commands.
|
||||
* (If it's not a branch stack resistant or other special case)
|
||||
* Moves all stack items to commands. (If it's not a branch stack resistant
|
||||
* or other special case)
|
||||
*
|
||||
* @param commands Commands
|
||||
* @param stack Stack
|
||||
*/
|
||||
@@ -600,6 +612,7 @@ public class ActionGraph extends Graph {
|
||||
|
||||
/**
|
||||
* Translates the graph - decompiles.
|
||||
*
|
||||
* @param localData Local data
|
||||
* @param staticOperation Unused
|
||||
* @param path Path
|
||||
@@ -636,6 +649,7 @@ public class ActionGraph extends Graph {
|
||||
*/
|
||||
/**
|
||||
* Makes define registers up.
|
||||
*
|
||||
* @param list List of GraphTargetItems
|
||||
*/
|
||||
private void makeDefineRegistersUp(List<GraphTargetItem> list) {
|
||||
@@ -684,6 +698,7 @@ public class ActionGraph extends Graph {
|
||||
|
||||
/**
|
||||
* Finds part.
|
||||
*
|
||||
* @param ip IP
|
||||
* @param allParts All parts
|
||||
* @return GraphPart
|
||||
@@ -699,6 +714,7 @@ public class ActionGraph extends Graph {
|
||||
|
||||
/**
|
||||
* Check before decompiling next section.
|
||||
*
|
||||
* @param currentRet Current return
|
||||
* @param foundGotos Found gotos
|
||||
* @param partCodes Part codes
|
||||
@@ -718,7 +734,8 @@ public class ActionGraph extends Graph {
|
||||
* @param currentLoop Current loop
|
||||
* @param staticOperation Unused
|
||||
* @param path Path
|
||||
* @return List of GraphTargetItems to replace current output and stop further processing. Null to continue.
|
||||
* @return List of GraphTargetItems to replace current output and stop
|
||||
* further processing. Null to continue.
|
||||
* @throws InterruptedException
|
||||
*/
|
||||
@Override
|
||||
@@ -828,6 +845,7 @@ public class ActionGraph extends Graph {
|
||||
|
||||
/**
|
||||
* Checks IP and allows to modify it.
|
||||
*
|
||||
* @param ip Current IP
|
||||
* @return New IP
|
||||
*/
|
||||
@@ -860,8 +878,9 @@ public class ActionGraph extends Graph {
|
||||
}
|
||||
|
||||
/**
|
||||
* Prepares second pass data.
|
||||
* Can return null when no second pass will happen.
|
||||
* Prepares second pass data. Can return null when no second pass will
|
||||
* happen.
|
||||
*
|
||||
* @param list List of GraphTargetItems
|
||||
* @return Second pass data or null
|
||||
*/
|
||||
@@ -879,6 +898,7 @@ public class ActionGraph extends Graph {
|
||||
|
||||
/**
|
||||
* Checks second pass switches.
|
||||
*
|
||||
* @param processedIfs Processed ifs
|
||||
* @param list List of GraphTargetItems
|
||||
* @param allSwitchParts All switch parts
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -36,6 +36,7 @@ import java.util.logging.Logger;
|
||||
|
||||
/**
|
||||
* ActionScript 1/2 graph source
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class ActionGraphSource extends GraphSource {
|
||||
@@ -87,6 +88,7 @@ public class ActionGraphSource extends GraphSource {
|
||||
|
||||
/**
|
||||
* Gets actions
|
||||
*
|
||||
* @return Actions
|
||||
*/
|
||||
public List<Action> getActions() {
|
||||
@@ -95,6 +97,7 @@ public class ActionGraphSource extends GraphSource {
|
||||
|
||||
/**
|
||||
* Constructs new ActionGraphSource
|
||||
*
|
||||
* @param path Path
|
||||
* @param insideDoInitAction Is inside doInitAction
|
||||
* @param actions Actions
|
||||
@@ -117,6 +120,7 @@ public class ActionGraphSource extends GraphSource {
|
||||
|
||||
/**
|
||||
* Gets charset
|
||||
*
|
||||
* @return Charset
|
||||
*/
|
||||
public String getCharset() {
|
||||
@@ -125,6 +129,7 @@ public class ActionGraphSource extends GraphSource {
|
||||
|
||||
/**
|
||||
* Gets the important addresses
|
||||
*
|
||||
* @return Set of important addresses
|
||||
*/
|
||||
@Override
|
||||
@@ -134,6 +139,7 @@ public class ActionGraphSource extends GraphSource {
|
||||
|
||||
/**
|
||||
* Converts instruction at the specified position to string
|
||||
*
|
||||
* @param pos Position of the instruction
|
||||
* @return Instruction as string
|
||||
*/
|
||||
@@ -147,6 +153,7 @@ public class ActionGraphSource extends GraphSource {
|
||||
|
||||
/**
|
||||
* Gets the size of the graph source
|
||||
*
|
||||
* @return The size of the graph source
|
||||
*/
|
||||
@Override
|
||||
@@ -156,6 +163,7 @@ public class ActionGraphSource extends GraphSource {
|
||||
|
||||
/**
|
||||
* Gets the graph source item at the specified position
|
||||
*
|
||||
* @param pos Position of the graph source item
|
||||
* @return The graph source item at the specified position
|
||||
*/
|
||||
@@ -166,6 +174,7 @@ public class ActionGraphSource extends GraphSource {
|
||||
|
||||
/**
|
||||
* Sets the graph source item at the specified position
|
||||
*
|
||||
* @param pos Position of the graph source item
|
||||
* @param t The graph source item
|
||||
*/
|
||||
@@ -175,6 +184,7 @@ public class ActionGraphSource extends GraphSource {
|
||||
|
||||
/**
|
||||
* Checks if the graph source is empty
|
||||
*
|
||||
* @return True if the graph source is empty, false otherwise
|
||||
*/
|
||||
@Override
|
||||
@@ -184,6 +194,7 @@ public class ActionGraphSource extends GraphSource {
|
||||
|
||||
/**
|
||||
* Translates the part of the graph source
|
||||
*
|
||||
* @param graph Graph
|
||||
* @param part Graph part
|
||||
* @param localData Local data
|
||||
@@ -205,7 +216,6 @@ public class ActionGraphSource extends GraphSource {
|
||||
return r;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Rebuilds the position cache
|
||||
*/
|
||||
@@ -218,6 +228,7 @@ public class ActionGraphSource extends GraphSource {
|
||||
|
||||
/**
|
||||
* Converts position to address
|
||||
*
|
||||
* @param pos Position
|
||||
* @return Address
|
||||
*/
|
||||
@@ -232,6 +243,7 @@ public class ActionGraphSource extends GraphSource {
|
||||
|
||||
/**
|
||||
* Converts address to position
|
||||
*
|
||||
* @param adr Address
|
||||
* @return Position
|
||||
*/
|
||||
@@ -257,6 +269,7 @@ public class ActionGraphSource extends GraphSource {
|
||||
|
||||
/**
|
||||
* Converts address to position
|
||||
*
|
||||
* @param adr Address
|
||||
* @param nearest Nearest
|
||||
* @return Position
|
||||
@@ -287,6 +300,7 @@ public class ActionGraphSource extends GraphSource {
|
||||
|
||||
/**
|
||||
* Gets variables
|
||||
*
|
||||
* @return Map of variable name to variable item
|
||||
*/
|
||||
public HashMap<String, GraphTargetItem> getVariables() {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -42,6 +42,7 @@ import java.util.logging.Logger;
|
||||
|
||||
/**
|
||||
* List of actions.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class ActionList extends ArrayList<Action> {
|
||||
@@ -63,6 +64,7 @@ public class ActionList extends ArrayList<Action> {
|
||||
|
||||
/**
|
||||
* Constructs a new action list with the specified charset.
|
||||
*
|
||||
* @param charset Charset
|
||||
*/
|
||||
public ActionList(String charset) {
|
||||
@@ -71,6 +73,7 @@ public class ActionList extends ArrayList<Action> {
|
||||
|
||||
/**
|
||||
* Gets the charset.
|
||||
*
|
||||
* @return Charset
|
||||
*/
|
||||
public String getCharset() {
|
||||
@@ -79,6 +82,7 @@ public class ActionList extends ArrayList<Action> {
|
||||
|
||||
/**
|
||||
* Constructs a new action list with the specified actions and charset.
|
||||
*
|
||||
* @param actions Actions
|
||||
* @param charset Charset
|
||||
*/
|
||||
@@ -89,6 +93,7 @@ public class ActionList extends ArrayList<Action> {
|
||||
|
||||
/**
|
||||
* Sets actions.
|
||||
*
|
||||
* @param list Actions
|
||||
*/
|
||||
public void setActions(List<Action> list) {
|
||||
@@ -98,6 +103,7 @@ public class ActionList extends ArrayList<Action> {
|
||||
|
||||
/**
|
||||
* Removes actions.
|
||||
*
|
||||
* @param actionsToRemove Actions to remove
|
||||
*/
|
||||
public void removeActions(List<Action> actionsToRemove) {
|
||||
@@ -106,6 +112,7 @@ public class ActionList extends ArrayList<Action> {
|
||||
|
||||
/**
|
||||
* Removes action.
|
||||
*
|
||||
* @param index Index
|
||||
*/
|
||||
public void removeAction(int index) {
|
||||
@@ -114,6 +121,7 @@ public class ActionList extends ArrayList<Action> {
|
||||
|
||||
/**
|
||||
* Removes action.
|
||||
*
|
||||
* @param index Index
|
||||
* @param count Count
|
||||
*/
|
||||
@@ -130,6 +138,7 @@ public class ActionList extends ArrayList<Action> {
|
||||
|
||||
/**
|
||||
* Adds action.
|
||||
*
|
||||
* @param index Index
|
||||
* @param action Action
|
||||
*/
|
||||
@@ -139,6 +148,7 @@ public class ActionList extends ArrayList<Action> {
|
||||
|
||||
/**
|
||||
* Adds actions.
|
||||
*
|
||||
* @param index Index
|
||||
* @param actions Actions
|
||||
*/
|
||||
@@ -155,6 +165,7 @@ public class ActionList extends ArrayList<Action> {
|
||||
|
||||
/**
|
||||
* Gets container last actions.
|
||||
*
|
||||
* @param action Action
|
||||
* @return Container last actions
|
||||
*/
|
||||
@@ -164,6 +175,7 @@ public class ActionList extends ArrayList<Action> {
|
||||
|
||||
/**
|
||||
* Gets references for action.
|
||||
*
|
||||
* @param target Target
|
||||
* @return References
|
||||
*/
|
||||
@@ -231,6 +243,7 @@ public class ActionList extends ArrayList<Action> {
|
||||
|
||||
/**
|
||||
* Gets constant pools.
|
||||
*
|
||||
* @return Constant pools
|
||||
*/
|
||||
public Iterable<ActionConstantPool> getConstantPools() {
|
||||
@@ -271,6 +284,7 @@ public class ActionList extends ArrayList<Action> {
|
||||
|
||||
/**
|
||||
* Gets pushes.
|
||||
*
|
||||
* @return Pushes
|
||||
*/
|
||||
public Iterable<ActionPush> getPushes() {
|
||||
@@ -311,6 +325,7 @@ public class ActionList extends ArrayList<Action> {
|
||||
|
||||
/**
|
||||
* Gets constant pool index reference count.
|
||||
*
|
||||
* @param index Index
|
||||
* @return Constant pool index reference count
|
||||
*/
|
||||
@@ -335,6 +350,7 @@ public class ActionList extends ArrayList<Action> {
|
||||
|
||||
/**
|
||||
* Gets inline constant pool string.
|
||||
*
|
||||
* @param index Index
|
||||
* @param str String
|
||||
*/
|
||||
@@ -417,6 +433,7 @@ public class ActionList extends ArrayList<Action> {
|
||||
|
||||
/**
|
||||
* Gets action by address.
|
||||
*
|
||||
* @param address Address
|
||||
* @return Action
|
||||
*/
|
||||
@@ -427,6 +444,7 @@ public class ActionList extends ArrayList<Action> {
|
||||
|
||||
/**
|
||||
* Gets index by action.
|
||||
*
|
||||
* @param action Action
|
||||
* @return Index
|
||||
*/
|
||||
@@ -436,6 +454,7 @@ public class ActionList extends ArrayList<Action> {
|
||||
|
||||
/**
|
||||
* Gets index by address.
|
||||
*
|
||||
* @param address Address
|
||||
* @return Index
|
||||
*/
|
||||
@@ -460,6 +479,7 @@ public class ActionList extends ArrayList<Action> {
|
||||
|
||||
/**
|
||||
* Gets container.
|
||||
*
|
||||
* @param idx Index
|
||||
* @return Container
|
||||
*/
|
||||
@@ -484,6 +504,7 @@ public class ActionList extends ArrayList<Action> {
|
||||
|
||||
/**
|
||||
* Gets container end index.
|
||||
*
|
||||
* @param idx Index
|
||||
* @return Container end index
|
||||
*/
|
||||
@@ -508,6 +529,7 @@ public class ActionList extends ArrayList<Action> {
|
||||
|
||||
/**
|
||||
* Gets unreachable actions.
|
||||
*
|
||||
* @return Unreachable actions
|
||||
*/
|
||||
public List<Action> getUnreachableActions() {
|
||||
@@ -528,6 +550,7 @@ public class ActionList extends ArrayList<Action> {
|
||||
|
||||
/**
|
||||
* Gets unreachable actions.
|
||||
*
|
||||
* @param jumpIndex Jump index
|
||||
* @param jumpTargetIndex Jump target index
|
||||
* @return Unreachable actions
|
||||
@@ -551,6 +574,7 @@ public class ActionList extends ArrayList<Action> {
|
||||
|
||||
/**
|
||||
* Gets unreachable actions map.
|
||||
*
|
||||
* @param jumpIndex Jump index
|
||||
* @param jumpTargetIndex Jump target index
|
||||
* @return Unreachable actions array - ip to reachable
|
||||
@@ -678,6 +702,7 @@ public class ActionList extends ArrayList<Action> {
|
||||
|
||||
/**
|
||||
* Saves to file.
|
||||
*
|
||||
* @param fileName File name
|
||||
*/
|
||||
public void saveToFile(String fileName) {
|
||||
@@ -691,6 +716,7 @@ public class ActionList extends ArrayList<Action> {
|
||||
|
||||
/**
|
||||
* Converts to string.
|
||||
*
|
||||
* @return String
|
||||
*/
|
||||
@Override
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -188,6 +188,7 @@ public class ActionListReader {
|
||||
|
||||
/**
|
||||
* Fixes action list.
|
||||
*
|
||||
* @param actions Action list
|
||||
* @param nextOffsets Next offsets
|
||||
* @return Fixed action list
|
||||
@@ -240,6 +241,7 @@ public class ActionListReader {
|
||||
|
||||
/**
|
||||
* Gets original actions.
|
||||
*
|
||||
* @param sis SWF input stream
|
||||
* @param startIp Start IP
|
||||
* @param endIp End IP
|
||||
@@ -261,6 +263,7 @@ public class ActionListReader {
|
||||
|
||||
/**
|
||||
* Gets near address.
|
||||
*
|
||||
* @param actions Action list
|
||||
* @param address Address
|
||||
* @param next Next
|
||||
@@ -289,6 +292,7 @@ public class ActionListReader {
|
||||
|
||||
/**
|
||||
* Converts list of actions to map of address to action.
|
||||
*
|
||||
* @param actions List of actions
|
||||
* @return Map of address to action
|
||||
*/
|
||||
@@ -307,6 +311,7 @@ public class ActionListReader {
|
||||
|
||||
/**
|
||||
* Gets jumps.
|
||||
*
|
||||
* @param actions List of actions
|
||||
* @param jumps Jumps - map of jumpAction to targetAction
|
||||
*/
|
||||
@@ -341,6 +346,7 @@ public class ActionListReader {
|
||||
|
||||
/**
|
||||
* Gets container last actions.
|
||||
*
|
||||
* @param actions List of actions
|
||||
* @param action Action
|
||||
* @return List of last actions
|
||||
@@ -364,6 +370,7 @@ public class ActionListReader {
|
||||
|
||||
/**
|
||||
* Gets container last actions.
|
||||
*
|
||||
* @param actions List of actions
|
||||
* @param lastActions Last actions
|
||||
*/
|
||||
@@ -377,6 +384,7 @@ public class ActionListReader {
|
||||
|
||||
/**
|
||||
* Updates addresses.
|
||||
*
|
||||
* @param actions List of actions
|
||||
* @param address Address
|
||||
* @param charset Charset
|
||||
@@ -398,6 +406,7 @@ public class ActionListReader {
|
||||
|
||||
/**
|
||||
* Updates action lengths.
|
||||
*
|
||||
* @param actions List of actions
|
||||
*/
|
||||
private static void updateActionLengths(List<Action> actions) {
|
||||
@@ -408,6 +417,7 @@ public class ActionListReader {
|
||||
|
||||
/**
|
||||
* Updates action stores.
|
||||
*
|
||||
* @param actions List of actions
|
||||
* @param jumps Jumps - map of jumpAction to targetAction
|
||||
*/
|
||||
@@ -435,6 +445,7 @@ public class ActionListReader {
|
||||
|
||||
/**
|
||||
* Updates container sizes.
|
||||
*
|
||||
* @param actions List of actions
|
||||
* @param containerLastActions Container last actions
|
||||
*/
|
||||
@@ -457,6 +468,7 @@ public class ActionListReader {
|
||||
|
||||
/**
|
||||
* Replaces jump targets.
|
||||
*
|
||||
* @param jumps Jumps - map of jumpAction to targetAction
|
||||
* @param oldTarget Old target
|
||||
* @param newTarget New target
|
||||
@@ -471,6 +483,7 @@ public class ActionListReader {
|
||||
|
||||
/**
|
||||
* Replaces container last actions.
|
||||
*
|
||||
* @param containerLastActions Container last actions
|
||||
* @param oldTarget Old target
|
||||
* @param newTarget New target
|
||||
@@ -488,6 +501,7 @@ public class ActionListReader {
|
||||
|
||||
/**
|
||||
* Updates jumps.
|
||||
*
|
||||
* @param actions List of actions
|
||||
* @param jumps Jumps - map of jumpAction to targetAction
|
||||
* @param containerLastActions Container last actions
|
||||
@@ -776,6 +790,7 @@ public class ActionListReader {
|
||||
|
||||
/**
|
||||
* Reads action list at the specified position.
|
||||
*
|
||||
* @param listeners List of listeners
|
||||
* @param cpool Constant pool
|
||||
* @param sis SWF input stream
|
||||
@@ -898,6 +913,7 @@ public class ActionListReader {
|
||||
|
||||
/**
|
||||
* Fixes constant pools.
|
||||
*
|
||||
* @param listeners List of listeners
|
||||
* @param actions Actions
|
||||
* @return True if constant pools were fixed, false otherwise
|
||||
@@ -925,6 +941,7 @@ public class ActionListReader {
|
||||
|
||||
/**
|
||||
* Fixes constant pools.
|
||||
*
|
||||
* @param listeners List of listeners
|
||||
* @param cpool Constant pool
|
||||
* @param actions Actions
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -28,12 +28,14 @@ import java.util.Set;
|
||||
|
||||
/**
|
||||
* Local data for ActionScript decompilation.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class ActionLocalData extends BaseLocalData {
|
||||
|
||||
/**
|
||||
* Uninitialized class traits - map of class name to map of trait name to trait
|
||||
* Uninitialized class traits - map of class name to map of trait name to
|
||||
* trait
|
||||
*/
|
||||
public final Map<String, Map<String, Trait>> uninitializedClassTraits;
|
||||
|
||||
@@ -64,6 +66,7 @@ public class ActionLocalData extends BaseLocalData {
|
||||
|
||||
/**
|
||||
* Constructs new ActionLocalData
|
||||
*
|
||||
* @param secondPassData Second pass data
|
||||
* @param insideDoInitAction Is inside doInitAction
|
||||
* @param uninitializedClassTraits Uninitialized class traits
|
||||
@@ -79,6 +82,7 @@ public class ActionLocalData extends BaseLocalData {
|
||||
|
||||
/**
|
||||
* Constructs new ActionLocalData
|
||||
*
|
||||
* @param secondPassData Second pass data
|
||||
* @param insideDoInitAction Is inside doInitAction
|
||||
* @param regNames Register names
|
||||
@@ -95,6 +99,7 @@ public class ActionLocalData extends BaseLocalData {
|
||||
|
||||
/**
|
||||
* Constructs new ActionLocalData
|
||||
*
|
||||
* @param switchParts Switch parts
|
||||
* @param secondPassData Second pass data
|
||||
* @param insideDoInitAction Is inside doInitAction
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -22,6 +22,7 @@ import java.util.List;
|
||||
|
||||
/**
|
||||
* Represents ActionScript array.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class ActionScriptArray extends ActionScriptObject {
|
||||
@@ -32,9 +33,9 @@ public class ActionScriptArray extends ActionScriptObject {
|
||||
protected List<Object> values = new ArrayList<>();
|
||||
|
||||
//TODO: implement some methods?
|
||||
|
||||
/**
|
||||
* Enumerates all members of this object
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
@@ -48,6 +49,7 @@ public class ActionScriptArray extends ActionScriptObject {
|
||||
|
||||
/**
|
||||
* Gets member of this object
|
||||
*
|
||||
* @param path Member path
|
||||
* @return Member value
|
||||
*/
|
||||
@@ -61,6 +63,7 @@ public class ActionScriptArray extends ActionScriptObject {
|
||||
|
||||
/**
|
||||
* Sets member of this object
|
||||
*
|
||||
* @param path Member path
|
||||
* @param value Value to set
|
||||
*/
|
||||
@@ -75,6 +78,7 @@ public class ActionScriptArray extends ActionScriptObject {
|
||||
|
||||
/**
|
||||
* Sets value at index
|
||||
*
|
||||
* @param index Index
|
||||
* @param value Value
|
||||
*/
|
||||
@@ -109,6 +113,7 @@ public class ActionScriptArray extends ActionScriptObject {
|
||||
|
||||
/**
|
||||
* Gets value at index
|
||||
*
|
||||
* @param index Index
|
||||
* @return Value
|
||||
*/
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -21,6 +21,7 @@ import java.util.Map;
|
||||
|
||||
/**
|
||||
* Represents an ActionScript function.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class ActionScriptFunction extends ActionScriptObject {
|
||||
@@ -52,6 +53,7 @@ public class ActionScriptFunction extends ActionScriptObject {
|
||||
|
||||
/**
|
||||
* Gets function name
|
||||
*
|
||||
* @return Function name
|
||||
*/
|
||||
public String getFunctionName() {
|
||||
@@ -60,6 +62,7 @@ public class ActionScriptFunction extends ActionScriptObject {
|
||||
|
||||
/**
|
||||
* Gets register names
|
||||
*
|
||||
* @return Register names
|
||||
*/
|
||||
public Map<Integer, String> getFuncRegNames() {
|
||||
@@ -68,6 +71,7 @@ public class ActionScriptFunction extends ActionScriptObject {
|
||||
|
||||
/**
|
||||
* Constucts a new ActionScriptFunction
|
||||
*
|
||||
* @param functionOffset Offset of the function
|
||||
* @param functionLength Length of the function
|
||||
* @param functionName Name of the function
|
||||
@@ -84,6 +88,7 @@ public class ActionScriptFunction extends ActionScriptObject {
|
||||
|
||||
/**
|
||||
* Gets function length
|
||||
*
|
||||
* @return Function length
|
||||
*/
|
||||
public long getFunctionLength() {
|
||||
@@ -92,6 +97,7 @@ public class ActionScriptFunction extends ActionScriptObject {
|
||||
|
||||
/**
|
||||
* Gets function offset
|
||||
*
|
||||
* @return Function offset
|
||||
*/
|
||||
public long getFunctionOffset() {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -24,6 +24,7 @@ import java.util.Map;
|
||||
|
||||
/**
|
||||
* Represents an ActionScript object.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class ActionScriptObject implements Cloneable {
|
||||
@@ -77,6 +78,7 @@ public class ActionScriptObject implements Cloneable {
|
||||
|
||||
/**
|
||||
* Gets implements objects
|
||||
*
|
||||
* @return Implements objects
|
||||
*/
|
||||
public List<Object> getImplementsObjs() {
|
||||
@@ -85,6 +87,7 @@ public class ActionScriptObject implements Cloneable {
|
||||
|
||||
/**
|
||||
* Sets implements objects
|
||||
*
|
||||
* @param implementsObjs Implements objects
|
||||
*/
|
||||
public void setImplementsObjs(List<Object> implementsObjs) {
|
||||
@@ -93,6 +96,7 @@ public class ActionScriptObject implements Cloneable {
|
||||
|
||||
/**
|
||||
* Sets extends object
|
||||
*
|
||||
* @param extendsObj Extends object
|
||||
*/
|
||||
public void setExtendsObj(Object extendsObj) {
|
||||
@@ -101,6 +105,7 @@ public class ActionScriptObject implements Cloneable {
|
||||
|
||||
/**
|
||||
* Gets extends object
|
||||
*
|
||||
* @return Extends object
|
||||
*/
|
||||
public Object getExtendsObj() {
|
||||
@@ -109,6 +114,7 @@ public class ActionScriptObject implements Cloneable {
|
||||
|
||||
/**
|
||||
* Removes a member from the object
|
||||
*
|
||||
* @param path Path to the member
|
||||
*/
|
||||
public void removeMember(String path) {
|
||||
@@ -134,6 +140,7 @@ public class ActionScriptObject implements Cloneable {
|
||||
|
||||
/**
|
||||
* Enumerates all members of the object
|
||||
*
|
||||
* @return List of member names
|
||||
*/
|
||||
public List<String> enumerate() {
|
||||
@@ -142,6 +149,7 @@ public class ActionScriptObject implements Cloneable {
|
||||
|
||||
/**
|
||||
* Sets a property of the object
|
||||
*
|
||||
* @param index Index of the property
|
||||
* @param value Value of the property
|
||||
*/
|
||||
@@ -151,6 +159,7 @@ public class ActionScriptObject implements Cloneable {
|
||||
|
||||
/**
|
||||
* Gets a property of the object
|
||||
*
|
||||
* @param index Index of the property
|
||||
* @return Value of the property
|
||||
*/
|
||||
@@ -163,6 +172,7 @@ public class ActionScriptObject implements Cloneable {
|
||||
|
||||
/**
|
||||
* Sets a member of the object
|
||||
*
|
||||
* @param path Path to the member
|
||||
* @param value Value of the member
|
||||
*/
|
||||
@@ -189,6 +199,7 @@ public class ActionScriptObject implements Cloneable {
|
||||
|
||||
/**
|
||||
* Clones the object
|
||||
*
|
||||
* @return Cloned object
|
||||
*/
|
||||
@Override
|
||||
@@ -203,6 +214,7 @@ public class ActionScriptObject implements Cloneable {
|
||||
|
||||
/**
|
||||
* Gets path to a member
|
||||
*
|
||||
* @param obj Member
|
||||
* @return Path to the member
|
||||
*/
|
||||
@@ -228,6 +240,7 @@ public class ActionScriptObject implements Cloneable {
|
||||
|
||||
/**
|
||||
* Gets a member of the object
|
||||
*
|
||||
* @param name Name of the member
|
||||
* @return Member
|
||||
*/
|
||||
@@ -237,6 +250,7 @@ public class ActionScriptObject implements Cloneable {
|
||||
|
||||
/**
|
||||
* Gets a member of the object
|
||||
*
|
||||
* @param path Path to the member
|
||||
* @return Member
|
||||
*/
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -18,6 +18,7 @@ package com.jpexs.decompiler.flash.action;
|
||||
|
||||
/**
|
||||
* Represents a with block in ActionScript.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class ActionScriptWith {
|
||||
@@ -39,6 +40,7 @@ public class ActionScriptWith {
|
||||
|
||||
/**
|
||||
* Constructs a new ActionScriptWith object.
|
||||
*
|
||||
* @param obj Object that is used in the with block.
|
||||
* @param startAddr Start address of the with block.
|
||||
* @param length Length of the with block.
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -24,6 +24,7 @@ import java.util.List;
|
||||
|
||||
/**
|
||||
* Second pass data for ActionScript 1/2 decompiler.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class ActionSecondPassData extends SecondPassData {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -21,12 +21,14 @@ import java.util.List;
|
||||
|
||||
/**
|
||||
* Operation on action tree.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public interface ActionTreeOperation {
|
||||
|
||||
/**
|
||||
* Run operation on action tree.
|
||||
*
|
||||
* @param tree Action tree
|
||||
*/
|
||||
public void run(List<GraphTargetItem> tree);
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -18,6 +18,7 @@ package com.jpexs.decompiler.flash.action;
|
||||
|
||||
/**
|
||||
* Constant pool too big exception.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class ConstantPoolTooBigException extends Exception {
|
||||
@@ -33,7 +34,9 @@ public class ConstantPoolTooBigException extends Exception {
|
||||
public int size;
|
||||
|
||||
/**
|
||||
* Constructs a new ConstantPoolTooBigException with the specified index and size.
|
||||
* Constructs a new ConstantPoolTooBigException with the specified index and
|
||||
* size.
|
||||
*
|
||||
* @param index Index of new item
|
||||
* @param size Size of constant pool
|
||||
*/
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -20,6 +20,7 @@ import com.jpexs.decompiler.flash.timeline.DepthState;
|
||||
|
||||
/**
|
||||
* Adapter for DepthState object.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class DepthStateObjectAdapter extends ActionScriptObject {
|
||||
@@ -30,7 +31,9 @@ public class DepthStateObjectAdapter extends ActionScriptObject {
|
||||
protected DepthState ds;
|
||||
|
||||
/**
|
||||
* Constructs a new DepthStateObjectAdapter with the given DepthState object.
|
||||
* Constructs a new DepthStateObjectAdapter with the given DepthState
|
||||
* object.
|
||||
*
|
||||
* @param ds DepthState object
|
||||
*/
|
||||
public DepthStateObjectAdapter(DepthState ds) {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -23,6 +23,7 @@ import java.util.Map;
|
||||
|
||||
/**
|
||||
* Display object class.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class DisplayObject extends ActionScriptObject {
|
||||
@@ -68,6 +69,7 @@ public class DisplayObject extends ActionScriptObject {
|
||||
|
||||
/**
|
||||
* Gets current frame.
|
||||
*
|
||||
* @return Current frame.
|
||||
*/
|
||||
public int getCurrentFrame() {
|
||||
@@ -76,6 +78,7 @@ public class DisplayObject extends ActionScriptObject {
|
||||
|
||||
/**
|
||||
* Gets total frames.
|
||||
*
|
||||
* @return Total frames.
|
||||
*/
|
||||
public int getTotalFrames() {
|
||||
@@ -84,6 +87,7 @@ public class DisplayObject extends ActionScriptObject {
|
||||
|
||||
/**
|
||||
* Goes to frame.
|
||||
*
|
||||
* @param label Label.
|
||||
*/
|
||||
public void gotoLabel(String label) {
|
||||
@@ -92,6 +96,7 @@ public class DisplayObject extends ActionScriptObject {
|
||||
|
||||
/**
|
||||
* Goes to frame.
|
||||
*
|
||||
* @param frame Frame.
|
||||
*/
|
||||
public void gotoFrame(int frame) {
|
||||
@@ -120,6 +125,7 @@ public class DisplayObject extends ActionScriptObject {
|
||||
|
||||
/**
|
||||
* Calls function.
|
||||
*
|
||||
* @param functionAddress Function address.
|
||||
* @param functionLength Function length.
|
||||
* @param args Arguments.
|
||||
@@ -134,6 +140,7 @@ public class DisplayObject extends ActionScriptObject {
|
||||
|
||||
/**
|
||||
* Calls frame.
|
||||
*
|
||||
* @param frame Frame.
|
||||
*/
|
||||
public void callFrame(int frame) {
|
||||
@@ -142,6 +149,7 @@ public class DisplayObject extends ActionScriptObject {
|
||||
|
||||
/**
|
||||
* Adds to display list.
|
||||
*
|
||||
* @param depth Depth.
|
||||
* @param obj Object.
|
||||
*/
|
||||
@@ -151,6 +159,7 @@ public class DisplayObject extends ActionScriptObject {
|
||||
|
||||
/**
|
||||
* Removes from display list.
|
||||
*
|
||||
* @param depth Depth.
|
||||
* @return
|
||||
*/
|
||||
@@ -160,6 +169,7 @@ public class DisplayObject extends ActionScriptObject {
|
||||
|
||||
/**
|
||||
* Gets from display list.
|
||||
*
|
||||
* @param depth Depth.
|
||||
* @return
|
||||
*/
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -27,6 +27,7 @@ import java.util.Stack;
|
||||
|
||||
/**
|
||||
* Local data area for ActionScript execution.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class LocalDataArea {
|
||||
@@ -98,6 +99,7 @@ public class LocalDataArea {
|
||||
|
||||
/**
|
||||
* Constructs a new local data area.
|
||||
*
|
||||
* @param stage Stage
|
||||
*/
|
||||
public LocalDataArea(Stage stage) {
|
||||
@@ -107,6 +109,7 @@ public class LocalDataArea {
|
||||
|
||||
/**
|
||||
* Constructs a new local data area.
|
||||
*
|
||||
* @param stage Stage
|
||||
* @param preserveVariableOrder Preserve variable order
|
||||
*/
|
||||
@@ -120,6 +123,7 @@ public class LocalDataArea {
|
||||
|
||||
/**
|
||||
* Checks if the stack is empty.
|
||||
*
|
||||
* @return True if the stack is empty, otherwise false
|
||||
*/
|
||||
public boolean stackIsEmpty() {
|
||||
@@ -131,6 +135,7 @@ public class LocalDataArea {
|
||||
|
||||
/**
|
||||
* Checks if the stack has a minimum size.
|
||||
*
|
||||
* @param count Count
|
||||
* @return True if the stack has a minimum size, otherwise false
|
||||
*/
|
||||
@@ -161,6 +166,7 @@ public class LocalDataArea {
|
||||
|
||||
/**
|
||||
* Pushes a value onto the stack.
|
||||
*
|
||||
* @param val Value
|
||||
* @return Value
|
||||
*/
|
||||
@@ -170,6 +176,7 @@ public class LocalDataArea {
|
||||
|
||||
/**
|
||||
* Peeks at the top of the stack.
|
||||
*
|
||||
* @return Value
|
||||
*/
|
||||
public synchronized Object peek() {
|
||||
@@ -183,6 +190,7 @@ public class LocalDataArea {
|
||||
|
||||
/**
|
||||
* Pops a value from the stack.
|
||||
*
|
||||
* @return Value
|
||||
*/
|
||||
public synchronized Object pop() {
|
||||
@@ -196,6 +204,7 @@ public class LocalDataArea {
|
||||
|
||||
/**
|
||||
* Pops a value from the stack as a number.
|
||||
*
|
||||
* @return Value
|
||||
*/
|
||||
public synchronized Double popAsNumber() {
|
||||
@@ -204,6 +213,7 @@ public class LocalDataArea {
|
||||
|
||||
/**
|
||||
* Pops a value from the stack as a string.
|
||||
*
|
||||
* @return Value
|
||||
*/
|
||||
public synchronized String popAsString() {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -25,6 +25,7 @@ import java.util.List;
|
||||
|
||||
/**
|
||||
* Stage object for ActionScript execution.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class Stage extends DisplayObject {
|
||||
@@ -51,6 +52,7 @@ public class Stage extends DisplayObject {
|
||||
|
||||
/**
|
||||
* Constructs a new Stage object.
|
||||
*
|
||||
* @param timelined Timelined object
|
||||
*/
|
||||
public Stage(Timelined timelined) {
|
||||
@@ -62,6 +64,7 @@ public class Stage extends DisplayObject {
|
||||
|
||||
/**
|
||||
* Enumerates the instance names.
|
||||
*
|
||||
* @return List of instance names
|
||||
*/
|
||||
@Override
|
||||
@@ -79,6 +82,7 @@ public class Stage extends DisplayObject {
|
||||
|
||||
/**
|
||||
* Gets the member with the given name.
|
||||
*
|
||||
* @param name Name of the member
|
||||
* @return Member object
|
||||
*/
|
||||
@@ -96,6 +100,7 @@ public class Stage extends DisplayObject {
|
||||
|
||||
/**
|
||||
* Gets the current frame.
|
||||
*
|
||||
* @return Current frame
|
||||
*/
|
||||
public long getTime() {
|
||||
@@ -104,6 +109,7 @@ public class Stage extends DisplayObject {
|
||||
|
||||
/**
|
||||
* Gets total frames.
|
||||
*
|
||||
* @return Total frames
|
||||
*/
|
||||
@Override
|
||||
@@ -116,6 +122,7 @@ public class Stage extends DisplayObject {
|
||||
|
||||
/**
|
||||
* Goto frame.
|
||||
*
|
||||
* @param frameNum Frame.
|
||||
*/
|
||||
@Override
|
||||
@@ -128,6 +135,7 @@ public class Stage extends DisplayObject {
|
||||
|
||||
/**
|
||||
* Goto label.
|
||||
*
|
||||
* @param label Label
|
||||
*/
|
||||
@Override
|
||||
@@ -157,6 +165,7 @@ public class Stage extends DisplayObject {
|
||||
|
||||
/**
|
||||
* Gets the URL.
|
||||
*
|
||||
* @param url URL
|
||||
* @param target Target
|
||||
*/
|
||||
@@ -166,6 +175,7 @@ public class Stage extends DisplayObject {
|
||||
|
||||
/**
|
||||
* Traces the given values.
|
||||
*
|
||||
* @param val Values
|
||||
*/
|
||||
public void trace(Object... val) {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -21,12 +21,14 @@ import com.jpexs.decompiler.graph.TranslateStack;
|
||||
|
||||
/**
|
||||
* Store type action interface.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public interface StoreTypeAction {
|
||||
|
||||
/**
|
||||
* Gets variable name.
|
||||
*
|
||||
* @param stack Stack
|
||||
* @param cpool Constant pool
|
||||
* @return Variable name
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -18,6 +18,7 @@ package com.jpexs.decompiler.flash.action;
|
||||
|
||||
/**
|
||||
* Unknown action exception.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class UnknownActionException extends RuntimeException {
|
||||
@@ -29,6 +30,7 @@ public class UnknownActionException extends RuntimeException {
|
||||
|
||||
/**
|
||||
* Constructs a new unknown action exception.
|
||||
*
|
||||
* @param opCode OpCode
|
||||
*/
|
||||
public UnknownActionException(int opCode) {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -61,6 +61,7 @@ import java.util.regex.Pattern;
|
||||
|
||||
/**
|
||||
* Detects AS2 classes inside DoInitAction tags
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class ActionScript2ClassDetector {
|
||||
@@ -82,6 +83,7 @@ public class ActionScript2ClassDetector {
|
||||
|
||||
/**
|
||||
* Constructs a new AssertException
|
||||
*
|
||||
* @param condition Condition
|
||||
*/
|
||||
public AssertException(String condition) {
|
||||
@@ -91,6 +93,7 @@ public class ActionScript2ClassDetector {
|
||||
|
||||
/**
|
||||
* Gets condition
|
||||
*
|
||||
* @return Condition
|
||||
*/
|
||||
public String getCondition() {
|
||||
@@ -164,6 +167,7 @@ public class ActionScript2ClassDetector {
|
||||
/**
|
||||
* Converts SetMemberActionItem to GetMemberActionItem,
|
||||
* SetVariableActionItem to GetVariableActionItem.
|
||||
*
|
||||
* @param item Item
|
||||
* @return Converted item
|
||||
*/
|
||||
@@ -177,8 +181,9 @@ public class ActionScript2ClassDetector {
|
||||
}
|
||||
|
||||
/**
|
||||
* Converts NewMethodActionItem or NewObjectActionItem
|
||||
* to GetMemberActionItem or GetVariableActionItem.
|
||||
* Converts NewMethodActionItem or NewObjectActionItem to
|
||||
* GetMemberActionItem or GetVariableActionItem.
|
||||
*
|
||||
* @param nobj Item
|
||||
* @return Converted item
|
||||
* @throws AssertException
|
||||
@@ -196,6 +201,7 @@ public class ActionScript2ClassDetector {
|
||||
|
||||
/**
|
||||
* Gets path of setmembers: a.b.c.d => [a,b,c,d].
|
||||
*
|
||||
* @param item Item
|
||||
* @return List of path or null if not members path
|
||||
*/
|
||||
@@ -256,6 +262,7 @@ public class ActionScript2ClassDetector {
|
||||
|
||||
/**
|
||||
* Gets item without global prefix.
|
||||
*
|
||||
* @param ti Item
|
||||
* @return Item without global prefix
|
||||
*/
|
||||
@@ -289,6 +296,7 @@ public class ActionScript2ClassDetector {
|
||||
|
||||
/**
|
||||
* Converts item to string.
|
||||
*
|
||||
* @param item Item
|
||||
* @param itemName Item name for exception
|
||||
* @return String
|
||||
@@ -307,6 +315,7 @@ public class ActionScript2ClassDetector {
|
||||
|
||||
/**
|
||||
* Detects classes in AS2 script.
|
||||
*
|
||||
* @param uninitializedClassTraits Uninitialized class traits
|
||||
* @param parts Parts
|
||||
* @param variables Variables
|
||||
@@ -824,10 +833,10 @@ public class ActionScript2ClassDetector {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* In some weird cases, ifs are detected as ternars,
|
||||
* this method expands ternars to ifs.
|
||||
* In some weird cases, ifs are detected as ternars, this method expands
|
||||
* ternars to ifs.
|
||||
*
|
||||
* @param commands Commands
|
||||
*/
|
||||
private void expandTernars(List<GraphTargetItem> commands) {
|
||||
@@ -855,6 +864,7 @@ public class ActionScript2ClassDetector {
|
||||
|
||||
/**
|
||||
* Checks if variants.
|
||||
*
|
||||
* @param uninitializedClassTraits Uninitialized class traits
|
||||
* @param commands Commands
|
||||
* @param variables Variables
|
||||
@@ -1003,6 +1013,7 @@ public class ActionScript2ClassDetector {
|
||||
|
||||
/**
|
||||
* Checks class.
|
||||
*
|
||||
* @param uninitializedClassTraits Uninitialized class traits
|
||||
* @param commands Commands
|
||||
* @param variables Variables
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -114,6 +114,7 @@ public class ActionScript2Classes {
|
||||
|
||||
/**
|
||||
* Check if trait exists in class.
|
||||
*
|
||||
* @param className Class name
|
||||
* @param name Trait name
|
||||
* @param withInheritance Whether to check also parent classes
|
||||
@@ -178,6 +179,7 @@ public class ActionScript2Classes {
|
||||
|
||||
/**
|
||||
* Get map of class name to map of trait name to trait.
|
||||
*
|
||||
* @return Map of class name to map of trait name to trait
|
||||
*/
|
||||
public static Map<String, Map<String, Trait>> getClassToTraits() {
|
||||
@@ -187,6 +189,7 @@ public class ActionScript2Classes {
|
||||
|
||||
/**
|
||||
* Get map of class name to list of parent class names.
|
||||
*
|
||||
* @return Map of class name to list of parent class names
|
||||
*/
|
||||
public static Map<String, List<String>> getClassInheritance() {
|
||||
@@ -194,9 +197,9 @@ public class ActionScript2Classes {
|
||||
return classInheritance;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sample test
|
||||
*
|
||||
* @param args
|
||||
*/
|
||||
public static void main(String[] args) {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -18,6 +18,7 @@ package com.jpexs.decompiler.flash.action.as2;
|
||||
|
||||
/**
|
||||
* Represents a method trait in ActionScript 2.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class Method implements Trait {
|
||||
@@ -44,6 +45,7 @@ public class Method implements Trait {
|
||||
|
||||
/**
|
||||
* Constructs a new method trait.
|
||||
*
|
||||
* @param isStatic Whether the method is static
|
||||
* @param name Name of the method
|
||||
* @param returnType Return type of the method
|
||||
@@ -58,6 +60,7 @@ public class Method implements Trait {
|
||||
|
||||
/**
|
||||
* Gets the name of the class the method is in.
|
||||
*
|
||||
* @return Class name
|
||||
*/
|
||||
@Override
|
||||
@@ -67,6 +70,7 @@ public class Method implements Trait {
|
||||
|
||||
/**
|
||||
* Gets whether the method is static.
|
||||
*
|
||||
* @return Whether the method is static
|
||||
*/
|
||||
@Override
|
||||
@@ -76,6 +80,7 @@ public class Method implements Trait {
|
||||
|
||||
/**
|
||||
* Gets the name of the method.
|
||||
*
|
||||
* @return Name
|
||||
*/
|
||||
@Override
|
||||
@@ -85,6 +90,7 @@ public class Method implements Trait {
|
||||
|
||||
/**
|
||||
* Gets the return type of the method.
|
||||
*
|
||||
* @return Return type
|
||||
*/
|
||||
public String getReturnType() {
|
||||
@@ -93,6 +99,7 @@ public class Method implements Trait {
|
||||
|
||||
/**
|
||||
* Converts the method to a string.
|
||||
*
|
||||
* @return String representation
|
||||
*/
|
||||
@Override
|
||||
@@ -102,6 +109,7 @@ public class Method implements Trait {
|
||||
|
||||
/**
|
||||
* Gets the call type of the method.
|
||||
*
|
||||
* @return Call type
|
||||
*/
|
||||
@Override
|
||||
@@ -111,6 +119,7 @@ public class Method implements Trait {
|
||||
|
||||
/**
|
||||
* Gets the type of the trait.
|
||||
*
|
||||
* @return Trait type
|
||||
*/
|
||||
@Override
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -18,36 +18,42 @@ package com.jpexs.decompiler.flash.action.as2;
|
||||
|
||||
/**
|
||||
* Represents a trait in ActionScript 2.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public interface Trait {
|
||||
|
||||
/**
|
||||
* Whether the trait is static
|
||||
*
|
||||
* @return Whether the trait is static
|
||||
*/
|
||||
public boolean isStatic();
|
||||
|
||||
/**
|
||||
* Gets the name of the trait
|
||||
*
|
||||
* @return Name of the trait
|
||||
*/
|
||||
public String getName();
|
||||
|
||||
/**
|
||||
* Gets the type of the trait
|
||||
*
|
||||
* @return Type of the trait
|
||||
*/
|
||||
public String getType();
|
||||
|
||||
/**
|
||||
* Gets the call type of the trait
|
||||
*
|
||||
* @return Call type of the trait
|
||||
*/
|
||||
public String getCallType();
|
||||
|
||||
/**
|
||||
* Gets the class name of the trait
|
||||
*
|
||||
* @return Class name of the trait
|
||||
*/
|
||||
public String getClassName();
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -42,6 +42,7 @@ import java.util.Map;
|
||||
|
||||
/**
|
||||
* Uninitialized class fields detector for ActionScript 2.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class UninitializedClassFieldsDetector {
|
||||
@@ -94,6 +95,7 @@ public class UninitializedClassFieldsDetector {
|
||||
|
||||
/**
|
||||
* Gets full path of item: a.b.c.d => [a,b,c,d].
|
||||
*
|
||||
* @param item Item to get path from
|
||||
* @return List of path or null if not members path
|
||||
*/
|
||||
@@ -156,6 +158,7 @@ public class UninitializedClassFieldsDetector {
|
||||
|
||||
/**
|
||||
* Checks whether the class contains a trait.
|
||||
*
|
||||
* @param classTraits Class traits
|
||||
* @param classInheritance Class inheritance
|
||||
* @param className Class name
|
||||
@@ -179,6 +182,7 @@ public class UninitializedClassFieldsDetector {
|
||||
|
||||
/**
|
||||
* Calculates uninitialized class traits.
|
||||
*
|
||||
* @param swf SWF
|
||||
* @return Map of class name to map of trait name to trait
|
||||
*/
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -18,6 +18,7 @@ package com.jpexs.decompiler.flash.action.as2;
|
||||
|
||||
/**
|
||||
* Represents a variable trait in ActionScript 2.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class Variable implements Trait {
|
||||
@@ -44,6 +45,7 @@ public class Variable implements Trait {
|
||||
|
||||
/**
|
||||
* Constructs a new variable trait.
|
||||
*
|
||||
* @param isStatic Whether the variable is static
|
||||
* @param name Name of the variable
|
||||
* @param type Type of the variable
|
||||
@@ -58,6 +60,7 @@ public class Variable implements Trait {
|
||||
|
||||
/**
|
||||
* Checks whether the variable is static
|
||||
*
|
||||
* @return Whether the variable is static
|
||||
*/
|
||||
@Override
|
||||
@@ -67,6 +70,7 @@ public class Variable implements Trait {
|
||||
|
||||
/**
|
||||
* Gets the name of the variable
|
||||
*
|
||||
* @return Name of the variable
|
||||
*/
|
||||
@Override
|
||||
@@ -76,6 +80,7 @@ public class Variable implements Trait {
|
||||
|
||||
/**
|
||||
* Gets the type of the variable
|
||||
*
|
||||
* @return Type of the variable
|
||||
*/
|
||||
@Override
|
||||
@@ -85,6 +90,7 @@ public class Variable implements Trait {
|
||||
|
||||
/**
|
||||
* Converts the variable to a string
|
||||
*
|
||||
* @return String representation of the variable
|
||||
*/
|
||||
@Override
|
||||
@@ -94,6 +100,7 @@ public class Variable implements Trait {
|
||||
|
||||
/**
|
||||
* Gets the call type of the variable
|
||||
*
|
||||
* @return Call type of the variable
|
||||
*/
|
||||
@Override
|
||||
@@ -103,6 +110,7 @@ public class Variable implements Trait {
|
||||
|
||||
/**
|
||||
* Gets the class name of the variable
|
||||
*
|
||||
* @return Class name of the variable
|
||||
*/
|
||||
@Override
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/**
|
||||
* ActionScript 2.0 decompilation.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.action.as2;
|
||||
package com.jpexs.decompiler.flash.action.as2;
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -94,6 +94,7 @@ import java.util.Stack;
|
||||
|
||||
/**
|
||||
* ActionScript 1/2 deobfuscator.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class ActionDeobfuscator extends SWFDecompilerAdapter {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -18,6 +18,7 @@ package com.jpexs.decompiler.flash.action.deobfuscation;
|
||||
|
||||
/**
|
||||
* Detects if the code is broken.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class BrokenScriptDetector {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/**
|
||||
* Deobfuscating ActionScript 1/2 code.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.action.deobfuscation;
|
||||
package com.jpexs.decompiler.flash.action.deobfuscation;
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -23,6 +23,7 @@ import java.util.Set;
|
||||
|
||||
/**
|
||||
* Action in the fast action list.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class ActionItem {
|
||||
@@ -63,8 +64,7 @@ public class ActionItem {
|
||||
private List<ActionItem> containerLastActions;
|
||||
|
||||
/**
|
||||
* Reachable flag.
|
||||
* 1 means reachable, 2 means reachable and processed
|
||||
* Reachable flag. 1 means reachable, 2 means reachable and processed
|
||||
*/
|
||||
int reachable;
|
||||
|
||||
@@ -75,6 +75,7 @@ public class ActionItem {
|
||||
|
||||
/**
|
||||
* Constructs a new ActionItem.
|
||||
*
|
||||
* @param action
|
||||
*/
|
||||
public ActionItem(Action action) {
|
||||
@@ -83,6 +84,7 @@ public class ActionItem {
|
||||
|
||||
/**
|
||||
* Checks if this action is a jump target.
|
||||
*
|
||||
* @return true if this action is a jump target
|
||||
*/
|
||||
public boolean isJumpTarget() {
|
||||
@@ -91,6 +93,7 @@ public class ActionItem {
|
||||
|
||||
/**
|
||||
* Gets the number of jumps to this action.
|
||||
*
|
||||
* @return Number of jumps to this action
|
||||
*/
|
||||
public int jumpsHereSize() {
|
||||
@@ -99,6 +102,7 @@ public class ActionItem {
|
||||
|
||||
/**
|
||||
* Checks if this action is the last action of a container.
|
||||
*
|
||||
* @return True if this action is the last action of a container
|
||||
*/
|
||||
public boolean isContainerLastAction() {
|
||||
@@ -122,6 +126,7 @@ public class ActionItem {
|
||||
|
||||
/**
|
||||
* Gets the jump target.
|
||||
*
|
||||
* @return Jump target
|
||||
*/
|
||||
public ActionItem getJumpTarget() {
|
||||
@@ -130,6 +135,7 @@ public class ActionItem {
|
||||
|
||||
/**
|
||||
* Gets the jump target action.
|
||||
*
|
||||
* @return Jump target action
|
||||
*/
|
||||
public Action getJumpTargetAction() {
|
||||
@@ -138,6 +144,7 @@ public class ActionItem {
|
||||
|
||||
/**
|
||||
* Sets the jump target.
|
||||
*
|
||||
* @param item Jump target
|
||||
*/
|
||||
public void setJumpTarget(ActionItem item) {
|
||||
@@ -157,6 +164,7 @@ public class ActionItem {
|
||||
|
||||
/**
|
||||
* Gets container last actions.
|
||||
*
|
||||
* @return Container last actions
|
||||
*/
|
||||
public List<ActionItem> getContainerLastActions() {
|
||||
@@ -182,6 +190,7 @@ public class ActionItem {
|
||||
|
||||
/**
|
||||
* Replaces container last action.
|
||||
*
|
||||
* @param oldItem Old action
|
||||
* @param newItem New action
|
||||
*/
|
||||
@@ -204,6 +213,7 @@ public class ActionItem {
|
||||
|
||||
/**
|
||||
* Sets container last actions.
|
||||
*
|
||||
* @param lastActions Container last actions
|
||||
*/
|
||||
public void setContainerLastActions(List<ActionItem> lastActions) {
|
||||
@@ -218,6 +228,7 @@ public class ActionItem {
|
||||
|
||||
/**
|
||||
* Ensures last action of.
|
||||
*
|
||||
* @return Last action of
|
||||
*/
|
||||
private Set<ActionItem> ensureLastActionOf() {
|
||||
@@ -230,6 +241,7 @@ public class ActionItem {
|
||||
|
||||
/**
|
||||
* Checks if this action is excluded.
|
||||
*
|
||||
* @return True if this action is excluded
|
||||
*/
|
||||
public boolean isExcluded() {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -34,6 +34,7 @@ import java.util.Set;
|
||||
|
||||
/**
|
||||
* Fast action list implementation.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class FastActionList implements Collection<ActionItem> {
|
||||
@@ -65,6 +66,7 @@ public class FastActionList implements Collection<ActionItem> {
|
||||
|
||||
/**
|
||||
* Constructs a new fast action list.
|
||||
*
|
||||
* @param actions Action list
|
||||
*/
|
||||
public FastActionList(ActionList actions) {
|
||||
@@ -82,6 +84,7 @@ public class FastActionList implements Collection<ActionItem> {
|
||||
|
||||
/**
|
||||
* Gets the charset of the actions.
|
||||
*
|
||||
* @return Charset
|
||||
*/
|
||||
public String getCharset() {
|
||||
@@ -90,6 +93,7 @@ public class FastActionList implements Collection<ActionItem> {
|
||||
|
||||
/**
|
||||
* Inserts an action before the specified item.
|
||||
*
|
||||
* @param item Item
|
||||
* @param action Action
|
||||
* @return New action item
|
||||
@@ -101,6 +105,7 @@ public class FastActionList implements Collection<ActionItem> {
|
||||
|
||||
/**
|
||||
* Inserts an action before the specified item.
|
||||
*
|
||||
* @param item Item
|
||||
* @param newItem New action item
|
||||
* @return New action item
|
||||
@@ -116,6 +121,7 @@ public class FastActionList implements Collection<ActionItem> {
|
||||
|
||||
/**
|
||||
* Inserts an action after the specified item.
|
||||
*
|
||||
* @param item Item
|
||||
* @param action Action
|
||||
* @return New action item
|
||||
@@ -127,6 +133,7 @@ public class FastActionList implements Collection<ActionItem> {
|
||||
|
||||
/**
|
||||
* Inserts an action after the specified item.
|
||||
*
|
||||
* @param item Item
|
||||
* @param newItem New action item
|
||||
* @return New action item
|
||||
@@ -157,6 +164,7 @@ public class FastActionList implements Collection<ActionItem> {
|
||||
|
||||
/**
|
||||
* Removes the specified item.
|
||||
*
|
||||
* @param item Item
|
||||
* @return Next item
|
||||
*/
|
||||
@@ -202,6 +210,7 @@ public class FastActionList implements Collection<ActionItem> {
|
||||
|
||||
/**
|
||||
* Removes the item(s) at the specified index.
|
||||
*
|
||||
* @param index Index
|
||||
* @param count Count
|
||||
*/
|
||||
@@ -215,6 +224,7 @@ public class FastActionList implements Collection<ActionItem> {
|
||||
|
||||
/**
|
||||
* Gets the item at the specified index.
|
||||
*
|
||||
* @param index Index
|
||||
* @return Item
|
||||
*/
|
||||
@@ -225,6 +235,7 @@ public class FastActionList implements Collection<ActionItem> {
|
||||
|
||||
/**
|
||||
* Replaces the jump targets.
|
||||
*
|
||||
* @param target Target
|
||||
* @param newTarget New target
|
||||
*/
|
||||
@@ -238,6 +249,7 @@ public class FastActionList implements Collection<ActionItem> {
|
||||
|
||||
/**
|
||||
* Gets the last actions.
|
||||
*
|
||||
* @param actions Action list
|
||||
* @param actionItemMap Action item map
|
||||
*/
|
||||
@@ -259,6 +271,7 @@ public class FastActionList implements Collection<ActionItem> {
|
||||
|
||||
/**
|
||||
* Gets the last actions of a container.
|
||||
*
|
||||
* @param actions Action list
|
||||
* @param action Action
|
||||
* @param actionItemMap Action item map
|
||||
@@ -288,6 +301,7 @@ public class FastActionList implements Collection<ActionItem> {
|
||||
|
||||
/**
|
||||
* Gets the nearest address.
|
||||
*
|
||||
* @param actions Action list
|
||||
* @param address Address
|
||||
* @param next Next
|
||||
@@ -316,6 +330,7 @@ public class FastActionList implements Collection<ActionItem> {
|
||||
|
||||
/**
|
||||
* Gets the jumps.
|
||||
*
|
||||
* @param actions Action list
|
||||
* @param actionItemMap Action item map
|
||||
*/
|
||||
@@ -474,6 +489,7 @@ public class FastActionList implements Collection<ActionItem> {
|
||||
|
||||
/**
|
||||
* Gets the container.
|
||||
*
|
||||
* @param item Item
|
||||
* @return Container
|
||||
*/
|
||||
@@ -608,6 +624,7 @@ public class FastActionList implements Collection<ActionItem> {
|
||||
|
||||
/**
|
||||
* Gets the unreachable action count.
|
||||
*
|
||||
* @param jump Jump
|
||||
* @param jumpTarget Jump target
|
||||
* @return Unreachable action count
|
||||
@@ -650,6 +667,7 @@ public class FastActionList implements Collection<ActionItem> {
|
||||
|
||||
/**
|
||||
* Sets the excluded flags.
|
||||
*
|
||||
* @param value Value
|
||||
*/
|
||||
public void setExcludedFlags(boolean value) {
|
||||
@@ -666,6 +684,7 @@ public class FastActionList implements Collection<ActionItem> {
|
||||
|
||||
/**
|
||||
* Updates the reachable flags.
|
||||
*
|
||||
* @param jump Jump
|
||||
* @param jumpTarget Jump target
|
||||
*/
|
||||
@@ -734,6 +753,7 @@ public class FastActionList implements Collection<ActionItem> {
|
||||
|
||||
/**
|
||||
* Updates the actions.
|
||||
*
|
||||
* @return Action list
|
||||
*/
|
||||
public ActionList updateActions() {
|
||||
@@ -758,6 +778,7 @@ public class FastActionList implements Collection<ActionItem> {
|
||||
|
||||
/**
|
||||
* Gets the first action.
|
||||
*
|
||||
* @return First action
|
||||
*/
|
||||
public ActionItem first() {
|
||||
@@ -766,6 +787,7 @@ public class FastActionList implements Collection<ActionItem> {
|
||||
|
||||
/**
|
||||
* Gets the last action.
|
||||
*
|
||||
* @return Last action
|
||||
*/
|
||||
public ActionItem last() {
|
||||
@@ -774,6 +796,7 @@ public class FastActionList implements Collection<ActionItem> {
|
||||
|
||||
/**
|
||||
* Converts list to action list.
|
||||
*
|
||||
* @return Action list
|
||||
*/
|
||||
public ActionList toActionList() {
|
||||
@@ -782,6 +805,7 @@ public class FastActionList implements Collection<ActionItem> {
|
||||
|
||||
/**
|
||||
* Gets the size of the list.
|
||||
*
|
||||
* @return Size
|
||||
*/
|
||||
@Override
|
||||
@@ -791,6 +815,7 @@ public class FastActionList implements Collection<ActionItem> {
|
||||
|
||||
/**
|
||||
* Checks if the list is empty.
|
||||
*
|
||||
* @return True if the list is empty, otherwise false
|
||||
*/
|
||||
@Override
|
||||
@@ -800,6 +825,7 @@ public class FastActionList implements Collection<ActionItem> {
|
||||
|
||||
/**
|
||||
* Checks if the list contains the specified element.
|
||||
*
|
||||
* @param o element whose presence in this collection is to be tested
|
||||
* @return True if the list contains the specified element, otherwise false
|
||||
*/
|
||||
@@ -816,6 +842,7 @@ public class FastActionList implements Collection<ActionItem> {
|
||||
|
||||
/**
|
||||
* Gets the iterator.
|
||||
*
|
||||
* @return Iterator
|
||||
*/
|
||||
@Override
|
||||
@@ -825,6 +852,7 @@ public class FastActionList implements Collection<ActionItem> {
|
||||
|
||||
/**
|
||||
* Converts the list to an array.
|
||||
*
|
||||
* @return Array
|
||||
*/
|
||||
@Override
|
||||
@@ -847,11 +875,12 @@ public class FastActionList implements Collection<ActionItem> {
|
||||
|
||||
/**
|
||||
* Converts the list to an array.
|
||||
*
|
||||
* @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.
|
||||
* @return Array
|
||||
* stored, if it is big enough; otherwise, a new array of the same runtime
|
||||
* type is allocated for this purpose.
|
||||
* @param <T> Type
|
||||
* @return Array
|
||||
*/
|
||||
@Override
|
||||
@SuppressWarnings("unchecked")
|
||||
@@ -876,6 +905,7 @@ public class FastActionList implements Collection<ActionItem> {
|
||||
|
||||
/**
|
||||
* Adds an element to the list.
|
||||
*
|
||||
* @param e element whose presence in this collection is to be ensured
|
||||
* @return True
|
||||
*/
|
||||
@@ -887,6 +917,7 @@ public class FastActionList implements Collection<ActionItem> {
|
||||
|
||||
/**
|
||||
* Removes the specified element from the list.
|
||||
*
|
||||
* @param o element to be removed from this collection, if present
|
||||
* @return True if the list contained the specified element, otherwise false
|
||||
*/
|
||||
@@ -909,8 +940,10 @@ public class FastActionList implements Collection<ActionItem> {
|
||||
|
||||
/**
|
||||
* Checks if the list contains all elements of the specified collection.
|
||||
*
|
||||
* @param c collection to be checked for containment in this collection
|
||||
* @return True if the list contains all elements of the specified collection, otherwise false
|
||||
* @return True if the list contains all elements of the specified
|
||||
* collection, otherwise false
|
||||
*/
|
||||
@Override
|
||||
public boolean containsAll(Collection<?> c) {
|
||||
@@ -925,6 +958,7 @@ public class FastActionList implements Collection<ActionItem> {
|
||||
|
||||
/**
|
||||
* Adds all elements of the specified collection to the list.
|
||||
*
|
||||
* @param c collection containing elements to be added to this collection
|
||||
* @return True
|
||||
*/
|
||||
@@ -939,8 +973,11 @@ public class FastActionList implements Collection<ActionItem> {
|
||||
|
||||
/**
|
||||
* Removes all elements of the specified collection from the list.
|
||||
* @param c collection containing elements to be removed from this collection
|
||||
* @return True if the list contained all elements of the specified collection, otherwise false
|
||||
*
|
||||
* @param c collection containing elements to be removed from this
|
||||
* collection
|
||||
* @return True if the list contained all elements of the specified
|
||||
* collection, otherwise false
|
||||
*/
|
||||
@Override
|
||||
public boolean removeAll(Collection<?> c) {
|
||||
@@ -953,7 +990,9 @@ public class FastActionList implements Collection<ActionItem> {
|
||||
}
|
||||
|
||||
/**
|
||||
* Retains only the elements in the list that are contained in the specified collection.
|
||||
* Retains only the elements in the list that are contained in the specified
|
||||
* collection.
|
||||
*
|
||||
* @param c collection containing elements to be retained in this collection
|
||||
* @return True if the list changed as a result of the call, otherwise false
|
||||
*/
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -21,6 +21,7 @@ import java.util.Iterator;
|
||||
|
||||
/**
|
||||
* Iterator for FastActionList.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public final class FastActionListIterator implements Iterator<ActionItem> {
|
||||
@@ -42,6 +43,7 @@ public final class FastActionListIterator implements Iterator<ActionItem> {
|
||||
|
||||
/**
|
||||
* Constructs a new FastActionListIterator.
|
||||
*
|
||||
* @param list
|
||||
*/
|
||||
FastActionListIterator(FastActionList list) {
|
||||
@@ -51,6 +53,7 @@ public final class FastActionListIterator implements Iterator<ActionItem> {
|
||||
|
||||
/**
|
||||
* Constructs a new FastActionListIterator.
|
||||
*
|
||||
* @param list
|
||||
* @param index
|
||||
*/
|
||||
@@ -68,6 +71,7 @@ public final class FastActionListIterator implements Iterator<ActionItem> {
|
||||
|
||||
/**
|
||||
* Returns if there is a next item.
|
||||
*
|
||||
* @return If there is a next item
|
||||
*/
|
||||
@Override
|
||||
@@ -77,6 +81,7 @@ public final class FastActionListIterator implements Iterator<ActionItem> {
|
||||
|
||||
/**
|
||||
* Returns the next item.
|
||||
*
|
||||
* @return The next item
|
||||
*/
|
||||
@Override
|
||||
@@ -93,6 +98,7 @@ public final class FastActionListIterator implements Iterator<ActionItem> {
|
||||
|
||||
/**
|
||||
* Returns the previous item.
|
||||
*
|
||||
* @return The previous item
|
||||
*/
|
||||
public ActionItem prev() {
|
||||
@@ -109,6 +115,7 @@ public final class FastActionListIterator implements Iterator<ActionItem> {
|
||||
|
||||
/**
|
||||
* Sets the current item.
|
||||
*
|
||||
* @param item The item
|
||||
*/
|
||||
public void setCurrent(ActionItem item) {
|
||||
@@ -128,6 +135,7 @@ public final class FastActionListIterator implements Iterator<ActionItem> {
|
||||
|
||||
/**
|
||||
* Adds an action after the current item.
|
||||
*
|
||||
* @param action The action
|
||||
*/
|
||||
public void add(Action action) {
|
||||
@@ -136,6 +144,7 @@ public final class FastActionListIterator implements Iterator<ActionItem> {
|
||||
|
||||
/**
|
||||
* Adds an action item after the current item.
|
||||
*
|
||||
* @param actionItem The action item
|
||||
*/
|
||||
public void add(ActionItem actionItem) {
|
||||
@@ -144,6 +153,7 @@ public final class FastActionListIterator implements Iterator<ActionItem> {
|
||||
|
||||
/**
|
||||
* Adds an action before the current item.
|
||||
*
|
||||
* @param actionItem The action
|
||||
*/
|
||||
public void addBefore(ActionItem actionItem) {
|
||||
@@ -152,6 +162,7 @@ public final class FastActionListIterator implements Iterator<ActionItem> {
|
||||
|
||||
/**
|
||||
* Gets item at index.
|
||||
*
|
||||
* @param index Index
|
||||
* @return Item at index
|
||||
*/
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/**
|
||||
* Fast action list.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.action.fastactionlist;
|
||||
package com.jpexs.decompiler.flash.action.fastactionlist;
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -32,6 +32,7 @@ import java.util.Map;
|
||||
|
||||
/**
|
||||
* FSCommand2 action - file system command.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class ActionFSCommand2 extends Action {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -35,6 +35,7 @@ import java.util.Map;
|
||||
|
||||
/**
|
||||
* StrictMode action - set strict mode.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class ActionStrictMode extends Action {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/**
|
||||
* Flash Lite Actions.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.action.flashlite;
|
||||
package com.jpexs.decompiler.flash.action.flashlite;
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -33,6 +33,7 @@ import java.util.List;
|
||||
|
||||
/**
|
||||
* Base class for ActionScript 1/2 high-level model items.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public abstract class ActionItem extends GraphTargetItem implements Serializable {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -31,6 +31,7 @@ import java.util.Objects;
|
||||
|
||||
/**
|
||||
* Convert ASCII code to character.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class AsciiToCharActionItem extends ActionItem {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -30,6 +30,7 @@ import java.util.Objects;
|
||||
|
||||
/**
|
||||
* Call.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class CallActionItem extends ActionItem {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -39,6 +39,7 @@ import java.util.Set;
|
||||
|
||||
/**
|
||||
* Call function.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class CallFunctionActionItem extends ActionItem {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -34,6 +34,7 @@ import java.util.Objects;
|
||||
|
||||
/**
|
||||
* Call method.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class CallMethodActionItem extends ActionItem {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -31,6 +31,7 @@ import java.util.Objects;
|
||||
|
||||
/**
|
||||
* Cast.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class CastOpActionItem extends ActionItem {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -31,6 +31,7 @@ import java.util.Set;
|
||||
|
||||
/**
|
||||
* Convert character to ASCII code.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class CharToAsciiActionItem extends ActionItem {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -34,6 +34,7 @@ import java.util.Objects;
|
||||
|
||||
/**
|
||||
* Clone sprite.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class CloneSpriteActionItem extends ActionItem {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -19,8 +19,8 @@ package com.jpexs.decompiler.flash.action.model;
|
||||
import com.jpexs.decompiler.graph.model.CompoundableBinaryOp;
|
||||
|
||||
/**
|
||||
* CompoundableBinaryOp but for AS1/2, which does not have &&, || compound
|
||||
* operator.
|
||||
* CompoundableBinaryOp but for AS1/2, which does not have &&, ||
|
||||
* compound operator.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -21,6 +21,7 @@ import java.util.List;
|
||||
|
||||
/**
|
||||
* Constant pool for ActionScript 1/2.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class ConstantPool {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -32,6 +32,7 @@ import java.util.Set;
|
||||
|
||||
/**
|
||||
* Decrement.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class DecrementActionItem extends ActionItem {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -34,6 +34,7 @@ import java.util.Objects;
|
||||
|
||||
/**
|
||||
* Define local variable.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class DefineLocalActionItem extends ActionItem implements SetTypeActionItem {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -33,6 +33,7 @@ import java.util.Objects;
|
||||
|
||||
/**
|
||||
* Delete property.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class DeleteActionItem extends ActionItem {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -41,6 +41,7 @@ import java.util.Set;
|
||||
|
||||
/**
|
||||
* Direct value.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class DirectValueActionItem extends ActionItem implements SimpleValue {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -32,6 +32,7 @@ import java.util.Objects;
|
||||
|
||||
/**
|
||||
* Enumerate.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class EnumerateActionItem extends ActionItem {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -30,6 +30,7 @@ import java.util.List;
|
||||
|
||||
/**
|
||||
* Enumerated value. Helper item for loop detection.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class EnumeratedValueActionItem extends ActionItem implements BranchStackResistant {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -29,6 +29,7 @@ import java.util.List;
|
||||
|
||||
/**
|
||||
* Enumeration assignment. Helper item for loop detection.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class EnumerationAssignmentValueActionItem extends ActionItem {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -29,6 +29,7 @@ import java.util.Objects;
|
||||
|
||||
/**
|
||||
* Eval.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class EvalActionItem extends ActionItem {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -26,6 +26,7 @@ import java.util.Objects;
|
||||
|
||||
/**
|
||||
* Extends.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class ExtendsActionItem extends ActionItem {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -34,6 +34,7 @@ import java.util.Objects;
|
||||
|
||||
/**
|
||||
* FSCommand2.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class FSCommand2ActionItem extends ActionItem {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -34,6 +34,7 @@ import java.util.Objects;
|
||||
|
||||
/**
|
||||
* FSCommand.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class FSCommandActionItem extends ActionItem {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -47,6 +47,7 @@ import java.util.Set;
|
||||
|
||||
/**
|
||||
* Function.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class FunctionActionItem extends ActionItem implements BranchStackResistant {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -34,6 +34,7 @@ import java.util.Objects;
|
||||
|
||||
/**
|
||||
* Get member.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class GetMemberActionItem extends ActionItem {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -34,6 +34,7 @@ import java.util.Objects;
|
||||
|
||||
/**
|
||||
* Get property.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class GetPropertyActionItem extends ActionItem {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -30,6 +30,7 @@ import java.util.Set;
|
||||
|
||||
/**
|
||||
* Get time.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class GetTimeActionItem extends ActionItem {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -34,6 +34,7 @@ import java.util.Objects;
|
||||
|
||||
/**
|
||||
* Get URL2.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class GetURL2ActionItem extends ActionItem {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -31,6 +31,7 @@ import java.util.Objects;
|
||||
|
||||
/**
|
||||
* Get URL.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class GetURLActionItem extends ActionItem {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -36,6 +36,7 @@ import java.util.Set;
|
||||
|
||||
/**
|
||||
* Get variable.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class GetVariableActionItem extends ActionItem {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -29,6 +29,7 @@ import java.util.List;
|
||||
|
||||
/**
|
||||
* Get version.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class GetVersionActionItem extends ActionItem {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -37,6 +37,7 @@ import java.util.Objects;
|
||||
|
||||
/**
|
||||
* Goto frame, v2.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class GotoFrame2ActionItem extends ActionItem {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -28,6 +28,7 @@ import java.util.List;
|
||||
|
||||
/**
|
||||
* Goto frame.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class GotoFrameActionItem extends ActionItem {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -30,6 +30,7 @@ import java.util.Objects;
|
||||
|
||||
/**
|
||||
* Goto label.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class GotoLabelActionItem extends ActionItem {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -26,6 +26,7 @@ import java.util.Objects;
|
||||
|
||||
/**
|
||||
* Implements.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class ImplementsOpActionItem extends ActionItem {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -32,6 +32,7 @@ import java.util.Set;
|
||||
|
||||
/**
|
||||
* Increment.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class IncrementActionItem extends ActionItem {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -31,6 +31,7 @@ import java.util.Objects;
|
||||
|
||||
/**
|
||||
* Initialize array.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class InitArrayActionItem extends ActionItem {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -36,6 +36,7 @@ import java.util.Objects;
|
||||
|
||||
/**
|
||||
* Initialize object.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class InitObjectActionItem extends ActionItem {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -33,6 +33,7 @@ import java.util.Objects;
|
||||
|
||||
/**
|
||||
* Load movie.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class LoadMovieActionItem extends ActionItem {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -34,6 +34,7 @@ import java.util.Objects;
|
||||
|
||||
/**
|
||||
* Load movie num.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class LoadMovieNumActionItem extends ActionItem {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -33,6 +33,7 @@ import java.util.Objects;
|
||||
|
||||
/**
|
||||
* Load variables.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class LoadVariablesActionItem extends ActionItem {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -34,6 +34,7 @@ import java.util.Objects;
|
||||
|
||||
/**
|
||||
* Load variables num.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class LoadVariablesNumActionItem extends ActionItem {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -31,6 +31,7 @@ import java.util.Objects;
|
||||
|
||||
/**
|
||||
* Multibyte ascii code to character.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class MBAsciiToCharActionItem extends ActionItem {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -30,6 +30,7 @@ import java.util.Objects;
|
||||
|
||||
/**
|
||||
* Multibyte character to ASCII.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class MBCharToAsciiActionItem extends ActionItem {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -32,6 +32,7 @@ import java.util.Objects;
|
||||
|
||||
/**
|
||||
* Multibyte string extract.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class MBStringExtractActionItem extends ActionItem {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -31,6 +31,7 @@ import java.util.Objects;
|
||||
|
||||
/**
|
||||
* Multibyte string length.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class MBStringLengthActionItem extends ActionItem {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -33,6 +33,7 @@ import java.util.Objects;
|
||||
|
||||
/**
|
||||
* New method.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class NewMethodActionItem extends ActionItem {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -32,6 +32,7 @@ import java.util.Objects;
|
||||
|
||||
/**
|
||||
* New object.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class NewObjectActionItem extends ActionItem {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -30,6 +30,7 @@ import java.util.List;
|
||||
|
||||
/**
|
||||
* Next frame.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class NextFrameActionItem extends ActionItem {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -30,6 +30,7 @@ import java.util.List;
|
||||
|
||||
/**
|
||||
* Play.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class PlayActionItem extends ActionItem {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -27,6 +27,7 @@ import java.util.List;
|
||||
|
||||
/**
|
||||
* Pop the object from the stack.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class PopActionItem extends ActionItem {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -41,6 +41,7 @@ import java.util.Objects;
|
||||
|
||||
/**
|
||||
* Post decrement.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class PostDecrementActionItem extends ActionItem implements SetTypeActionItem {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -41,6 +41,7 @@ import java.util.Objects;
|
||||
|
||||
/**
|
||||
* Post increment.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class PostIncrementActionItem extends ActionItem implements SetTypeActionItem {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -30,6 +30,7 @@ import java.util.List;
|
||||
|
||||
/**
|
||||
* Previous frame.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class PrevFrameActionItem extends ActionItem {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -34,6 +34,7 @@ import java.util.Objects;
|
||||
|
||||
/**
|
||||
* Print.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class PrintActionItem extends ActionItem {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -34,6 +34,7 @@ import java.util.Objects;
|
||||
|
||||
/**
|
||||
* Print as bitmap.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class PrintAsBitmapActionItem extends ActionItem {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -34,6 +34,7 @@ import java.util.Objects;
|
||||
|
||||
/**
|
||||
* Print as bitmap num.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class PrintAsBitmapNumActionItem extends ActionItem {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -34,6 +34,7 @@ import java.util.Objects;
|
||||
|
||||
/**
|
||||
* Print num.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class PrintNumActionItem extends ActionItem {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -32,6 +32,7 @@ import java.util.Random;
|
||||
|
||||
/**
|
||||
* Random number.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class RandomNumberActionItem extends ActionItem {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -33,6 +33,7 @@ import java.util.Objects;
|
||||
|
||||
/**
|
||||
* Remove sprite.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class RemoveSpriteActionItem extends ActionItem {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -42,6 +42,7 @@ import java.util.Set;
|
||||
|
||||
/**
|
||||
* Return value from function.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class ReturnActionItem extends ActionItem implements ExitItem {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -37,6 +37,7 @@ import java.util.Objects;
|
||||
|
||||
/**
|
||||
* Set member.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class SetMemberActionItem extends ActionItem implements SetTypeActionItem {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -36,6 +36,7 @@ import java.util.Objects;
|
||||
|
||||
/**
|
||||
* Set property.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class SetPropertyActionItem extends ActionItem implements SetTypeActionItem {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 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.
|
||||
*/
|
||||
@@ -29,6 +29,7 @@ import java.util.Objects;
|
||||
|
||||
/**
|
||||
* Set target, v2.
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class SetTarget2ActionItem extends ActionItem {
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user