diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/DecompilerPool.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/DecompilerPool.java index 6ebbd5985..b71071f3b 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/DecompilerPool.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/DecompilerPool.java @@ -202,7 +202,7 @@ public class DecompilerPool { * @param src ASM source * @param actions Actions * @return Highlighted text - * @throws InterruptedException + * @throws InterruptedException On interrupt */ public HighlightedText decompile(ASMSource src, ActionList actions) throws InterruptedException { Future future = submitTask(src, actions, null); @@ -234,7 +234,7 @@ public class DecompilerPool { * @param abcIndex ABC indexing * @param pack Script pack * @return Highlighted text - * @throws InterruptedException + * @throws InterruptedException On interrupt */ public HighlightedText decompile(AbcIndexing abcIndex, ScriptPack pack) throws InterruptedException { Future future = submitTask(abcIndex, pack, null); @@ -264,7 +264,7 @@ public class DecompilerPool { /** * Shuts down the pool. * - * @throws InterruptedException + * @throws InterruptedException On interrupt */ public void shutdown() throws InterruptedException { executor.shutdown(); diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/OpenableSourceInfo.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/OpenableSourceInfo.java index 80d3ac5bf..fcd0309f4 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/OpenableSourceInfo.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/OpenableSourceInfo.java @@ -212,7 +212,7 @@ public class OpenableSourceInfo { * @param noCheck Whether to check the bundle * @param searchMode Search mode * @return Bundle or null - * @throws IOException + * @throws IOException On I/O error */ public Bundle getBundle(boolean noCheck, SearchMode searchMode) throws IOException { if (!isBundle()) { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/RetryTask.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/RetryTask.java index bbb11f927..bd8ad6a17 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/RetryTask.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/RetryTask.java @@ -49,8 +49,8 @@ public class RetryTask { /** * Runs the task. * - * @throws IOException - * @throws InterruptedException + * @throws IOException On I/O error + * @throws InterruptedException On interrupt */ public void run() throws IOException, InterruptedException { boolean retry; diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/RunnableIOEx.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/RunnableIOEx.java index 1ef5e5158..df1baa086 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/RunnableIOEx.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/RunnableIOEx.java @@ -29,8 +29,8 @@ public interface RunnableIOEx { /** * Run method. * - * @throws IOException - * @throws InterruptedException + * @throws IOException On I/O error + * @throws InterruptedException On interrupt */ public void run() throws IOException, InterruptedException; } diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/SWC.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/SWC.java index 2a6482929..3e720395b 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/SWC.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/SWC.java @@ -38,7 +38,7 @@ public class SWC extends ZippedBundle { * Constructs SWC from input stream. * * @param is Input stream - * @throws IOException + * @throws IOException On I/O error */ public SWC(InputStream is) throws IOException { super(is); @@ -48,7 +48,7 @@ public class SWC extends ZippedBundle { * Constructs SWC from file. * * @param filename File - * @throws IOException + * @throws IOException On I/O error */ public SWC(File filename) throws IOException { super(filename); @@ -59,7 +59,7 @@ public class SWC extends ZippedBundle { * * @param is Input stream * @param filename File - * @throws IOException + * @throws IOException On I/O error */ @Override protected void initBundle(InputStream is, File filename) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/SWF.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/SWF.java index 8adafb617..4e04db448 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/SWF.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/SWF.java @@ -164,7 +164,6 @@ import com.jpexs.decompiler.flash.xfl.FLAVersion; import com.jpexs.decompiler.flash.xfl.XFLConverter; import com.jpexs.decompiler.flash.xfl.XFLExportSettings; import com.jpexs.decompiler.graph.DottedChain; -import com.jpexs.decompiler.graph.Graph; import com.jpexs.decompiler.graph.GraphSourceItem; import com.jpexs.decompiler.graph.GraphSourceItemContainer; import com.jpexs.decompiler.graph.GraphTargetItem; @@ -662,7 +661,7 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { /** * Sets main GFX exporterinfo tag * - * @param exporterInfo + * @param exporterInfo ExporterInfo */ public void setExporterInfo(ExporterInfo exporterInfo) { this.exporterInfo = exporterInfo; @@ -671,7 +670,7 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { /** * Gets main GFX exporterinfo tag * - * @return + * @return ExporterInfo */ public ExporterInfo getExporterInfo() { return exporterInfo; @@ -780,8 +779,8 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { /** * Init main AbcIndexes of playerGlobal and airGlobal * - * @throws IOException - * @throws InterruptedException + * @throws IOException On I/O error + * @throws InterruptedException On interrupt */ public static void initPlayer() throws IOException, InterruptedException { if (playerGlobalAbcIndex == null) { @@ -1727,7 +1726,7 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { * @param os OutputStream * @param gfx GFX * @param includeImported Include imported characters - * @throws IOException + * @throws IOException On I/O error */ public void saveTo(OutputStream os, boolean gfx, boolean includeImported) throws IOException { checkCharset(); @@ -1845,7 +1844,7 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { * * @param includeImported Include imported characterss * @return Byte array - * @throws IOException + * @throws IOException On I/O error */ private byte[] saveToByteArray(boolean includeImported) throws IOException { return saveToByteArray(gfx, includeImported); @@ -1857,7 +1856,7 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { * @param gfx GFX * @param includeImported Include imported characterss * @return Byte array - * @throws IOException + * @throws IOException On I/O error */ private byte[] saveToByteArray(boolean gfx, boolean includeImported) throws IOException { byte[] data; @@ -1968,8 +1967,8 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { * * @param is Stream to read SWF from * @param parallelRead Use parallel threads? - * @throws java.io.IOException - * @throws java.lang.InterruptedException + * @throws IOException On I/O error + * @throws InterruptedException On interrupt */ public SWF(InputStream is, boolean parallelRead) throws IOException, InterruptedException { this(is, null, null, null, parallelRead, false, true); @@ -1982,8 +1981,8 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { * @param parallelRead Use parallel threads? * @param charset Charset for SWFs with version 5 or lower (they do not use * unicode) - * @throws java.io.IOException - * @throws java.lang.InterruptedException + * @throws IOException On I/O error + * @throws InterruptedException On interrupt */ public SWF(InputStream is, boolean parallelRead, String charset) throws IOException, InterruptedException { this(is, null, null, null, parallelRead, false, true, charset); @@ -1995,8 +1994,8 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { * @param is Stream to read SWF from * @param parallelRead Use parallel threads? * @param lazy Do not parse all data, load it as necessary. - * @throws java.io.IOException - * @throws java.lang.InterruptedException + * @throws IOException On I/O error + * @throws InterruptedException On interrupt */ public SWF(InputStream is, boolean parallelRead, boolean lazy) throws IOException, InterruptedException { this(is, null, null, null, parallelRead, false, lazy); @@ -2010,8 +2009,8 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { * @param lazy Do not parse all data, load it as necessary. * @param charset Charset for SWFs with version 5 or lower (they do not use * unicode) - * @throws java.io.IOException - * @throws java.lang.InterruptedException + * @throws IOException On I/O error + * @throws InterruptedException On interrupt */ public SWF(InputStream is, boolean parallelRead, boolean lazy, String charset) throws IOException, InterruptedException { this(is, null, null, null, parallelRead, false, lazy, charset); @@ -2024,8 +2023,8 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { * @param file Path to the file * @param fileTitle Title of the SWF * @param parallelRead Use parallel threads? - * @throws java.io.IOException - * @throws java.lang.InterruptedException + * @throws IOException On I/O error + * @throws InterruptedException On interrupt */ public SWF(InputStream is, String file, String fileTitle, boolean parallelRead) throws IOException, InterruptedException { this(is, file, fileTitle, null, parallelRead, false, true); @@ -2040,8 +2039,8 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { * @param parallelRead Use parallel threads? * @param charset Charset for SWFs with version 5 or lower (they do not use * unicode) - * @throws IOException - * @throws InterruptedException + * @throws IOException On I/O error + * @throws InterruptedException On interrupt */ public SWF(InputStream is, String file, String fileTitle, boolean parallelRead, String charset) throws IOException, InterruptedException { this(is, file, fileTitle, null, parallelRead, false, true, charset); @@ -2066,8 +2065,8 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { * @param parallelRead Use parallel threads? * @param charset Charset for SWFs with version 5 or lower (they do not use * unicode) - * @throws IOException - * @throws InterruptedException + * @throws IOException On I/O error + * @throws InterruptedException On interrupt */ public SWF(InputStream is, ProgressListener listener, boolean parallelRead, String charset) throws IOException, InterruptedException { this(is, null, null, listener, parallelRead, false, true, charset); @@ -2081,8 +2080,8 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { * @param fileTitle Title of the SWF * @param listener Progress listener * @param parallelRead Use parallel threads? - * @throws java.io.IOException - * @throws java.lang.InterruptedException + * @throws IOException On I/O error + * @throws InterruptedException On interrupt */ public SWF(InputStream is, String file, String fileTitle, ProgressListener listener, boolean parallelRead) throws IOException, InterruptedException { this(is, file, fileTitle, listener, parallelRead, false, true); @@ -2098,8 +2097,8 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { * @param parallelRead Use parallel threads? * @param charset Charset for SWFs with version 5 or lower (they do not use * unicode) - * @throws IOException - * @throws InterruptedException + * @throws IOException On I/O error + * @throws InterruptedException On interrupt */ public SWF(InputStream is, String file, String fileTitle, ProgressListener listener, boolean parallelRead, String charset) throws IOException, InterruptedException { this(is, file, fileTitle, listener, parallelRead, false, true, charset); @@ -2109,7 +2108,7 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { * Constructs SWF from stream - Faster constructor to check SWF only. * * @param is Stream to read SWF from - * @throws java.io.IOException + * @throws IOException On I/O error */ public SWF(InputStream is) throws IOException { decompress(is, new NulStream(), true); @@ -2127,8 +2126,8 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { * @param lazy Do not parse all data, load it as necessary. * @param charset Charset for SWFs with version 5 or lower (they do not use * unicode) - * @throws IOException - * @throws InterruptedException + * @throws IOException On I/O error + * @throws InterruptedException On interrupt */ public SWF(InputStream is, String file, String fileTitle, ProgressListener listener, boolean parallelRead, boolean checkOnly, boolean lazy, String charset) throws IOException, InterruptedException { this(is, file, fileTitle, listener, parallelRead, checkOnly, lazy, null, charset, true); @@ -2144,8 +2143,8 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { * @param parallelRead Use parallel threads? * @param checkOnly Check only file validity * @param lazy Do not parse all data, load it as necessary. - * @throws IOException - * @throws InterruptedException + * @throws IOException On I/O error + * @throws InterruptedException On interrupt */ public SWF(InputStream is, String file, String fileTitle, ProgressListener listener, boolean parallelRead, boolean checkOnly, boolean lazy) throws IOException, InterruptedException { this(is, file, fileTitle, listener, parallelRead, checkOnly, lazy, null, Charset.defaultCharset().name(), true); @@ -2162,8 +2161,8 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { * @param checkOnly Check only file validity * @param lazy Do not parse all data, load it as necessary. * @param resolver URL resolver for importAssets/2 tags - * @throws IOException - * @throws InterruptedException + * @throws IOException On I/O error + * @throws InterruptedException On interrupt */ public SWF(InputStream is, String file, String fileTitle, ProgressListener listener, boolean parallelRead, boolean checkOnly, boolean lazy, UrlResolver resolver) throws IOException, InterruptedException { this(is, file, fileTitle, listener, parallelRead, checkOnly, lazy, resolver, Charset.defaultCharset().name(), true); @@ -2182,8 +2181,8 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { * @param resolver URL resolver for importAssets/2 tags * @param charset Charset for SWFs with version 5 or lower (they do not use * unicode) - * @throws IOException - * @throws InterruptedException + * @throws IOException On I/O error + * @throws InterruptedException On interrupt */ public SWF(InputStream is, String file, String fileTitle, ProgressListener listener, boolean parallelRead, boolean checkOnly, boolean lazy, UrlResolver resolver, String charset) throws IOException, InterruptedException { this(is, file, fileTitle, listener, parallelRead, checkOnly, lazy, resolver, charset, true); @@ -2718,7 +2717,7 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { * @param is InputStream * @param os OutputStream * @return True on success - * @throws java.io.IOException + * @throws IOException On I/O error */ public static boolean encrypt(InputStream is, OutputStream os) throws IOException { byte[] hdr = new byte[8]; @@ -2747,7 +2746,7 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { * @param is InputStream * @param os OutputStream * @return True on success - * @throws java.io.IOException + * @throws IOException On I/O error */ public static boolean decrypt(InputStream is, OutputStream os) throws IOException { byte[] hdr = new byte[8]; @@ -2784,7 +2783,7 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { * @param os OutputStream * @param lzmaProperties LZMA properties * @param fileSize File size - * @throws IOException + * @throws IOException On I/O error */ private static void decodeLZMAStream(InputStream is, OutputStream os, byte[] lzmaProperties, long fileSize) throws IOException { Decoder decoder = new Decoder(); @@ -2801,7 +2800,7 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { * * @param headerData First 8 bytes of the file * @return SWF header - * @throws IOException + * @throws IOException On I/O error */ public static SWFHeader decodeHeader(byte[] headerData) throws IOException { String signature = new String(headerData, 0, 3, Utf8Helper.charset); @@ -2846,7 +2845,7 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { * @param allowUncompressed When true, it will fail when file is not * compressed. * @return SWF header - * @throws IOException + * @throws IOException On I/O error */ private static SWFHeader decompress(InputStream is, OutputStream os, boolean allowUncompressed) throws IOException { @@ -2994,7 +2993,7 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { * * @param classNames List of class names * @return List of ScriptPacks - * @throws Exception + * @throws Exception On error */ public List getScriptPacksByClassNames(List classNames) throws Exception { Set resultSet = new HashSet<>(); @@ -3123,7 +3122,7 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { * @param parallel Use parallel threads? * @param evl Event listener * @return List of exported files - * @throws IOException + * @throws IOException On I/O error */ public List exportActionScript(AbortRetryIgnoreHandler handler, String outdir, ScriptExportSettings exportSettings, boolean parallel, EventListener evl) throws IOException { return exportActionScript(handler, outdir, null, exportSettings, parallel, evl, true, true); @@ -3141,7 +3140,7 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { * @param as2 Export AS1/2 * @param as3 Export AS3 * @return List of exported files - * @throws IOException + * @throws IOException On I/O error */ public List exportActionScript(AbortRetryIgnoreHandler handler, String outdir, List as3scripts, ScriptExportSettings exportSettings, boolean parallel, EventListener evl, boolean as2, boolean as3) throws IOException { List ret = new ArrayList<>(); @@ -3468,7 +3467,7 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { * @param os OutputStream * @param val Value * @param size Size - * @throws IOException + * @throws IOException On I/O error */ private static void writeLE(OutputStream os, long val, int size) throws IOException { for (int i = 0; i < size; i++) { @@ -3485,7 +3484,7 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { * @param soundSize True = 16 bit, false = 8b bit. * @param soundType True = stereo, false = mono * @param data PCM data - * @throws IOException + * @throws IOException On I/O error */ public static void createWavFromPcmData(OutputStream fos, int soundRateHz, boolean soundSize, boolean soundType, byte[] data) throws IOException { ByteArrayOutputStream subChunk1Data = new ByteArrayOutputStream(); @@ -3557,7 +3556,7 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { * @param fswf SWF * @param library Set of characterIds * @param fos OutputStream - * @throws IOException + * @throws IOException On I/O error */ public static void libraryToHtmlCanvas(SWF fswf, Set library, OutputStream fos) throws IOException { for (int c : library) { @@ -3620,7 +3619,7 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { * @param visited Visited * @param usageTypes Usage types * @param path Path - * @throws InterruptedException + * @throws InterruptedException On interrupt */ private static void getVariables(ConstantPool constantPool, BaseLocalData localData, TranslateStack stack, List output, ActionGraphSource code, int ip, List> variables, List functions, HashMap strings, List visited, HashMap usageTypes, String path) throws InterruptedException { ActionLocalData aLocalData = (ActionLocalData) localData; @@ -3792,7 +3791,7 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { * @param code Code * @param addr Address * @param path Path - * @throws InterruptedException + * @throws InterruptedException On interrupt */ private static void getVariables(boolean insideDoInitAction, List> variables, List functions, HashMap strings, HashMap usageTypes, ActionGraphSource code, int addr, String path) throws InterruptedException { ActionLocalData localData = new ActionLocalData(null, insideDoInitAction, new HashMap<>() /*??*/); @@ -3811,7 +3810,7 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { * @param src Source * @param path Path * @return List of variables - * @throws InterruptedException + * @throws InterruptedException On interrupt */ private List> getVariables(boolean insideDefineFunction1, List> variables, HashMap actionsMap, List functions, HashMap strings, HashMap usageTypes, ASMSource src, String path) throws InterruptedException { List> ret = new ArrayList<>(); @@ -3833,7 +3832,7 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { * @param functions Functions * @param strings Strings * @param usageTypes Usage types - * @throws InterruptedException + * @throws InterruptedException On interrupt */ private void getVariables(boolean insideDefineFunction1, Iterable tags, String path, List> variables, HashMap actionsMap, List functions, HashMap strings, HashMap usageTypes) throws InterruptedException { List processed = new ArrayList<>(); @@ -3866,7 +3865,7 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { * @param functions Functions * @param strings Strings * @param usageTypes Usage types - * @throws InterruptedException + * @throws InterruptedException On interrupt */ private void addVariable(boolean insideDefineFunction1, ASMSource asm, String path, List processed, List> variables, HashMap actionsMap, List functions, HashMap strings, HashMap usageTypes) throws InterruptedException { int pos = 1; @@ -3979,7 +3978,7 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { * * @param renameType Rename type * @return Number of changes - * @throws InterruptedException + * @throws InterruptedException On interrupt */ public int deobfuscateIdentifiers(RenameType renameType) throws InterruptedException { FileAttributesTag fileAttributes = getFileAttributes(); @@ -4000,7 +3999,7 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { * * @param identifier Identifier * @param newname New name - * @throws InterruptedException + * @throws InterruptedException On interrupt */ public void renameAS2Identifier(String identifier, String newname) throws InterruptedException { Map selected = new HashMap<>(); @@ -4013,7 +4012,7 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { * * @param renameType Rename type * @return Number of changes - * @throws InterruptedException + * @throws InterruptedException On interrupt */ private int deobfuscateAS2Identifiers(RenameType renameType) throws InterruptedException { return renameAS2Identifiers(renameType, null); @@ -4026,7 +4025,7 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { * @param selected Preselected identifiers map. Can be null when no * preselected. * @return Number of changes - * @throws InterruptedException + * @throws InterruptedException On interrupt */ private int renameAS2Identifiers(RenameType renameType, Map selected) throws InterruptedException { boolean wrongConstantIndices = false; @@ -4297,8 +4296,8 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { * @param parallel Use parallel threads? * @param version FLA version * @param progressListener Progress listener - * @throws IOException - * @throws InterruptedException + * @throws IOException On I/O error + * @throws InterruptedException On interrupt */ public void exportFla(AbortRetryIgnoreHandler handler, String outfile, String swfName, String generator, String generatorVerName, String generatorVersion, boolean parallel, FLAVersion version, ProgressListener progressListener) throws IOException, InterruptedException { XFLExportSettings settings = new XFLExportSettings(); @@ -4318,8 +4317,8 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { * @param parallel Use parallel threads? * @param version FLA version * @param progressListener Progress listener - * @throws IOException - * @throws InterruptedException + * @throws IOException On I/O error + * @throws InterruptedException On interrupt */ public void exportXfl(AbortRetryIgnoreHandler handler, String outfile, String swfName, String generator, String generatorVerName, String generatorVersion, boolean parallel, FLAVersion version, ProgressListener progressListener) throws IOException, InterruptedException { XFLExportSettings settings = new XFLExportSettings(); @@ -4340,8 +4339,8 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { * @param version FLA version * @param settings Export settings * @param progressListener Progress listener - * @throws IOException - * @throws InterruptedException + * @throws IOException On I/O error + * @throws InterruptedException On interrupt */ public void exportXfl(AbortRetryIgnoreHandler handler, String outfile, String swfName, String generator, String generatorVerName, String generatorVersion, boolean parallel, FLAVersion version, XFLExportSettings settings, ProgressListener progressListener) throws IOException, InterruptedException { new XFLConverter().convertSWF(handler, this, swfName, outfile, settings, generator, generatorVerName, generatorVersion, parallel, version, progressListener); @@ -4484,7 +4483,7 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { /** * Removes ASMSource from cache. * - * @param src + * @param src ASMSource */ public static void uncache(ASMSource src) { if (src != null) { @@ -4652,7 +4651,7 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { * @param src ASMSource * @param listeners Disassembly listeners * @return ActionList - * @throws InterruptedException + * @throws InterruptedException On interrupt */ public static ActionList getCachedActionList(ASMSource src, final List listeners) throws InterruptedException { synchronized (src) { @@ -4700,7 +4699,7 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { * @param src ASMSource * @param actions ActionList * @return HighlightedText - * @throws InterruptedException + * @throws InterruptedException On interrupt */ public static HighlightedText getCached(ASMSource src, ActionList actions) throws InterruptedException { SWF swf = src.getSwf(); @@ -4721,7 +4720,7 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { * * @param pack ScriptPack * @return HighlightedText - * @throws InterruptedException + * @throws InterruptedException On interrupt */ public static HighlightedText getCached(ScriptPack pack) throws InterruptedException { Openable openable = pack.getOpenable(); @@ -4744,7 +4743,7 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { * @param actions ActionList * @param listener Decompiled listeners * @return Future of HighlightedText - * @throws InterruptedException + * @throws InterruptedException On interrupt */ public static Future getCachedFuture(ASMSource src, ActionList actions, ScriptDecompiledListener listener) throws InterruptedException { SWF swf = src.getSwf(); @@ -4769,7 +4768,7 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { * @param pack ScriptPack * @param listener Decompiled listeners * @return Future of HighlightedText - * @throws InterruptedException + * @throws InterruptedException On interrupt */ public static Future getCachedFuture(ScriptPack pack, ScriptDecompiledListener listener) throws InterruptedException { Openable openable = pack.getOpenable(); @@ -4829,8 +4828,8 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { * @param colorTransform Color transform * @param backGroundColor Background color * @param zoom Zoom - * @param canUseSmoothing - * @return + * @param canUseSmoothing Can use smoothing + * @return Image */ public static SerializableImage frameToImageGet(Timeline timeline, int frame, int time, Point cursorPosition, int mouseButton, RECT displayRect, Matrix transformation, ColorTransform colorTransform, Color backGroundColor, double zoom, boolean canUseSmoothing) { if (timeline.getFrameCount() == 0) { @@ -4902,7 +4901,7 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { * @param timeline Timeline * @param dependingChars Depending characters * @param listener Listener to call after removing each of character. - * @return + * @return True if modified */ private boolean removeTagWithDependenciesFromTimeline(Tag toRemove, Timeline timeline, Set dependingChars, TagRemoveListener listener) { Map stage = new HashMap<>(); @@ -5317,7 +5316,7 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { * Deobfuscates SWF file. * * @param level Deobfuscation level - * @throws InterruptedException + * @throws InterruptedException On interrupt */ public void deobfuscate(DeobfuscationLevel level) throws InterruptedException { List atags = getAbcList(); @@ -5348,7 +5347,7 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { * Injects debugline and debugfile instructions to AS3 P-code (lines of * P-code). * - * @throws java.lang.InterruptedException + * @throws InterruptedException On interrupt */ public void injectAS3PcodeDebugInfo() throws InterruptedException { injectAS3PcodeDebugInfo("main"); @@ -5359,7 +5358,7 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { * P-code). * * @param swfHash SWF identifier - * @throws InterruptedException + * @throws InterruptedException On interrupt */ public void injectAS3PcodeDebugInfo(String swfHash) throws InterruptedException { List packs = getAS3Packs(); @@ -5381,7 +5380,7 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { * Injects debugline and debugfile instructions to AS3 code. * * @param decompileDir Directory to set file information paths - * @throws java.lang.InterruptedException + * @throws InterruptedException On interrupt */ public void injectAS3DebugInfo(File decompileDir) throws InterruptedException { injectAS3DebugInfo(decompileDir, "main"); @@ -5392,7 +5391,7 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { * * @param decompileDir Directory to set file information paths * @param swfHash SWF identifier - * @throws InterruptedException + * @throws InterruptedException On interrupt */ public void injectAS3DebugInfo(File decompileDir, String swfHash) throws InterruptedException { List packs = getAS3Packs(); @@ -5420,7 +5419,7 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { * @param injectAS3Code Modify AS3 code with debugfile / debugline ? * @param decompileDir Directory to virtual decompile (will affect * debugfile) - * @throws java.lang.InterruptedException + * @throws InterruptedException On interrupt */ public void enableDebugging(boolean injectAS3Code, File decompileDir) throws InterruptedException { enableDebugging(injectAS3Code, decompileDir, false); @@ -5429,7 +5428,7 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { /** * Enables debugging. Adds tags to enable debugging. * - * @throws java.lang.InterruptedException + * @throws InterruptedException On interrupt */ public void enableDebugging() throws InterruptedException { enableDebugging(false, null, false); @@ -5443,7 +5442,7 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { * @param decompileDir Directory to virtual decompile (will affect * debugfile) * @param telemetry Enable telemetry info? - * @throws java.lang.InterruptedException + * @throws InterruptedException On interrupt */ public void enableDebugging(boolean injectAS3Code, File decompileDir, boolean telemetry) throws InterruptedException { enableDebugging(injectAS3Code, decompileDir, telemetry, false); @@ -5473,7 +5472,7 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { * @param telemetry Enable telemetry info? * @param pcodeLevel inject Pcode lines instead of decompiled lines * @param swfHash SWF identifier - * @throws java.lang.InterruptedException + * @throws InterruptedException On interrupt */ public void enableDebugging(boolean injectAS3Code, File decompileDir, boolean telemetry, boolean pcodeLevel, String swfHash) throws InterruptedException { @@ -5565,8 +5564,8 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { * @param file SWD file * @param breakpoints Breakpoints - map of script name to list of lines * @return True on success - * @throws IOException - * @throws InterruptedException + * @throws IOException On I/O error + * @throws InterruptedException On interrupt */ public boolean generatePCodeSwdFile(File file, Map> breakpoints) throws IOException, InterruptedException { return generatePCodeSwdFile(file, breakpoints, "main"); @@ -5579,8 +5578,8 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { * @param breakpoints Breakpoints - map of script name to list of lines * @param swfHash SWF identifier * @return True on success - * @throws IOException - * @throws InterruptedException + * @throws IOException On I/O error + * @throws InterruptedException On interrupt */ public boolean generatePCodeSwdFile(File file, Map> breakpoints, String swfHash) throws IOException, InterruptedException { DebugIDTag dit = getDebugId(); @@ -5669,7 +5668,7 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { * @param file SWD file * @param breakpoints Breakpoints - map of script name to list of lines * @return True on success - * @throws IOException + * @throws IOException On I/O error */ public boolean generateSwdFile(File file, Map> breakpoints) throws IOException { return generateSwdFile(file, breakpoints, "main"); @@ -5682,7 +5681,7 @@ public final class SWF implements SWFContainerItem, Timelined, Openable { * @param breakpoints Breakpoints - map of script name to list of lines * @param swfHash SWF identifier * @return True on success - * @throws IOException + * @throws IOException On I/O error */ public boolean generateSwdFile(File file, Map> breakpoints, String swfHash) throws IOException { DebugIDTag dit = getDebugId(); diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/SWFInputStream.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/SWFInputStream.java index 593bcb28d..715bba0eb 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/SWFInputStream.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/SWFInputStream.java @@ -433,7 +433,7 @@ public class SWFInputStream implements AutoCloseable { * @param data SWF data * @param startingPos Starting position in bytes in the stream * @param limit Maximum limit of reading - * @throws java.io.IOException + * @throws IOException On I/O error */ public SWFInputStream(SWF swf, byte[] data, long startingPos, int limit) throws IOException { this.swf = swf; @@ -448,7 +448,7 @@ public class SWFInputStream implements AutoCloseable { * * @param swf SWF to read * @param data SWF data - * @throws java.io.IOException + * @throws IOException On I/O error */ public SWFInputStream(SWF swf, byte[] data) throws IOException { this(swf, data, 0L, data.length); @@ -490,7 +490,7 @@ public class SWFInputStream implements AutoCloseable { * Sets position in bytes in the stream * * @param pos Number of bytes - * @throws java.io.IOException + * @throws IOException On I/O error */ public void seek(long pos) throws IOException { is.seek(pos - startingPos); @@ -501,7 +501,7 @@ public class SWFInputStream implements AutoCloseable { * * @param name Name * @param type Type - * @return + * @return Dump info */ private DumpInfo newDumpLevel(String name, String type) { return newDumpLevel(name, type, DumpInfoSpecialType.NONE, null); @@ -514,7 +514,7 @@ public class SWFInputStream implements AutoCloseable { * @param type Type * @param specialType Special type * @param specialValue Special value - * @return + * @return Dump info */ private DumpInfo newDumpLevel(String name, String type, DumpInfoSpecialType specialType, Object specialValue) { if (dumpInfo != null) { @@ -574,7 +574,7 @@ public class SWFInputStream implements AutoCloseable { * Reads one byte from the stream. * * @return byte - * @throws IOException + * @throws IOException On I/O error */ private int readEx() throws IOException { bitPos = 0; @@ -592,8 +592,8 @@ public class SWFInputStream implements AutoCloseable { * Reads one byte from the stream. * * @return Byte - * @throws IOException - * @throws EndOfStreamException + * @throws IOException On I/O error + * @throws EndOfStreamException On end of stream */ private int readNoBitReset() throws IOException, EndOfStreamException { int r = is.read(); @@ -610,7 +610,7 @@ public class SWFInputStream implements AutoCloseable { * * @param name Name * @return UI8 value or -1 on error - * @throws IOException + * @throws IOException On I/O error */ public int readUI8(String name) throws IOException { newDumpLevel(name, "UI8"); @@ -624,7 +624,7 @@ public class SWFInputStream implements AutoCloseable { * * @param name Name * @return String value - * @throws IOException + * @throws IOException On I/O error */ public String readString(String name) throws IOException { newDumpLevel(name, "string"); @@ -648,7 +648,7 @@ public class SWFInputStream implements AutoCloseable { * * @param name Name * @return String value - * @throws IOException + * @throws IOException On I/O error */ public String readNetString(String name) throws IOException { newDumpLevel(name, "string"); @@ -663,7 +663,7 @@ public class SWFInputStream implements AutoCloseable { * * @param name Name * @return UI32 value - * @throws IOException + * @throws IOException On I/O error */ public long readUI32(String name) throws IOException { newDumpLevel(name, "UI32"); @@ -676,7 +676,7 @@ public class SWFInputStream implements AutoCloseable { * Reads one UI32 (Unsigned 32bit integer) value from the stream. * * @return UI32 value - * @throws IOException + * @throws IOException On I/O error */ private long readUI32Internal() throws IOException { return (readEx() + (readEx() << 8) + (readEx() << 16) + (readEx() << 24)) & 0xffffffffL; @@ -687,7 +687,7 @@ public class SWFInputStream implements AutoCloseable { * * @param name Name * @return UI16 value - * @throws IOException + * @throws IOException On I/O error */ public int readUI16(String name) throws IOException { newDumpLevel(name, "UI16"); @@ -700,7 +700,7 @@ public class SWFInputStream implements AutoCloseable { * Reads one UI16 (Unsigned 16bit integer) value from the stream. * * @return UI16 value - * @throws IOException + * @throws IOException On I/O error */ private int readUI16Internal() throws IOException { return readEx() + (readEx() << 8); @@ -710,8 +710,8 @@ public class SWFInputStream implements AutoCloseable { * Reads one UI24 (Unsigned 24bit integer) value from the stream. * * @param name Name - * @return - * @throws IOException + * @return UI24 value + * @throws IOException On I/O error */ public int readUI24(String name) throws IOException { newDumpLevel(name, "UI24"); @@ -725,7 +725,7 @@ public class SWFInputStream implements AutoCloseable { * * @param name Name * @return SI32 value - * @throws IOException + * @throws IOException On I/O error */ public long readSI32(String name) throws IOException { newDumpLevel(name, "SI32"); @@ -738,7 +738,7 @@ public class SWFInputStream implements AutoCloseable { * Reads one SI32 (Signed 32bit integer) value from the stream. * * @return SI32 value - * @throws IOException + * @throws IOException On I/O error */ private long readSI32Internal() throws IOException { long uval = readEx() + (readEx() << 8) + (readEx() << 16) + (readEx() << 24); @@ -753,7 +753,7 @@ public class SWFInputStream implements AutoCloseable { * * @param name Name * @return SI16 value - * @throws IOException + * @throws IOException On I/O error */ public int readSI16(String name) throws IOException { newDumpLevel(name, "SI16"); @@ -766,7 +766,7 @@ public class SWFInputStream implements AutoCloseable { * Reads one SI16 (Signed 16bit integer) value from the stream. * * @return SI16 value - * @throws IOException + * @throws IOException On I/O error */ private int readSI16Internal() throws IOException { int uval = readEx() + (readEx() << 8); @@ -781,7 +781,7 @@ public class SWFInputStream implements AutoCloseable { * * @param name Name * @return SI8 value - * @throws IOException + * @throws IOException On I/O error */ public int readSI8(String name) throws IOException { newDumpLevel(name, "SI8"); @@ -794,7 +794,7 @@ public class SWFInputStream implements AutoCloseable { * Reads one SI8 (Signed 8bit integer) value from the stream. * * @return SI8 value - * @throws IOException + * @throws IOException On I/O error */ public int readSI8Internal() throws IOException { int uval = readEx(); @@ -809,7 +809,7 @@ public class SWFInputStream implements AutoCloseable { * * @param name Name * @return FIXED value - * @throws IOException + * @throws IOException On I/O error */ public double readFIXED(String name) throws IOException { newDumpLevel(name, "FIXED"); @@ -824,7 +824,7 @@ public class SWFInputStream implements AutoCloseable { * * @param name Name * @return FIXED8 value - * @throws IOException + * @throws IOException On I/O error */ public float readFIXED8(String name) throws IOException { newDumpLevel(name, "FIXED8"); @@ -838,7 +838,7 @@ public class SWFInputStream implements AutoCloseable { * Reads long value from the stream. * * @return Long value - * @throws IOException + * @throws IOException On I/O error */ private long readLong() throws IOException { byte[] readBuffer = readBytesInternalEx(8); @@ -858,7 +858,7 @@ public class SWFInputStream implements AutoCloseable { * * @param name Name * @return DOUBLE value - * @throws IOException + * @throws IOException On I/O error */ public double readDOUBLE(String name) throws IOException { newDumpLevel(name, "DOUBLE"); @@ -874,7 +874,7 @@ public class SWFInputStream implements AutoCloseable { * * @param name Name * @return FLOAT value - * @throws IOException + * @throws IOException On I/O error */ public float readFLOAT(String name) throws IOException { newDumpLevel(name, "FLOAT"); @@ -893,7 +893,7 @@ public class SWFInputStream implements AutoCloseable { * * @param name Name * @return FLOAT16 value - * @throws IOException + * @throws IOException On I/O error */ public float readFLOAT16(String name) throws IOException { newDumpLevel(name, "FLOAT16"); @@ -912,7 +912,7 @@ public class SWFInputStream implements AutoCloseable { * @param count Number of bytes to read * @param name Name * @return Array of read bytes - * @throws IOException + * @throws IOException On I/O error */ public byte[] readBytesEx(long count, String name) throws IOException { if (count <= 0) { @@ -930,7 +930,7 @@ public class SWFInputStream implements AutoCloseable { * * @param name Name * @return AMF3 value - * @throws IOException + * @throws IOException On I/O error */ public Amf3Value readAmf3Object(String name) throws IOException, NoSerializerExistsException { Amf3InputStream ai = new Amf3InputStream(is); @@ -945,7 +945,7 @@ public class SWFInputStream implements AutoCloseable { * @param count Number of bytes to read * @param name Name * @return ByteArrayRange object - * @throws IOException + * @throws IOException On I/O error */ public ByteArrayRange readByteRangeEx(long count, String name) throws IOException { return readByteRangeEx(count, name, DumpInfoSpecialType.NONE, null); @@ -959,7 +959,7 @@ public class SWFInputStream implements AutoCloseable { * @param specialType Special type * @param specialValue Special value * @return ByteArrayRange object - * @throws IOException + * @throws IOException On I/O error */ public ByteArrayRange readByteRangeEx(long count, String name, DumpInfoSpecialType specialType, Object specialValue) throws IOException { if (count <= 0) { @@ -982,7 +982,7 @@ public class SWFInputStream implements AutoCloseable { * * @param count Number of bytes to read * @return Array of read bytes - * @throws IOException + * @throws IOException On I/O error */ private byte[] readBytesInternalEx(long count) throws IOException { if (count <= 0) { @@ -1003,7 +1003,7 @@ public class SWFInputStream implements AutoCloseable { * Skip bytes from the stream. * * @param count Number of bytes to skip - * @throws IOException + * @throws IOException On I/O error */ public void skipBytesEx(long count) throws IOException { if (count <= 0) { @@ -1024,7 +1024,7 @@ public class SWFInputStream implements AutoCloseable { * * @param count Number of bytes to skip * @param name Name - * @throws IOException + * @throws IOException On I/O error */ public void skipBytesEx(long count, String name) throws IOException { if (count <= 0) { @@ -1040,7 +1040,7 @@ public class SWFInputStream implements AutoCloseable { * Skip bytes from the stream. * * @param count Number of bytes to skip - * @throws IOException + * @throws IOException On I/O error */ public void skipBytes(long count) throws IOException { try { @@ -1056,7 +1056,7 @@ public class SWFInputStream implements AutoCloseable { * @param count Number of bytes to read * @param name Name * @return Array of read bytes - * @throws IOException + * @throws IOException On I/O error */ public byte[] readBytes(int count, String name) throws IOException { if (count <= 0) { @@ -1082,8 +1082,8 @@ public class SWFInputStream implements AutoCloseable { * * @param count Number of bytes to read * @param name Name - * @return - * @throws IOException + * @return Array of read bytes + * @throws IOException On I/O error */ public byte[] readBytesZlib(long count, String name) throws IOException { if (count == 0) { @@ -1101,7 +1101,7 @@ public class SWFInputStream implements AutoCloseable { * * @param data Data * @return Uncompressed data - * @throws IOException + * @throws IOException On I/O error */ public static byte[] uncompressByteArray(byte[] data) throws IOException { return uncompressByteArray(data, 0, data.length); @@ -1114,7 +1114,7 @@ public class SWFInputStream implements AutoCloseable { * @param offset Offset * @param length Length * @return Uncompressed data - * @throws IOException + * @throws IOException On I/O error */ public static byte[] uncompressByteArray(byte[] data, int offset, int length) throws IOException { InflaterInputStream dis = new InflaterInputStream(new ByteArrayInputStream(data, offset, length)); @@ -1133,7 +1133,7 @@ public class SWFInputStream implements AutoCloseable { * * @param name Name * @return U32 value - * @throws IOException + * @throws IOException On I/O error */ public long readEncodedU32(String name) throws IOException { newDumpLevel(name, "encodedU32"); @@ -1168,7 +1168,7 @@ public class SWFInputStream implements AutoCloseable { * @param nBits Number of bits which represent value * @param name Name * @return Unsigned value - * @throws IOException + * @throws IOException On I/O error */ public long readUB(int nBits, String name) throws IOException { if (nBits == 0) { @@ -1185,7 +1185,7 @@ public class SWFInputStream implements AutoCloseable { * * @param nBits Number of bits which represent value * @return Unsigned value - * @throws IOException + * @throws IOException On I/O error */ private long readUBInternal(int nBits) throws IOException { if (nBits == 0) { @@ -1215,7 +1215,7 @@ public class SWFInputStream implements AutoCloseable { * @param nBits Number of bits which represent value * @param name Name * @return Signed value - * @throws IOException + * @throws IOException On I/O error */ public long readSB(int nBits, String name) throws IOException { if (nBits == 0) { @@ -1232,7 +1232,7 @@ public class SWFInputStream implements AutoCloseable { * * @param nBits Number of bits which represent value * @return Signed value - * @throws IOException + * @throws IOException On I/O error */ private long readSBInternal(int nBits) throws IOException { int uval = (int) readUBInternal(nBits); @@ -1249,7 +1249,7 @@ public class SWFInputStream implements AutoCloseable { * @param nBits Number of bits which represent value * @param name Name * @return Fixed-point value - * @throws IOException + * @throws IOException On I/O error */ public float readFB(int nBits, String name) throws IOException { if (nBits == 0) { @@ -1267,7 +1267,7 @@ public class SWFInputStream implements AutoCloseable { * * @param name Name * @return RECT value - * @throws IOException + * @throws IOException On I/O error */ public RECT readRECT(String name) throws IOException { RECT ret = new RECT(); @@ -1380,7 +1380,7 @@ public class SWFInputStream implements AutoCloseable { * Call. * * @return Tag - * @throws Exception + * @throws Exception On error */ @Override public Tag call() throws Exception { @@ -1410,8 +1410,8 @@ public class SWFInputStream implements AutoCloseable { * @param parseTags Parse tags * @param lazy Lazy loading * @return List of tags - * @throws IOException - * @throws java.lang.InterruptedException + * @throws IOException On I/O error + * @throws InterruptedException On interrupt */ public List readTagList(Timelined timelined, int level, boolean parallel, boolean skipUnusualTags, boolean parseTags, boolean lazy) throws IOException, InterruptedException { if (Thread.currentThread().isInterrupted()) { @@ -1510,7 +1510,7 @@ public class SWFInputStream implements AutoCloseable { * @param lazy Lazy loading * @param logErrors Log errors * @return Tag - * @throws InterruptedException + * @throws InterruptedException On interrupt */ public static Tag resolveTag(TagStub tag, int level, boolean parallel, boolean skipUnusualTags, boolean lazy, boolean logErrors) throws InterruptedException { Tag ret; @@ -1830,8 +1830,8 @@ public class SWFInputStream implements AutoCloseable { * @param skipUnusualTags Skip unusual tags * @param lazy Lazy loading * @return Tag or null when End tag - * @throws IOException - * @throws java.lang.InterruptedException + * @throws IOException On I/O error + * @throws InterruptedException On interrupt */ public Tag readTag(Timelined timelined, int level, long pos, boolean resolve, boolean parallel, boolean skipUnusualTags, boolean lazy) throws IOException, InterruptedException { if (data == null) { @@ -1917,7 +1917,7 @@ public class SWFInputStream implements AutoCloseable { * Reads one Action from the stream. * * @return Action or null when ActionEndFlag or end of the stream - * @throws IOException + * @throws IOException On I/O error */ public Action readAction() throws IOException { int actionCode; @@ -2159,7 +2159,7 @@ public class SWFInputStream implements AutoCloseable { * * @param name Name * @return MATRIX value - * @throws IOException + * @throws IOException On I/O error */ public MATRIX readMatrix(String name) throws IOException { MATRIX ret = new MATRIX(); @@ -2192,7 +2192,7 @@ public class SWFInputStream implements AutoCloseable { * * @param name Name * @return CXFORMWITHALPHA value - * @throws IOException + * @throws IOException On I/O error */ public CXFORMWITHALPHA readCXFORMWITHALPHA(String name) throws IOException { CXFORMWITHALPHA ret = new CXFORMWITHALPHA(); @@ -2223,7 +2223,7 @@ public class SWFInputStream implements AutoCloseable { * * @param name Name * @return CXFORM value - * @throws IOException + * @throws IOException On I/O error */ public CXFORM readCXFORM(String name) throws IOException { CXFORM ret = new CXFORM(); @@ -2252,7 +2252,7 @@ public class SWFInputStream implements AutoCloseable { * * @param name Name * @return CLIPEVENTFLAGS value - * @throws IOException + * @throws IOException On I/O error */ public CLIPEVENTFLAGS readCLIPEVENTFLAGS(String name) throws IOException { CLIPEVENTFLAGS ret = new CLIPEVENTFLAGS(); @@ -2290,9 +2290,9 @@ public class SWFInputStream implements AutoCloseable { * @param swf SWF * @param tag Tag * @param name Name - * @param parentClipActions + * @param parentClipActions Parent clip actions * @return CLIPACTIONRECORD value - * @throws IOException + * @throws IOException On I/O error */ public CLIPACTIONRECORD readCLIPACTIONRECORD(SWF swf, Tag tag, String name, CLIPACTIONS parentClipActions) throws IOException { newDumpLevel(name, "CLIPACTIONRECORD"); @@ -2311,7 +2311,7 @@ public class SWFInputStream implements AutoCloseable { * @param tag Tag * @param name Name * @return CLIPACTIONS value - * @throws IOException + * @throws IOException On I/O error */ public CLIPACTIONS readCLIPACTIONS(SWF swf, Tag tag, String name) throws IOException { CLIPACTIONS ret = new CLIPACTIONS(); @@ -2332,7 +2332,7 @@ public class SWFInputStream implements AutoCloseable { * * @param name Name * @return COLORMATRIXFILTER value - * @throws IOException + * @throws IOException On I/O error */ public COLORMATRIXFILTER readCOLORMATRIXFILTER(String name) throws IOException { COLORMATRIXFILTER ret = new COLORMATRIXFILTER(); @@ -2350,7 +2350,7 @@ public class SWFInputStream implements AutoCloseable { * * @param name Name * @return RGBA value - * @throws IOException + * @throws IOException On I/O error */ public RGBA readRGBA(String name) throws IOException { RGBA ret = new RGBA(); @@ -2368,7 +2368,7 @@ public class SWFInputStream implements AutoCloseable { * * @param name Name * @return RGBA value - * @throws IOException + * @throws IOException On I/O error */ public int readRGBAInt(String name) throws IOException { newDumpLevel(name, "RGBA"); @@ -2385,7 +2385,7 @@ public class SWFInputStream implements AutoCloseable { * * @param name Name * @return ARGB value - * @throws IOException + * @throws IOException On I/O error */ public ARGB readARGB(String name) throws IOException { ARGB ret = new ARGB(); @@ -2403,7 +2403,7 @@ public class SWFInputStream implements AutoCloseable { * * @param name Name * @return ARGB value - * @throws IOException + * @throws IOException On I/O error */ public int readARGBInt(String name) throws IOException { newDumpLevel(name, "ARGB"); @@ -2420,7 +2420,7 @@ public class SWFInputStream implements AutoCloseable { * * @param name Name * @return RGB value - * @throws IOException + * @throws IOException On I/O error */ public RGB readRGB(String name) throws IOException { RGB ret = new RGB(); @@ -2437,7 +2437,7 @@ public class SWFInputStream implements AutoCloseable { * * @param name Name * @return RGB value - * @throws IOException + * @throws IOException On I/O error */ public int readRGBInt(String name) throws IOException { newDumpLevel(name, "RGB"); @@ -2454,7 +2454,7 @@ public class SWFInputStream implements AutoCloseable { * * @param name Name * @return CONVOLUTIONFILTER value - * @throws IOException + * @throws IOException On I/O error */ public CONVOLUTIONFILTER readCONVOLUTIONFILTER(String name) throws IOException { CONVOLUTIONFILTER ret = new CONVOLUTIONFILTER(); @@ -2480,7 +2480,7 @@ public class SWFInputStream implements AutoCloseable { * * @param name Name * @return BLURFILTER value - * @throws IOException + * @throws IOException On I/O error */ public BLURFILTER readBLURFILTER(String name) throws IOException { BLURFILTER ret = new BLURFILTER(); @@ -2498,7 +2498,7 @@ public class SWFInputStream implements AutoCloseable { * * @param name Name * @return DROPSHADOWFILTER value - * @throws IOException + * @throws IOException On I/O error */ public DROPSHADOWFILTER readDROPSHADOWFILTER(String name) throws IOException { DROPSHADOWFILTER ret = new DROPSHADOWFILTER(); @@ -2522,7 +2522,7 @@ public class SWFInputStream implements AutoCloseable { * * @param name Name * @return GLOWFILTER value - * @throws IOException + * @throws IOException On I/O error */ public GLOWFILTER readGLOWFILTER(String name) throws IOException { GLOWFILTER ret = new GLOWFILTER(); @@ -2544,7 +2544,7 @@ public class SWFInputStream implements AutoCloseable { * * @param name Name * @return BEVELFILTER value - * @throws IOException + * @throws IOException On I/O error */ public BEVELFILTER readBEVELFILTER(String name) throws IOException { BEVELFILTER ret = new BEVELFILTER(); @@ -2570,7 +2570,7 @@ public class SWFInputStream implements AutoCloseable { * * @param name Name * @return GRADIENTGLOWFILTER value - * @throws IOException + * @throws IOException On I/O error */ public GRADIENTGLOWFILTER readGRADIENTGLOWFILTER(String name) throws IOException { GRADIENTGLOWFILTER ret = new GRADIENTGLOWFILTER(); @@ -2603,7 +2603,7 @@ public class SWFInputStream implements AutoCloseable { * * @param name Name * @return GRADIENTBEVELFILTER value - * @throws IOException + * @throws IOException On I/O error */ public GRADIENTBEVELFILTER readGRADIENTBEVELFILTER(String name) throws IOException { GRADIENTBEVELFILTER ret = new GRADIENTBEVELFILTER(); @@ -2636,7 +2636,7 @@ public class SWFInputStream implements AutoCloseable { * * @param name Name * @return List of FILTER values - * @throws IOException + * @throws IOException On I/O error */ public List readFILTERLIST(String name) throws IOException { newDumpLevel(name, "FILTERLIST"); @@ -2654,7 +2654,7 @@ public class SWFInputStream implements AutoCloseable { * * @param name Name * @return FILTER value - * @throws IOException + * @throws IOException On I/O error */ public FILTER readFILTER(String name) throws IOException { newDumpLevel(name, "FILTER"); @@ -2697,7 +2697,7 @@ public class SWFInputStream implements AutoCloseable { * @param buttonTag ButtonTag * @param name Name * @return List of BUTTONRECORD values - * @throws IOException + * @throws IOException On I/O error */ public List readBUTTONRECORDList(SWF swf, ButtonTag buttonTag, String name) throws IOException { List ret = new ArrayList<>(); @@ -2717,7 +2717,7 @@ public class SWFInputStream implements AutoCloseable { * @param tag ButtonTag * @param name Name * @return BUTTONRECORD value - * @throws IOException + * @throws IOException On I/O error */ public BUTTONRECORD readBUTTONRECORD(SWF swf, ButtonTag tag, String name) throws IOException { BUTTONRECORD ret = new BUTTONRECORD(swf, tag); @@ -2760,7 +2760,7 @@ public class SWFInputStream implements AutoCloseable { * @param tag Tag * @param name Name * @return List of BUTTONCONDACTION values - * @throws IOException + * @throws IOException On I/O error */ public List readBUTTONCONDACTIONList(SWF swf, Tag tag, String name) throws IOException { List ret = new ArrayList<>(); @@ -2781,7 +2781,7 @@ public class SWFInputStream implements AutoCloseable { * @param tag Tag * @param name Name * @return BUTTONCONDACTION value - * @throws IOException + * @throws IOException On I/O error */ public BUTTONCONDACTION readBUTTONCONDACTION(SWF swf, Tag tag, String name) throws IOException { newDumpLevel(name, "BUTTONCONDACTION"); @@ -2797,7 +2797,7 @@ public class SWFInputStream implements AutoCloseable { * @param shapeNum 1 in DefineShape, 2 in DefineShape2... * @param name Name * @return GRADRECORD value - * @throws IOException + * @throws IOException On I/O error */ public GRADRECORD readGRADRECORD(int shapeNum, String name) throws IOException { GRADRECORD ret = new GRADRECORD(); @@ -2819,7 +2819,7 @@ public class SWFInputStream implements AutoCloseable { * @param shapeNum 1 in DefineShape, 2 in DefineShape2... * @param name Name * @return GRADIENT value - * @throws IOException + * @throws IOException On I/O error */ public GRADIENT readGRADIENT(int shapeNum, String name) throws IOException { GRADIENT ret = new GRADIENT(); @@ -2842,7 +2842,7 @@ public class SWFInputStream implements AutoCloseable { * @param shapeNum 1 in DefineShape, 2 in DefineShape2... * @param name Name * @return FOCALGRADIENT value - * @throws IOException + * @throws IOException On I/O error */ public FOCALGRADIENT readFOCALGRADIENT(int shapeNum, String name) throws IOException { FOCALGRADIENT ret = new FOCALGRADIENT(); @@ -2865,7 +2865,7 @@ public class SWFInputStream implements AutoCloseable { * @param shapeNum 1 in DefineShape, 2 in DefineShape2... * @param name Name * @return FILLSTYLE value - * @throws IOException + * @throws IOException On I/O error */ public FILLSTYLE readFILLSTYLE(int shapeNum, String name) throws IOException { FILLSTYLE ret = new FILLSTYLE(); @@ -2909,7 +2909,7 @@ public class SWFInputStream implements AutoCloseable { * @param shapeNum 1 in DefineShape, 2 in DefineShape2... * @param name Name * @return FILLSTYLEARRAY value - * @throws IOException + * @throws IOException On I/O error */ public FILLSTYLEARRAY readFILLSTYLEARRAY(int shapeNum, String name) throws IOException { @@ -2933,7 +2933,7 @@ public class SWFInputStream implements AutoCloseable { * @param shapeNum 1 in DefineShape, 2 in DefineShape2... * @param name Name * @return LINESTYLE value - * @throws IOException + * @throws IOException On I/O error */ public LINESTYLE readLINESTYLE(int shapeNum, String name) throws IOException { LINESTYLE ret = new LINESTYLE(); @@ -2954,7 +2954,7 @@ public class SWFInputStream implements AutoCloseable { * @param shapeNum 1 in DefineShape, 2 in DefineShape2... * @param name Name * @return LINESTYLE2 value - * @throws IOException + * @throws IOException On I/O error */ public LINESTYLE2 readLINESTYLE2(int shapeNum, String name) throws IOException { LINESTYLE2 ret = new LINESTYLE2(); @@ -2987,7 +2987,7 @@ public class SWFInputStream implements AutoCloseable { * @param shapeNum 1 in DefineShape, 2 in DefineShape2... * @param name Name * @return LINESTYLEARRAY value - * @throws IOException + * @throws IOException On I/O error */ public LINESTYLEARRAY readLINESTYLEARRAY(int shapeNum, String name) throws IOException { LINESTYLEARRAY ret = new LINESTYLEARRAY(); @@ -3018,7 +3018,7 @@ public class SWFInputStream implements AutoCloseable { * @param lineBits Line bits * @param shapeNum 1 in DefineShape, 2 in DefineShape2... * @return SHAPERECORD value - * @throws IOException + * @throws IOException On I/O error */ private SHAPERECORD readSHAPERECORD(int fillBits, int lineBits, int shapeNum, boolean morphShape, String name) throws IOException { SHAPERECORD ret; @@ -3103,7 +3103,7 @@ public class SWFInputStream implements AutoCloseable { * @param morphShape Is this a morph shape * @param name Name * @return SHAPE value - * @throws IOException + * @throws IOException On I/O error */ public SHAPE readSHAPE(int shapeNum, boolean morphShape, String name) throws IOException { SHAPE ret = new SHAPE(); @@ -3122,7 +3122,7 @@ public class SWFInputStream implements AutoCloseable { * @param morphShape Is this a morph shape * @param name Name * @return SHAPEWITHSTYLE value - * @throws IOException + * @throws IOException On I/O error */ public SHAPEWITHSTYLE readSHAPEWITHSTYLE(int shapeNum, boolean morphShape, String name) throws IOException { SHAPEWITHSTYLE ret = new SHAPEWITHSTYLE(); @@ -3143,7 +3143,7 @@ public class SWFInputStream implements AutoCloseable { * @param fillBits Fill bits * @param lineBits Line bits * @return SHAPERECORDs array - * @throws IOException + * @throws IOException On I/O error */ private List readSHAPERECORDS(int shapeNum, int fillBits, int lineBits, boolean morphShape, String name) throws IOException { List ret = new ArrayList<>(); @@ -3170,7 +3170,7 @@ public class SWFInputStream implements AutoCloseable { * * @param name Name * @return SOUNDINFO value - * @throws IOException + * @throws IOException On I/O error */ public SOUNDINFO readSOUNDINFO(String name) throws IOException { SOUNDINFO ret = new SOUNDINFO(); @@ -3207,7 +3207,7 @@ public class SWFInputStream implements AutoCloseable { * * @param name Name * @return SOUNDENVELOPE value - * @throws IOException + * @throws IOException On I/O error */ public SOUNDENVELOPE readSOUNDENVELOPE(String name) throws IOException { SOUNDENVELOPE ret = new SOUNDENVELOPE(); @@ -3226,7 +3226,7 @@ public class SWFInputStream implements AutoCloseable { * @param advanceBits Advance bits * @param name Name * @return GLYPHENTRY value - * @throws IOException + * @throws IOException On I/O error */ public GLYPHENTRY readGLYPHENTRY(int glyphBits, int advanceBits, String name) throws IOException { GLYPHENTRY ret = new GLYPHENTRY(); @@ -3245,7 +3245,7 @@ public class SWFInputStream implements AutoCloseable { * @param advanceBits Advance bits * @param name Name * @return TEXTRECORD value - * @throws IOException + * @throws IOException On I/O error */ public TEXTRECORD readTEXTRECORD(int defineTextNum, int glyphBits, int advanceBits, String name) throws IOException { TEXTRECORD ret = new TEXTRECORD(); @@ -3294,7 +3294,7 @@ public class SWFInputStream implements AutoCloseable { * * @param name Name * @return MORPHGRADRECORD value - * @throws IOException + * @throws IOException On I/O error */ public MORPHGRADRECORD readMORPHGRADRECORD(String name) throws IOException { MORPHGRADRECORD ret = new MORPHGRADRECORD(); @@ -3312,7 +3312,7 @@ public class SWFInputStream implements AutoCloseable { * * @param name Name * @return MORPHGRADIENT value - * @throws IOException + * @throws IOException On I/O error */ public MORPHGRADIENT readMORPHGRADIENT(String name) throws IOException { MORPHGRADIENT ret = new MORPHGRADIENT(); @@ -3338,7 +3338,7 @@ public class SWFInputStream implements AutoCloseable { * * @param name Name * @return MORPHGRADIENT value - * @throws IOException + * @throws IOException On I/O error */ public MORPHFOCALGRADIENT readMORPHFOCALGRADIENT(String name) throws IOException { MORPHFOCALGRADIENT ret = new MORPHFOCALGRADIENT(); @@ -3361,7 +3361,7 @@ public class SWFInputStream implements AutoCloseable { * * @param name Name * @return MORPHFILLSTYLE value - * @throws IOException + * @throws IOException On I/O error */ public MORPHFILLSTYLE readMORPHFILLSTYLE(String name) throws IOException { MORPHFILLSTYLE ret = new MORPHFILLSTYLE(); @@ -3402,7 +3402,7 @@ public class SWFInputStream implements AutoCloseable { * * @param name Name * @return MORPHFILLSTYLEARRAY value - * @throws IOException + * @throws IOException On I/O error */ public MORPHFILLSTYLEARRAY readMORPHFILLSTYLEARRAY(String name) throws IOException { @@ -3425,7 +3425,7 @@ public class SWFInputStream implements AutoCloseable { * * @param name Name * @return MORPHLINESTYLE value - * @throws IOException + * @throws IOException On I/O error */ public MORPHLINESTYLE readMORPHLINESTYLE(String name) throws IOException { MORPHLINESTYLE ret = new MORPHLINESTYLE(); @@ -3443,7 +3443,7 @@ public class SWFInputStream implements AutoCloseable { * * @param name Name * @return MORPHLINESTYLE2 value - * @throws IOException + * @throws IOException On I/O error */ public MORPHLINESTYLE2 readMORPHLINESTYLE2(String name) throws IOException { MORPHLINESTYLE2 ret = new MORPHLINESTYLE2(); @@ -3478,7 +3478,7 @@ public class SWFInputStream implements AutoCloseable { * @param morphShapeNum 1 on DefineMorphShape, 2 on DefineMorphShape2 * @param name Name * @return MORPHLINESTYLEARRAY value - * @throws IOException + * @throws IOException On I/O error */ public MORPHLINESTYLEARRAY readMORPHLINESTYLEARRAY(int morphShapeNum, String name) throws IOException { MORPHLINESTYLEARRAY ret = new MORPHLINESTYLEARRAY(); @@ -3508,7 +3508,7 @@ public class SWFInputStream implements AutoCloseable { * @param fontFlagsWideCodes Font flags wide codes * @param name Name * @return KERNINGRECORD value - * @throws IOException + * @throws IOException On I/O error */ public KERNINGRECORD readKERNINGRECORD(boolean fontFlagsWideCodes, String name) throws IOException { KERNINGRECORD ret = new KERNINGRECORD(); @@ -3530,7 +3530,7 @@ public class SWFInputStream implements AutoCloseable { * * @param name Name * @return LANGCODE value - * @throws IOException + * @throws IOException On I/O error */ public LANGCODE readLANGCODE(String name) throws IOException { LANGCODE ret = new LANGCODE(); @@ -3545,7 +3545,7 @@ public class SWFInputStream implements AutoCloseable { * * @param name Name * @return ZONERECORD value - * @throws IOException + * @throws IOException On I/O error */ public ZONERECORD readZONERECORD(String name) throws IOException { ZONERECORD ret = new ZONERECORD(); @@ -3567,7 +3567,7 @@ public class SWFInputStream implements AutoCloseable { * * @param name Name * @return ZONEDATA value - * @throws IOException + * @throws IOException On I/O error */ public ZONEDATA readZONEDATA(String name) throws IOException { ZONEDATA ret = new ZONEDATA(); @@ -3583,7 +3583,7 @@ public class SWFInputStream implements AutoCloseable { * * @param name Name * @return PIX15 value - * @throws IOException + * @throws IOException On I/O error */ public PIX15 readPIX15(String name) throws IOException { PIX15 ret = new PIX15(); @@ -3601,7 +3601,7 @@ public class SWFInputStream implements AutoCloseable { * * @param name Name * @return PIX15 value - * @throws IOException + * @throws IOException On I/O error */ public int readPIX15Int(String name) throws IOException { newDumpLevel(name, "PIX15"); @@ -3618,7 +3618,7 @@ public class SWFInputStream implements AutoCloseable { * * @param name Name * @return PIX24 value - * @throws IOException + * @throws IOException On I/O error */ public PIX24 readPIX24(String name) throws IOException { PIX24 ret = new PIX24(); @@ -3636,7 +3636,7 @@ public class SWFInputStream implements AutoCloseable { * * @param name Name * @return PIX24 value - * @throws IOException + * @throws IOException On I/O error */ public int readPIX24Int(String name) throws IOException { newDumpLevel(name, "PIX24"); @@ -3656,7 +3656,7 @@ public class SWFInputStream implements AutoCloseable { * @param bitmapHeight Bitmap height * @param name Name * @return COLORMAPDATA value - * @throws IOException + * @throws IOException On I/O error */ public COLORMAPDATA readCOLORMAPDATA(int colorTableSize, int bitmapWidth, int bitmapHeight, String name) throws IOException { COLORMAPDATA ret = new COLORMAPDATA(); @@ -3691,7 +3691,7 @@ public class SWFInputStream implements AutoCloseable { * @param bitmapHeight Bitmap height * @param name Name * @return COLORMAPDATA value - * @throws IOException + * @throws IOException On I/O error */ public BITMAPDATA readBITMAPDATA(int bitmapFormat, int bitmapWidth, int bitmapHeight, String name) throws IOException { BITMAPDATA ret = new BITMAPDATA(); @@ -3735,7 +3735,7 @@ public class SWFInputStream implements AutoCloseable { * @param bitmapHeight Bitmap height * @param name Name * @return COLORMAPDATA value - * @throws IOException + * @throws IOException On I/O error */ public ALPHABITMAPDATA readALPHABITMAPDATA(int bitmapFormat, int bitmapWidth, int bitmapHeight, String name) throws IOException { ALPHABITMAPDATA ret = new ALPHABITMAPDATA(); @@ -3758,7 +3758,7 @@ public class SWFInputStream implements AutoCloseable { * @param bitmapHeight Bitmap height * @param name Name * @return ALPHACOLORMAPDATA value - * @throws IOException + * @throws IOException On I/O error */ public ALPHACOLORMAPDATA readALPHACOLORMAPDATA(int colorTableSize, int bitmapWidth, int bitmapHeight, String name) throws IOException { ALPHACOLORMAPDATA ret = new ALPHACOLORMAPDATA(); @@ -3789,7 +3789,7 @@ public class SWFInputStream implements AutoCloseable { * Gets number of available bytes in the stream. * * @return Number of available bytes - * @throws IOException + * @throws IOException On I/O error */ public int available() throws IOException { return is.available(); @@ -3799,7 +3799,7 @@ public class SWFInputStream implements AutoCloseable { * Gets number of available bits in the stream. * * @return Number of available bits - * @throws IOException + * @throws IOException On I/O error */ public long availableBits() throws IOException { if (bitPos > 0) { @@ -3812,7 +3812,7 @@ public class SWFInputStream implements AutoCloseable { * Gets base stream. * * @return Base stream - * @throws IOException + * @throws IOException On I/O error */ public MemoryInputStream getBaseStream() throws IOException { int pos = (int) is.getPos(); @@ -3826,7 +3826,7 @@ public class SWFInputStream implements AutoCloseable { * * @param limit Limit * @return Limited stream - * @throws IOException + * @throws IOException On I/O error */ public SWFInputStream getLimitedStream(int limit) throws IOException { SWFInputStream sis = new SWFInputStream(swf, is.getAllRead(), startingPos, (int) (is.getPos() + limit)); diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/SWFOutputStream.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/SWFOutputStream.java index d24cb991f..2b61e9fc7 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/SWFOutputStream.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/SWFOutputStream.java @@ -152,7 +152,7 @@ public class SWFOutputStream extends OutputStream { * Writes byte to the stream. * * @param b Byte to write - * @throws IOException + * @throws IOException On I/O error */ @Override public void write(int b) throws IOException { @@ -165,7 +165,7 @@ public class SWFOutputStream extends OutputStream { * Writes byte array to the stream. * * @param b The data. - * @throws IOException + * @throws IOException On I/O error */ @Override public void write(byte[] b) throws IOException { @@ -180,7 +180,7 @@ public class SWFOutputStream extends OutputStream { * @param b The data. * @param off The start offset in the data. * @param len The number of bytes to write. - * @throws IOException + * @throws IOException On I/O error */ @Override public void write(byte[] b, int off, int len) throws IOException { @@ -193,7 +193,7 @@ public class SWFOutputStream extends OutputStream { * Writes ByteArrayRange to the stream. * * @param b The data. - * @throws IOException + * @throws IOException On I/O error */ public void write(ByteArrayRange b) throws IOException { alignByte(); @@ -204,7 +204,7 @@ public class SWFOutputStream extends OutputStream { /** * Aligns to byte position. * - * @throws IOException + * @throws IOException On I/O error */ private void alignByte() throws IOException { if (bitPos > 0) { @@ -218,7 +218,7 @@ public class SWFOutputStream extends OutputStream { * Writes UI8 (Unsigned 8bit integer) value to the stream. * * @param value UI8 value to write - * @throws IOException + * @throws IOException On I/O error */ public void writeUI8(int value) throws IOException { if (value > 0xff) { @@ -232,7 +232,7 @@ public class SWFOutputStream extends OutputStream { * Writes null terminated string value to the stream. * * @param value String value - * @throws IOException + * @throws IOException On I/O error */ public void writeString(String value) throws IOException { byte[] data; @@ -255,7 +255,7 @@ public class SWFOutputStream extends OutputStream { * Writes netstring (length + string) value to the stream. * * @param value String value - * @throws IOException + * @throws IOException On I/O error */ public void writeNetString(String value) throws IOException { byte[] data = value.getBytes(charset); @@ -267,7 +267,7 @@ public class SWFOutputStream extends OutputStream { * Writes UI32 (Unsigned 32bit integer) value to the stream. * * @param value UI32 value - * @throws IOException + * @throws IOException On I/O error */ public void writeUI32(long value) throws IOException { if (value > 0xffffffffL) { @@ -284,7 +284,7 @@ public class SWFOutputStream extends OutputStream { * Writes UI16 (Unsigned 16bit integer) value to the stream. * * @param value UI16 value - * @throws IOException + * @throws IOException On I/O error */ public void writeUI16(int value) throws IOException { if (value > 0xffff) { @@ -299,7 +299,7 @@ public class SWFOutputStream extends OutputStream { * Writes SI32 (Signed 32bit integer) value to the stream. * * @param value SI32 value - * @throws IOException + * @throws IOException On I/O error */ public void writeSI32(long value) throws IOException { if (value > 0x7fffffffL) { @@ -313,7 +313,7 @@ public class SWFOutputStream extends OutputStream { * Writes SI16 (Signed 16bit integer) value to the stream. * * @param value SI16 value - * @throws IOException + * @throws IOException On I/O error */ public void writeSI16(int value) throws IOException { @@ -328,7 +328,7 @@ public class SWFOutputStream extends OutputStream { * Writes SI8 (Signed 8bit integer) value to the stream. * * @param value SI8 value - * @throws IOException + * @throws IOException On I/O error */ public void writeSI8(int value) throws IOException { if (value > 0x7ff) { @@ -342,7 +342,7 @@ public class SWFOutputStream extends OutputStream { * Writes FIXED (Fixed point 16.16) value to the stream. * * @param value FIXED value - * @throws IOException + * @throws IOException On I/O error */ public void writeFIXED(double value) throws IOException { long valueLong = (long) (value * (1 << 16)); @@ -353,7 +353,7 @@ public class SWFOutputStream extends OutputStream { * Writes FIXED8 (Fixed point 8.8) value to the stream. * * @param value FIXED8 value - * @throws IOException + * @throws IOException On I/O error */ public void writeFIXED8(float value) throws IOException { int valueInt = (int) (value * (1 << 8)); @@ -364,7 +364,7 @@ public class SWFOutputStream extends OutputStream { * Writes long value to the stream. * * @param value The value. - * @throws IOException + * @throws IOException On I/O error */ private void writeLong(long value) throws IOException { byte[] writeBuffer = new byte[8]; @@ -384,7 +384,7 @@ public class SWFOutputStream extends OutputStream { * stream. * * @param value DOUBLE value - * @throws IOException + * @throws IOException On I/O error */ public void writeDOUBLE(double value) throws IOException { writeLong(Double.doubleToLongBits(value)); @@ -394,7 +394,7 @@ public class SWFOutputStream extends OutputStream { * Writes FLOAT (single precision floating point value) value to the stream. * * @param value FLOAT value - * @throws IOException + * @throws IOException On I/O error */ public void writeFLOAT(float value) throws IOException { writeUI32(Float.floatToIntBits(value)); @@ -404,7 +404,7 @@ public class SWFOutputStream extends OutputStream { * Writes FLOAT16 (16bit floating point value) value to the stream. * * @param value FLOAT16 value - * @throws IOException + * @throws IOException On I/O error */ public void writeFLOAT16(float value) throws IOException { int bits = Float.floatToRawIntBits(value); @@ -419,7 +419,7 @@ public class SWFOutputStream extends OutputStream { * Writes EncodedU32 (Encoded unsigned 32bit value) value to the stream. * * @param value U32 value - * @throws IOException + * @throws IOException On I/O error */ public void writeEncodedU32(long value) throws IOException { boolean loop = true; @@ -440,7 +440,7 @@ public class SWFOutputStream extends OutputStream { /** * Flushes data to underlying stream. * - * @throws IOException + * @throws IOException On I/O error */ @Override public void flush() throws IOException { @@ -455,7 +455,7 @@ public class SWFOutputStream extends OutputStream { /** * Closes the stream. * - * @throws IOException + * @throws IOException On I/O error */ @Override public void close() throws IOException { @@ -468,7 +468,7 @@ public class SWFOutputStream extends OutputStream { * * @param nBits Number of bits which represent value * @param value Unsigned value to write - * @throws IOException + * @throws IOException On I/O error */ public void writeUB(int nBits, long value) throws IOException { if (!fitsInUB(nBits, value)) { @@ -509,7 +509,7 @@ public class SWFOutputStream extends OutputStream { * @param nBits Number of bits which represent value * @param value Value to write * @param type Type of value - * @throws IOException + * @throws IOException On I/O error */ private void writeNBInternal(int nBits, long value, String type) throws IOException { for (int bit = 0; bit < nBits; bit++) { @@ -529,7 +529,7 @@ public class SWFOutputStream extends OutputStream { * * @param nBits Number of bits which represent value * @param value Signed value to write - * @throws IOException + * @throws IOException On I/O error */ public void writeSB(int nBits, long value) throws IOException { if (!fitsInSB(nBits, value)) { @@ -543,7 +543,7 @@ public class SWFOutputStream extends OutputStream { * * @param nBits Number of bits which represent value * @param value Double value to write - * @throws IOException + * @throws IOException On I/O error */ public void writeFB(int nBits, double value) throws IOException { if (nBits == 0) { @@ -557,7 +557,7 @@ public class SWFOutputStream extends OutputStream { * Writes RECT value to the stream. * * @param value RECT value - * @throws IOException + * @throws IOException On I/O error */ public void writeRECT(RECT value) throws IOException { int nBits = 0; @@ -607,7 +607,7 @@ public class SWFOutputStream extends OutputStream { * Writes list of Tag values to the stream. * * @param tags List of tag values - * @throws IOException + * @throws IOException On I/O error */ public void writeTags(Iterable tags) throws IOException { for (Tag tag : tags) { @@ -761,7 +761,7 @@ public class SWFOutputStream extends OutputStream { * Writes MATRIX value to the stream. * * @param value MATRIX value - * @throws IOException + * @throws IOException On I/O error */ public void writeMatrix(MATRIX value) throws IOException { writeUB(1, value.hasScale ? 1 : 0); @@ -812,7 +812,7 @@ public class SWFOutputStream extends OutputStream { * Writes CXFORM value to the stream. * * @param value CXFORM value - * @throws IOException + * @throws IOException On I/O error */ public void writeCXFORM(CXFORM value) throws IOException { writeUB(1, value.hasAddTerms ? 1 : 0); @@ -851,7 +851,7 @@ public class SWFOutputStream extends OutputStream { * Writes CXFORMWITHALPHA value to the stream. * * @param value CXFORMWITHALPHA value - * @throws IOException + * @throws IOException On I/O error */ public void writeCXFORMWITHALPHA(CXFORMWITHALPHA value) throws IOException { writeUB(1, value.hasAddTerms ? 1 : 0); @@ -894,7 +894,7 @@ public class SWFOutputStream extends OutputStream { * Writes CLIPEVENTFLAGS value to the stream. * * @param value CLIPEVENTFLAGS value - * @throws IOException + * @throws IOException On I/O error */ public void writeCLIPEVENTFLAGS(CLIPEVENTFLAGS value) throws IOException { writeUB(1, value.clipEventKeyUp ? 1 : 0); @@ -926,7 +926,7 @@ public class SWFOutputStream extends OutputStream { * Writes CLIPACTIONRECORD value to the stream. * * @param value CLIPACTIONRECORD value - * @throws IOException + * @throws IOException On I/O error */ public void writeCLIPACTIONRECORD(CLIPACTIONRECORD value) throws IOException { writeCLIPEVENTFLAGS(value.eventFlags); @@ -946,7 +946,7 @@ public class SWFOutputStream extends OutputStream { * Writes CLIPACTIONS value to the stream. * * @param value CLIPACTIONS value - * @throws IOException + * @throws IOException On I/O error */ public void writeCLIPACTIONS(CLIPACTIONS value) throws IOException { writeUI16(value.reserved); @@ -965,7 +965,7 @@ public class SWFOutputStream extends OutputStream { * Writes COLORMATRIXFILTER value to the stream. * * @param value COLORMATRIXFILTER value - * @throws IOException + * @throws IOException On I/O error */ public void writeCOLORMATRIXFILTER(COLORMATRIXFILTER value) throws IOException { for (int i = 0; i < 20; i++) { @@ -977,7 +977,7 @@ public class SWFOutputStream extends OutputStream { * Writes RGBA value to the stream. * * @param value RGBA value - * @throws IOException + * @throws IOException On I/O error */ public void writeRGBA(RGBA value) throws IOException { writeUI8(value.red); @@ -990,7 +990,7 @@ public class SWFOutputStream extends OutputStream { * Writes ARGB value to the stream. * * @param value ARGB value - * @throws IOException + * @throws IOException On I/O error */ public void writeARGB(ARGB value) throws IOException { writeUI8(value.alpha); @@ -1003,7 +1003,7 @@ public class SWFOutputStream extends OutputStream { * Writes ARGB value to the stream. * * @param value ARGB value - * @throws IOException + * @throws IOException On I/O error */ public void writeARGB(int value) throws IOException { writeUI8((value >> 24) & 0xff); @@ -1016,7 +1016,7 @@ public class SWFOutputStream extends OutputStream { * Writes RGB value to the stream. * * @param value RGB value - * @throws IOException + * @throws IOException On I/O error */ public void writeRGB(RGB value) throws IOException { writeUI8(value.red); @@ -1028,7 +1028,7 @@ public class SWFOutputStream extends OutputStream { * Writes CONVOLUTIONFILTER value to the stream. * * @param value CONVOLUTIONFILTER value - * @throws IOException + * @throws IOException On I/O error */ public void writeCONVOLUTIONFILTER(CONVOLUTIONFILTER value) throws IOException { writeUI8(value.matrixX); @@ -1050,7 +1050,7 @@ public class SWFOutputStream extends OutputStream { * Writes BLURFILTER value to the stream. * * @param value BLURFILTER value - * @throws IOException + * @throws IOException On I/O error */ public void writeBLURFILTER(BLURFILTER value) throws IOException { writeFIXED(value.blurX); @@ -1063,7 +1063,7 @@ public class SWFOutputStream extends OutputStream { * Writes DROPSHADOWFILTER value to the stream. * * @param value DROPSHADOWFILTER value - * @throws IOException + * @throws IOException On I/O error */ public void writeDROPSHADOWFILTER(DROPSHADOWFILTER value) throws IOException { writeRGBA(value.dropShadowColor); @@ -1082,7 +1082,7 @@ public class SWFOutputStream extends OutputStream { * Writes GLOWFILTER value to the stream. * * @param value GLOWFILTER value - * @throws IOException + * @throws IOException On I/O error */ public void writeGLOWFILTER(GLOWFILTER value) throws IOException { writeRGBA(value.glowColor); @@ -1099,7 +1099,7 @@ public class SWFOutputStream extends OutputStream { * Writes BEVELFILTER value to the stream. * * @param value BEVELFILTER value - * @throws IOException + * @throws IOException On I/O error */ public void writeBEVELFILTER(BEVELFILTER value) throws IOException { writeRGBA(value.highlightColor); @@ -1120,7 +1120,7 @@ public class SWFOutputStream extends OutputStream { * Writes GRADIENTGLOWFILTER value to the stream. * * @param value GRADIENTGLOWFILTER value - * @throws IOException + * @throws IOException On I/O error */ public void writeGRADIENTGLOWFILTER(GRADIENTGLOWFILTER value) throws IOException { writeUI8(value.gradientColors.length); @@ -1146,7 +1146,7 @@ public class SWFOutputStream extends OutputStream { * Writes GRADIENTBEVELFILTER value to the stream. * * @param value GRADIENTBEVELFILTER value - * @throws IOException + * @throws IOException On I/O error */ public void writeGRADIENTBEVELFILTER(GRADIENTBEVELFILTER value) throws IOException { writeUI8(value.gradientColors.length); @@ -1172,7 +1172,7 @@ public class SWFOutputStream extends OutputStream { * Writes list of FILTER values to the stream. * * @param list List of FILTER values - * @throws IOException + * @throws IOException On I/O error */ public void writeFILTERLIST(List list) throws IOException { writeUI8(list.size()); @@ -1185,7 +1185,7 @@ public class SWFOutputStream extends OutputStream { * Writes FILTER value to the stream. * * @param value FILTER value - * @throws IOException + * @throws IOException On I/O error */ public void writeFILTER(FILTER value) throws IOException { writeUI8(value.id); @@ -1220,7 +1220,7 @@ public class SWFOutputStream extends OutputStream { * * @param list List of BUTTONRECORD values * @param inDefineButton2 Whether write inside of DefineButton2Tag or not - * @throws IOException + * @throws IOException On I/O error */ public void writeBUTTONRECORDList(List list, boolean inDefineButton2) throws IOException { for (BUTTONRECORD brec : list) { @@ -1234,7 +1234,7 @@ public class SWFOutputStream extends OutputStream { * * @param value BUTTONRECORD value * @param inDefineButton2 Whether write inside of DefineButton2Tag or not - * @throws IOException + * @throws IOException On I/O error */ public void writeBUTTONRECORD(BUTTONRECORD value, boolean inDefineButton2) throws IOException { writeUB(2, value.reserved); @@ -1262,7 +1262,7 @@ public class SWFOutputStream extends OutputStream { * Writes list of BUTTONCONDACTION values to the stream. * * @param list List of BUTTONCONDACTION values - * @throws IOException + * @throws IOException On I/O error */ public void writeBUTTONCONDACTIONList(List list) throws IOException { for (int i = 0; i < list.size(); i++) { @@ -1275,7 +1275,7 @@ public class SWFOutputStream extends OutputStream { * * @param value BUTTONCONDACTION value * @param isLast True if it is last on the list - * @throws IOException + * @throws IOException On I/O error */ public void writeBUTTONCONDACTION(BUTTONCONDACTION value, boolean isLast) throws IOException { ByteArrayOutputStream baos = new ByteArrayOutputStream(); @@ -1306,7 +1306,7 @@ public class SWFOutputStream extends OutputStream { * * @param value FILLSTYLE value * @param shapeNum 1 in DefineShape, 2 in DefineShape2,... - * @throws IOException + * @throws IOException On I/O error */ public void writeFILLSTYLE(FILLSTYLE value, int shapeNum) throws IOException { writeUI8(value.fillStyleType); @@ -1343,7 +1343,7 @@ public class SWFOutputStream extends OutputStream { * * @param value FILLSTYLEARRAY value * @param shapeNum 1 in DefineShape, 2 in DefineShape2,... - * @throws IOException + * @throws IOException On I/O error */ public void writeFILLSTYLEARRAY(FILLSTYLEARRAY value, int shapeNum) throws IOException { int fillStyleCount = value.fillStyles.length; @@ -1367,7 +1367,7 @@ public class SWFOutputStream extends OutputStream { * * @param value FILLSTYLEARRAY value * @param shapeNum 1 in DefineShape, 2 in DefineShape2,... - * @throws IOException + * @throws IOException On I/O error */ public void writeFOCALGRADIENT(FOCALGRADIENT value, int shapeNum) throws IOException { writeUB(2, value.spreadMode); @@ -1384,7 +1384,7 @@ public class SWFOutputStream extends OutputStream { * * @param value GRADIENT value * @param shapeNum 1 in DefineShape, 2 in DefineShape2,... - * @throws IOException + * @throws IOException On I/O error */ public void writeGRADIENT(GRADIENT value, int shapeNum) throws IOException { writeUB(2, value.spreadMode); @@ -1400,7 +1400,7 @@ public class SWFOutputStream extends OutputStream { * * @param value GRADRECORD value * @param shapeNum 1 in DefineShape, 2 in DefineShape2,... - * @throws IOException + * @throws IOException On I/O error */ public void writeGRADRECORD(GRADRECORD value, int shapeNum) throws IOException { writeUI8(value.ratio); @@ -1416,7 +1416,7 @@ public class SWFOutputStream extends OutputStream { * * @param value LINESTYLE value * @param shapeNum 1 in DefineShape, 2 in DefineShape2,... - * @throws IOException + * @throws IOException On I/O error */ public void writeLINESTYLE(LINESTYLE value, int shapeNum) throws IOException { writeUI16(value.width); @@ -1432,7 +1432,7 @@ public class SWFOutputStream extends OutputStream { * * @param value LINESTYLE2 value * @param shapeNum 1 in DefineShape, 2 in DefineShape2,... - * @throws IOException + * @throws IOException On I/O error */ public void writeLINESTYLE2(LINESTYLE2 value, int shapeNum) throws IOException { writeUI16(value.width); @@ -1460,7 +1460,7 @@ public class SWFOutputStream extends OutputStream { * * @param value FILLSTYLEARRAY value * @param shapeNum 1 in DefineShape, 2 in DefineShape2,... - * @throws IOException + * @throws IOException On I/O error */ public void writeLINESTYLEARRAY(LINESTYLEARRAY value, int shapeNum) throws IOException { int lineStyleCount; @@ -1494,7 +1494,7 @@ public class SWFOutputStream extends OutputStream { * * @param value SHAPE value * @param shapeNum 1 in DefineShape, 2 in DefineShape2,... - * @throws IOException + * @throws IOException On I/O error */ public void writeSHAPE(SHAPE value, int shapeNum) throws IOException { calculateSHAPEFillLineBits(value); @@ -1543,7 +1543,7 @@ public class SWFOutputStream extends OutputStream { * * @param value SHAPEWITHSTYLE value * @param shapeNum 1 in DefineShape, 2 in DefineShape2,... - * @throws IOException + * @throws IOException On I/O error */ public void writeSHAPEWITHSTYLE(SHAPEWITHSTYLE value, int shapeNum) throws IOException { writeFILLSTYLEARRAY(value.fillStyles, shapeNum); @@ -1558,10 +1558,10 @@ public class SWFOutputStream extends OutputStream { * Writes SHAPERECORDs value to the stream. * * @param value SHAPERECORDS value - * @param fillBits - * @param lineBits + * @param fillBits Fill bits + * @param lineBits Line bits * @param shapeNum 1 in DefineShape, 2 in DefineShape2,... - * @throws IOException + * @throws IOException On I/O error */ private void writeSHAPERECORDS(List value, int fillBits, int lineBits, int shapeNum) throws IOException { for (SHAPERECORD sh : value) { @@ -1658,7 +1658,7 @@ public class SWFOutputStream extends OutputStream { * Writes SOUNDINFO value to the stream. * * @param value SOUNDINFO value - * @throws IOException + * @throws IOException On I/O error */ public void writeSOUNDINFO(SOUNDINFO value) throws IOException { writeUB(2, value.reserved); @@ -1689,7 +1689,7 @@ public class SWFOutputStream extends OutputStream { * Writes SOUNDENVELOPE value to the stream. * * @param value SOUNDENVELOPE value - * @throws IOException + * @throws IOException On I/O error */ public void writeSOUNDENVELOPE(SOUNDENVELOPE value) throws IOException { writeUI32(value.pos44); @@ -1701,10 +1701,10 @@ public class SWFOutputStream extends OutputStream { * Writes TEXTRECORD value to the stream. * * @param value TEXTRECORD value - * @param defineTextNum - * @param glyphBits - * @param advanceBits - * @throws IOException + * @param defineTextNum 1 in DefineText, 2 in DefineText2,... + * @param glyphBits Glyph bits + * @param advanceBits Advance bits + * @throws IOException On I/O error */ public void writeTEXTRECORD(TEXTRECORD value, int defineTextNum, int glyphBits, int advanceBits) throws IOException { writeUB(1, 1); @@ -1743,9 +1743,9 @@ public class SWFOutputStream extends OutputStream { * Writes GLYPHENTRY value to the stream. * * @param value GLYPHENTRY value - * @param glyphBits - * @param advanceBits - * @throws IOException + * @param glyphBits Glyph bits + * @param advanceBits Advance bits + * @throws IOException On I/O error */ public void writeGLYPHENTRY(GLYPHENTRY value, int glyphBits, int advanceBits) throws IOException { writeUB(glyphBits, value.glyphIndex); @@ -1757,7 +1757,7 @@ public class SWFOutputStream extends OutputStream { * * @param value MORPHFILLSTYLE value * @param shapeNum 1 in DefineMorphShape, 2 in DefineMorphShape2,... - * @throws IOException + * @throws IOException On I/O error */ public void writeMORPHFILLSTYLE(MORPHFILLSTYLE value, int shapeNum) throws IOException { writeUI8(value.fillStyleType); @@ -1794,7 +1794,7 @@ public class SWFOutputStream extends OutputStream { * * @param value MORPHFILLSTYLEARRAY value * @param morphShapeNum 1 on DefineMorphShape, 2 on DefineMorphShape - * @throws IOException + * @throws IOException On I/O error */ public void writeMORPHFILLSTYLEARRAY(MORPHFILLSTYLEARRAY value, int morphShapeNum) throws IOException { int fillStyleCount = value.fillStyles.length; @@ -1814,7 +1814,7 @@ public class SWFOutputStream extends OutputStream { * * @param value MORPHGRADIENT value * @param shapeNum 1 in DefineMorphShape, 2 in DefineMorphShape2,... - * @throws IOException + * @throws IOException On I/O error */ public void writeMORPHGRADIENT(MORPHGRADIENT value, int shapeNum) throws IOException { // Despite of documentation (UI8 1-8), there are two fields @@ -1835,7 +1835,7 @@ public class SWFOutputStream extends OutputStream { * * @param value MORPHGRADIENT value * @param shapeNum 1 in DefineMorphShape, 2 in DefineMorphShape2,... - * @throws IOException + * @throws IOException On I/O error */ public void writeMORPHFOCALGRADIENT(MORPHFOCALGRADIENT value, int shapeNum) throws IOException { writeUB(2, value.spreadMode); @@ -1852,7 +1852,7 @@ public class SWFOutputStream extends OutputStream { * Writes MORPHGRADRECORD value to the stream. * * @param value MORPHGRADRECORD value - * @throws IOException + * @throws IOException On I/O error */ public void writeMORPHGRADRECORD(MORPHGRADRECORD value) throws IOException { writeUI8(value.startRatio); @@ -1866,7 +1866,7 @@ public class SWFOutputStream extends OutputStream { * * @param value LINESTYLE value * @param shapeNum 1 in DefineMorphShape, 2 in DefineMorphShape2,... - * @throws IOException + * @throws IOException On I/O error */ public void writeMORPHLINESTYLE(MORPHLINESTYLE value, int shapeNum) throws IOException { writeUI16(value.startWidth); @@ -1881,7 +1881,7 @@ public class SWFOutputStream extends OutputStream { * * @param value MORPHLINESTYLE2 value * @param shapeNum 1 in DefineMorphShape, 2 in DefineMorphShape2,... - * @throws IOException + * @throws IOException On I/O error */ public void writeMORPHLINESTYLE2(MORPHLINESTYLE2 value, int shapeNum) throws IOException { writeUI16(value.startWidth); @@ -1911,7 +1911,7 @@ public class SWFOutputStream extends OutputStream { * * @param value MORPHFILLSTYLEARRAY value * @param morphShapeNum 1 in DefineMorphShape, 2 in DefineMorphShape2,... - * @throws IOException + * @throws IOException On I/O error */ public void writeMORPHLINESTYLEARRAY(MORPHLINESTYLEARRAY value, int morphShapeNum) throws IOException { int lineStyleCount; @@ -1944,8 +1944,8 @@ public class SWFOutputStream extends OutputStream { * Writes KERNINGRECORD value to the stream. * * @param value KERNINGRECORD value - * @param fontFlagsWideCodes - * @throws IOException + * @param fontFlagsWideCodes Font flags wide codes + * @throws IOException On I/O error */ public void writeKERNINGRECORD(KERNINGRECORD value, boolean fontFlagsWideCodes) throws IOException { if (fontFlagsWideCodes) { @@ -1962,7 +1962,7 @@ public class SWFOutputStream extends OutputStream { * Writes LANGCODE value to the stream. * * @param value LANGCODE value - * @throws IOException + * @throws IOException On I/O error */ public void writeLANGCODE(LANGCODE value) throws IOException { writeUI8(value.languageCode); @@ -1972,7 +1972,7 @@ public class SWFOutputStream extends OutputStream { * Writes ZONERECORD value to the stream. * * @param value ZONERECORD value - * @throws IOException + * @throws IOException On I/O error */ public void writeZONERECORD(ZONERECORD value) throws IOException { writeUI8(value.zonedata.length); @@ -1988,7 +1988,7 @@ public class SWFOutputStream extends OutputStream { * Writes ZONEDATA value to the stream. * * @param value ZONEDATA value - * @throws IOException + * @throws IOException On I/O error */ public void writeZONEDATA(ZONEDATA value) throws IOException { writeUI16(value.alignmentCoordinate); @@ -1999,7 +1999,7 @@ public class SWFOutputStream extends OutputStream { * Writes ZLIB compressed data to the stream. * * @param data Data to compress - * @throws IOException + * @throws IOException On I/O error */ public void writeBytesZlib(byte[] data) throws IOException { DeflaterOutputStream deflater = new DeflaterOutputStream(this, new Deflater(9)); @@ -2012,7 +2012,7 @@ public class SWFOutputStream extends OutputStream { * * @param data Data to compress * @return Compressed data - * @throws IOException + * @throws IOException On I/O error */ public static byte[] compressByteArray(byte[] data) throws IOException { ByteArrayOutputStream baos = new ByteArrayOutputStream(); @@ -2029,7 +2029,7 @@ public class SWFOutputStream extends OutputStream { * @param bitmapFormat Format of the bitmap * @param bitmapWidth Width of the bitmap * @param bitmapHeight Height of the bitmap - * @throws IOException + * @throws IOException On I/O error */ public void writeBITMAPDATA(BITMAPDATA value, int bitmapFormat, int bitmapWidth, int bitmapHeight) throws IOException { int dataLen = 0; @@ -2061,7 +2061,7 @@ public class SWFOutputStream extends OutputStream { * @param bitmapFormat Format of the bitmap * @param bitmapWidth Width of the bitmap * @param bitmapHeight Height of the bitmap - * @throws IOException + * @throws IOException On I/O error */ public void writeALPHABITMAPDATA(ALPHABITMAPDATA value, int bitmapFormat, int bitmapWidth, int bitmapHeight) throws IOException { int pos = 0; @@ -2077,7 +2077,7 @@ public class SWFOutputStream extends OutputStream { * Writes PIX24 value to the stream. * * @param value PIX24 value - * @throws IOException + * @throws IOException On I/O error */ public void writePIX24(PIX24 value) throws IOException { writeUI8(value.reserved); @@ -2090,7 +2090,7 @@ public class SWFOutputStream extends OutputStream { * Writes PIX24 value to the stream. * * @param value PIX24 value - * @throws IOException + * @throws IOException On I/O error */ public void writePIX24(int value) throws IOException { writeUI8((value >> 24) & 0xff); @@ -2103,7 +2103,7 @@ public class SWFOutputStream extends OutputStream { * Writes PIX15 value to the stream. * * @param value PIX15 value - * @throws IOException + * @throws IOException On I/O error */ public void writePIX15(PIX15 value) throws IOException { writeUB(1, value.reserved); @@ -2116,7 +2116,7 @@ public class SWFOutputStream extends OutputStream { * Writes PIX15 value to the stream. * * @param value PIX15 value - * @throws IOException + * @throws IOException On I/O error */ public void writePIX15(int value) throws IOException { writeUB(1, (value >> 24) & 0xff); @@ -2132,8 +2132,8 @@ public class SWFOutputStream extends OutputStream { * @param value AMF3 encoded value * @param serializers Map className=>Serializer for classes implementing * IExternalizable - * @throws IOException - * @throws NoSerializerExistsException + * @throws IOException On I/O error + * @throws NoSerializerExistsException When no serializer exists for the value */ public void writeAmf3Object(Amf3Value value, Map serializers) throws IOException, NoSerializerExistsException { Amf3OutputStream ao = new Amf3OutputStream(os); @@ -2145,8 +2145,8 @@ public class SWFOutputStream extends OutputStream { * IExternalizable, you need to pass serializer as second parameter. * * @param value AMF3 encoded value - * @throws IOException - * @throws NoSerializerExistsException + * @throws IOException On I/O error + * @throws NoSerializerExistsException When no serializer exists for the value */ public void writeAmf3Object(Amf3Value value) throws IOException, NoSerializerExistsException { writeAmf3Object(value, new HashMap<>()); diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/SWFSearch.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/SWFSearch.java index 28d506fb7..101338329 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/SWFSearch.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/SWFSearch.java @@ -81,7 +81,7 @@ public class SWFSearch { /** * Adds progress listener. * - * @param l + * @param l Progress listener */ public void addProgressListener(ProgressListener l) { listeners.add(l); @@ -90,7 +90,7 @@ public class SWFSearch { /** * Removes progress listener. * - * @param l + * @param l Progress listener */ public void removeProgressListener(ProgressListener l) { listeners.remove(l); @@ -194,7 +194,7 @@ public class SWFSearch { * @param listener Progress listener * @param address Address * @return SWF stream - * @throws IOException + * @throws IOException On I/O error */ public MemoryInputStream get(ProgressListener listener, long address) throws IOException { if (!processed) { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/ZippedBundle.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/ZippedBundle.java index 3ff8c7479..456b8b565 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/ZippedBundle.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/ZippedBundle.java @@ -42,22 +42,22 @@ import java.util.zip.ZipOutputStream; public class ZippedBundle implements Bundle { /** - * + * Key set */ protected Set keySet = new HashSet<>(); /** - * File input stream for the ZIP file. + * File input stream for the ZIP file */ protected FileInputStream fis; /** - * Re-readable input stream for the ZIP file. + * Re-readable input stream for the ZIP file */ protected ReReadableInputStream is; /** - * File name of the ZIP file. + * File name of the ZIP file */ protected File filename; @@ -65,7 +65,7 @@ public class ZippedBundle implements Bundle { * Constructs a new ZippedBundle from an input stream. * * @param is Input stream - * @throws IOException + * @throws IOException On I/O error */ public ZippedBundle(InputStream is) throws IOException { this(is, null); @@ -75,7 +75,7 @@ public class ZippedBundle implements Bundle { * Constructs a new ZippedBundle from a file. * * @param filename File - * @throws IOException + * @throws IOException On I/O error */ public ZippedBundle(File filename) throws IOException { this(null, filename); @@ -86,7 +86,7 @@ public class ZippedBundle implements Bundle { * * @param is Input stream * @param filename File - * @throws IOException + * @throws IOException On I/O error */ protected ZippedBundle(InputStream is, File filename) throws IOException { initBundle(is, filename); @@ -97,7 +97,7 @@ public class ZippedBundle implements Bundle { * * @param is Input stream * @param filename File - * @throws IOException + * @throws IOException On I/O error */ protected void initBundle(InputStream is, File filename) throws IOException { if (filename != null) { @@ -119,33 +119,17 @@ public class ZippedBundle implements Bundle { } } - /** - * Gets the number of entries in the bundle. - * - * @return - */ @Override public int length() { return keySet.size(); } - /** - * Gets the keys in the bundle. - * - * @return - */ + @Override public Set getKeys() { return keySet; } - /** - * Gets the input stream for a key. - * - * @param key Key - * @return Input stream - * @throws IOException - */ @Override public SeekableInputStream getOpenable(String key) throws IOException { if (!keySet.contains(key)) { @@ -171,12 +155,6 @@ public class ZippedBundle implements Bundle { //return cachedSWFs.get(key); } - /** - * Gets all input streams in the bundle. - * - * @return Map of key to input stream - * @throws IOException - */ @Override public Map getAll() throws IOException { Map ret = new HashMap<>(); @@ -186,34 +164,16 @@ public class ZippedBundle implements Bundle { return ret; } - /** - * Gets the extension of the bundle. - * - * @return Extension - */ @Override public String getExtension() { return "zip"; } - /** - * Gets whether the bundle is read-only. - * - * @return Whether the bundle is read-only - */ @Override public boolean isReadOnly() { return this.filename == null || !this.filename.canWrite(); } - /** - * Replaces the input stream for a key. - * - * @param key Key - * @param swfIs New input stream - * @return Whether the operation was successful - * @throws IOException - */ @Override public boolean putOpenable(String key, InputStream swfIs) throws IOException { if (this.isReadOnly()) { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/ABC.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/ABC.java index 718621f8d..622994b91 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/ABC.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/ABC.java @@ -770,7 +770,7 @@ public class ABC implements Openable { * * @param minMajor Minimum major version * @param minMinor Minimum minor version - * @return + * @return Whether the ABC has minimum version */ private boolean minVersionCheck(int minMajor, int minMinor) { return version.compareTo(new ABCVersion(minMajor, minMinor)) >= 0; diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/ScriptPack.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/ScriptPack.java index 9c629dfe8..b79bcab0a 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/ScriptPack.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/ScriptPack.java @@ -252,7 +252,7 @@ public class ScriptPack extends AS3ClassTreeItem { * @param convertData Convert data * @param exportMode Export mode * @param parallel Parallel - * @throws InterruptedException + * @throws InterruptedException On interrupt */ public void convert(AbcIndexing abcIndex, final NulWriter writer, final List traits, final ConvertData convertData, final ScriptExportMode exportMode, final boolean parallel) throws InterruptedException { @@ -296,7 +296,7 @@ public class ScriptPack extends AS3ClassTreeItem { * @param convertData Convert data * @param exportMode Export mode * @param parallel Parallel - * @throws InterruptedException + * @throws InterruptedException On interrupt */ private void appendTo(AbcIndexing abcIndex, GraphTextWriter writer, List traits, ConvertData convertData, ScriptExportMode exportMode, boolean parallel) throws InterruptedException { boolean first = true; @@ -369,7 +369,7 @@ public class ScriptPack extends AS3ClassTreeItem { * @param exportMode Export mode * @param parallel Parallel * @param ignoreFrameScripts Whether to ignore frame scripts - * @throws InterruptedException + * @throws InterruptedException On interrupt */ public void toSource(AbcIndexing abcIndex, GraphTextWriter writer, final List traits, final ConvertData convertData, final ScriptExportMode exportMode, final boolean parallel, boolean ignoreFrameScripts) throws InterruptedException { writer.suspendMeasure(); @@ -420,8 +420,8 @@ public class ScriptPack extends AS3ClassTreeItem { * @param exportSettings Export settings * @param parallel Parallel * @return File - * @throws IOException - * @throws InterruptedException + * @throws IOException On I/O error + * @throws InterruptedException On interrupt */ public File export(AbcIndexing abcIndex, File file, ScriptExportSettings exportSettings, boolean parallel) throws IOException, InterruptedException { if (!exportSettings.singleFile) { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/AVM2Code.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/AVM2Code.java index 634f9607c..92f20ed7a 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/AVM2Code.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/AVM2Code.java @@ -3088,7 +3088,7 @@ public class AVM2Code implements Cloneable { * @param scope Scope * @param abc ABC * @param autoFill Auto fill - * @return + * @return True if success */ private boolean walkCode(CodeStats stats, int pos, int stack, int scope, ABC abc, boolean autoFill) { while (pos < code.size()) { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/NumberContext.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/NumberContext.java index 41272458b..e29b1181b 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/NumberContext.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/NumberContext.java @@ -77,7 +77,7 @@ public class NumberContext { /** * Sets the usage of the number. * - * @param usage + * @param usage Usage */ public void setUsage(int usage) { if (usage > 6 || usage < 0) { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/deobfuscation/DeobfuscationLevel.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/deobfuscation/DeobfuscationLevel.java index c91177f0c..b135afec9 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/deobfuscation/DeobfuscationLevel.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/deobfuscation/DeobfuscationLevel.java @@ -34,7 +34,7 @@ public enum DeobfuscationLevel { /** * Get level of deobfuscation as number * - * @return + * @return Level of deobfuscation as number */ public int getLevel() { return level; diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/fastavm2/FastAVM2List.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/fastavm2/FastAVM2List.java index a7acc3351..643b82dd1 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/fastavm2/FastAVM2List.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/fastavm2/FastAVM2List.java @@ -83,7 +83,7 @@ public class FastAVM2List implements Collection { * * @param item Item to insert before * @param action Action to insert - * @return + * @return New item */ public final AVM2InstructionItem insertItemBefore(AVM2InstructionItem item, AVM2Instruction action) { AVM2InstructionItem newItem = new AVM2InstructionItem(action); @@ -111,7 +111,7 @@ public class FastAVM2List implements Collection { * * @param item Item to insert after * @param action Action to insert - * @return + * @return New item */ public final AVM2InstructionItem insertItemAfter(AVM2InstructionItem item, AVM2Instruction action) { AVM2InstructionItem newItem = new AVM2InstructionItem(action); @@ -240,7 +240,7 @@ public class FastAVM2List implements Collection { * @param instructions Instructions * @param address Address * @param next Next - * @return + * @return Nearby address */ private long getNearAddress(List instructions, long address, boolean next) { int min = 0; @@ -451,7 +451,7 @@ public class FastAVM2List implements Collection { * * @param jump Jump * @param jumpTarget Jump target - * @return + * @return Unreachable action count */ public int getUnreachableActionCount(AVM2InstructionItem jump, AVM2InstructionItem jumpTarget) { AVM2InstructionItem item = firstItem; @@ -703,7 +703,7 @@ public class FastAVM2List implements Collection { * @param a the array into which the elements of this collection are to be * stored, if it is big enough; otherwise, a new array of the same runtime * type is allocated for this purpose. - * @param + * @param Type * @return Array */ @Override diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/graph/AVM2Graph.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/graph/AVM2Graph.java index 0b10a85e5..611771194 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/graph/AVM2Graph.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/graph/AVM2Graph.java @@ -867,8 +867,8 @@ public class AVM2Graph extends Graph { /** * Gets real references. Real = start >= 0 * - * @param part - * @return + * @param part Part + * @return List of graph parts */ private List getRealRefs(GraphPart part) { List ret = new ArrayList<>(); diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/instructions/UnknownInstruction.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/instructions/UnknownInstruction.java index 694b10c11..9d664e564 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/instructions/UnknownInstruction.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/instructions/UnknownInstruction.java @@ -43,7 +43,7 @@ public class UnknownInstruction extends InstructionDefinition { * @param lda Local data area * @param constants Constant pool * @param ins Instruction - * @throws AVM2VerifyErrorException + * @throws AVM2VerifyErrorException On verify error */ @Override public void verify(LocalDataArea lda, AVM2ConstantPool constants, AVM2Instruction ins) throws AVM2VerifyErrorException { @@ -57,7 +57,7 @@ public class UnknownInstruction extends InstructionDefinition { * @param constants Constant pool * @param ins Instruction * @return True if instruction was executed, false if not - * @throws AVM2ExecutionException + * @throws AVM2ExecutionException On execution error */ @Override public boolean execute(LocalDataArea lda, AVM2ConstantPool constants, AVM2Instruction ins) throws AVM2ExecutionException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/model/SetSlotAVM2Item.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/model/SetSlotAVM2Item.java index bb09e4da3..385346c03 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/model/SetSlotAVM2Item.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/model/SetSlotAVM2Item.java @@ -160,7 +160,7 @@ public class SetSlotAVM2Item extends AVM2Item implements SetTypeAVM2Item, Assign * @param writer Writer * @param localData Local data * @return Writer - * @throws InterruptedException + * @throws InterruptedException On interrupt */ public GraphTextWriter getName(GraphTextWriter writer, LocalData localData) throws InterruptedException { return writer.append(getNameAsStr(localData)); diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/parser/script/ActionScript3Parser.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/parser/script/ActionScript3Parser.java index e1f0de345..05fbca15f 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/parser/script/ActionScript3Parser.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/parser/script/ActionScript3Parser.java @@ -1993,7 +1993,7 @@ public class ActionScript3Parser { * Lexer can return XML opentags instead of greater. In expression, we need * greater sign only * - * @param symb + * @param symb Symbol to fix */ private void xmlToLowerThanFix(ParsedSymbol symb) { if (symb.isType(SymbolType.XML_STARTVARTAG_BEGIN, SymbolType.XML_STARTTAG_BEGIN)) { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/types/MethodBody.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/types/MethodBody.java index 963404138..dec1c3852 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/types/MethodBody.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/types/MethodBody.java @@ -271,7 +271,7 @@ public final class MethodBody implements Cloneable { * @param trait Trait * @param info Method info * @return Number of removed instructions - * @throws InterruptedException + * @throws InterruptedException On interrupt */ public int removeDeadCode(AVM2ConstantPool constants, Trait trait, MethodInfo info) throws InterruptedException { return getCode().removeDeadCode(this); @@ -287,7 +287,7 @@ public final class MethodBody implements Cloneable { * @param isStatic Is static * @param path Path * @return Number of removed instructions - * @throws InterruptedException + * @throws InterruptedException On interrupt */ public int removeTraps(ABC abc, Trait trait, int scriptIndex, int classIndex, boolean isStatic, String path) throws InterruptedException { @@ -303,7 +303,7 @@ public final class MethodBody implements Cloneable { * @param classIndex Class index * @param isStatic Is static * @param path Path - * @throws InterruptedException + * @throws InterruptedException On interrupt */ public void deobfuscate(DeobfuscationLevel level, Trait trait, int scriptIndex, int classIndex, boolean isStatic, String path) throws InterruptedException { if (level == DeobfuscationLevel.LEVEL_REMOVE_DEAD_CODE) { @@ -329,8 +329,8 @@ public final class MethodBody implements Cloneable { * newinstruction is jump, the offset operand must be handled properly by * caller. * - * @param pos - * @param instruction + * @param pos Position + * @param instruction Instruction */ public void replaceInstruction(int pos, AVM2Instruction instruction) { getCode().replaceInstruction(pos, instruction, this); @@ -446,7 +446,7 @@ public final class MethodBody implements Cloneable { * @param initTraits Initial traits * @param firstLevel First level * @param seenMethods Seen methods - * @throws InterruptedException + * @throws InterruptedException On interrupt */ public void convert(List callStack, AbcIndexing abcIndex, final ConvertData convertData, final String path, ScriptExportMode exportMode, final boolean isStatic, final int methodIndex, final int scriptIndex, final int classIndex, final ABC abc, final Trait trait, final ScopeStack scopeStack, final int initializerType, final NulWriter writer, final List fullyQualifiedNames, Traits initTraits, boolean firstLevel, Set seenMethods) throws InterruptedException { seenMethods.add(this.method_info); @@ -532,7 +532,7 @@ public final class MethodBody implements Cloneable { * @param fullyQualifiedNames Fully qualified names * @param seenMethods Seen methods * @return Writer - * @throws InterruptedException + * @throws InterruptedException On interrupt */ public GraphTextWriter toString(List callStack, AbcIndexing abcIndex, final String path, ScriptExportMode exportMode, final ABC abc, final Trait trait, final GraphTextWriter writer, final List fullyQualifiedNames, Set seenMethods) throws InterruptedException { seenMethods.add(method_info); @@ -590,7 +590,7 @@ public final class MethodBody implements Cloneable { * @param abc ABC file * @param trait Trait * @return Method body - * @throws InterruptedException + * @throws InterruptedException On interrupt */ public MethodBody convertMethodBodyCanUseLast(boolean deobfuscate, String path, boolean isStatic, int scriptIndex, int classIndex, ABC abc, Trait trait) throws InterruptedException { if (lastConvertedBody != null) { @@ -617,7 +617,7 @@ public final class MethodBody implements Cloneable { * @param abc ABC file * @param trait Trait * @return Method body - * @throws InterruptedException + * @throws InterruptedException On interrupt */ public MethodBody convertMethodBody(boolean deobfuscate, String path, boolean isStatic, int scriptIndex, int classIndex, ABC abc, Trait trait) throws InterruptedException { MethodBody body = clone(); diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/types/Multiname.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/types/Multiname.java index 765b43b6a..8445d6ba2 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/types/Multiname.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/types/Multiname.java @@ -970,8 +970,8 @@ public class Multiname { * Checks if this multiname is effectively a QName. Efectively means that it * is a QName or QNameA or MULTINAME with only one namespace. * - * @param thisCpool - * @return + * @param thisCpool This constant pool + * @return True if it's effectively a QName */ private boolean isEfectivelyQname(AVM2ConstantPool thisCpool) { return kind == QNAME || kind == QNAMEA || isMULTINAMEwithOneNs(thisCpool); diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/types/traits/Trait.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/types/traits/Trait.java index 5d95fea32..d60949865 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/types/traits/Trait.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/types/traits/Trait.java @@ -276,7 +276,7 @@ public abstract class Trait implements Cloneable, Serializable { * @param ignorePackage Ignore package * @param fullyQualifiedNames Fully qualified names * @param uses Uses - * @throws InterruptedException + * @throws InterruptedException On interrupt */ public void getDependencies(AbcIndexing abcIndex, int scriptIndex, int classIndex, boolean isStatic, String customNamespace, ABC abc, List dependencies, DottedChain ignorePackage, List fullyQualifiedNames, List uses) throws InterruptedException { if (customNamespace == null) { @@ -361,7 +361,7 @@ public abstract class Trait implements Cloneable, Serializable { * @param writer Writer * @param ignorePackage Ignore package * @param fullyQualifiedNames Fully qualified names - * @throws InterruptedException + * @throws InterruptedException On interrupt */ public void writeImports(AbcIndexing abcIndex, int scriptIndex, int classIndex, boolean isStatic, ABC abc, GraphTextWriter writer, DottedChain ignorePackage, List fullyQualifiedNames) throws InterruptedException { @@ -680,7 +680,7 @@ public abstract class Trait implements Cloneable, Serializable { * @param parallel Parallel * @param insideInterface Inside interface * @return Writer - * @throws InterruptedException + * @throws InterruptedException On interrupt */ public GraphTextWriter toString(AbcIndexing abcIndex, Trait parent, ConvertData convertData, String path, ABC abc, boolean isStatic, ScriptExportMode exportMode, int scriptIndex, int classIndex, GraphTextWriter writer, List fullyQualifiedNames, boolean parallel, boolean insideInterface) throws InterruptedException { writer.appendNoHilight(abc.constants.getMultiname(name_index).toString(abc.constants, fullyQualifiedNames) + " kind=" + kindType + " metadata=" + Helper.intArrToString(metadata)); @@ -703,7 +703,7 @@ public abstract class Trait implements Cloneable, Serializable { * @param fullyQualifiedNames Fully qualified names * @param parallel Parallel * @param scopeStack Scope stack - * @throws InterruptedException + * @throws InterruptedException On interrupt */ public void convert(AbcIndexing abcIndex, Trait parent, ConvertData convertData, String path, ABC abc, boolean isStatic, ScriptExportMode exportMode, int scriptIndex, int classIndex, NulWriter writer, List fullyQualifiedNames, boolean parallel, ScopeStack scopeStack) throws InterruptedException { } @@ -816,7 +816,7 @@ public abstract class Trait implements Cloneable, Serializable { * @param parallel Parallel * @param insideInterface Inside interface * @return Writer - * @throws InterruptedException + * @throws InterruptedException On interrupt */ public GraphTextWriter toStringPackaged(AbcIndexing abcIndex, Trait parent, ConvertData convertData, String path, ABC abc, boolean isStatic, ScriptExportMode exportMode, int scriptIndex, int classIndex, GraphTextWriter writer, List fullyQualifiedNames, boolean parallel, boolean insideInterface) throws InterruptedException { Multiname name = abc.constants.getMultiname(name_index); @@ -851,7 +851,7 @@ public abstract class Trait implements Cloneable, Serializable { * @param fullyQualifiedNames Fully qualified names * @param parallel Parallel * @param scopeStack Scope stack - * @throws InterruptedException + * @throws InterruptedException On interrupt */ public void convertPackaged(AbcIndexing abcIndex, Trait parent, ConvertData convertData, String path, ABC abc, boolean isStatic, ScriptExportMode exportMode, int scriptIndex, int classIndex, NulWriter writer, List fullyQualifiedNames, boolean parallel, ScopeStack scopeStack) throws InterruptedException { Multiname name = abc.constants.getMultiname(name_index); @@ -878,7 +878,7 @@ public abstract class Trait implements Cloneable, Serializable { * @param parallel Parallel * @param insideInterface Inside interface * @return Writer - * @throws InterruptedException + * @throws InterruptedException On interrupt */ public GraphTextWriter toStringHeader(Trait parent, ConvertData convertData, String path, ABC abc, boolean isStatic, ScriptExportMode exportMode, int scriptIndex, int classIndex, GraphTextWriter writer, List fullyQualifiedNames, boolean parallel, boolean insideInterface) throws InterruptedException { toString(null, parent, convertData, path, abc, isStatic, exportMode, scriptIndex, classIndex, writer, fullyQualifiedNames, parallel, insideInterface); @@ -899,7 +899,7 @@ public abstract class Trait implements Cloneable, Serializable { * @param writer Writer * @param fullyQualifiedNames Fully qualified names * @param parallel Parallel - * @throws InterruptedException + * @throws InterruptedException On interrupt */ public void convertHeader(Trait parent, ConvertData convertData, String path, ABC abc, boolean isStatic, ScriptExportMode exportMode, int scriptIndex, int classIndex, NulWriter writer, List fullyQualifiedNames, boolean parallel) throws InterruptedException { convert(null, parent, convertData, path, abc, isStatic, exportMode, scriptIndex, classIndex, writer, fullyQualifiedNames, parallel, new ScopeStack()); @@ -928,7 +928,7 @@ public abstract class Trait implements Cloneable, Serializable { * @param abc ABC * @param path Path * @return Number of removed traps - * @throws InterruptedException + * @throws InterruptedException On interrupt */ public abstract int removeTraps(int scriptIndex, int classIndex, boolean isStatic, ABC abc, String path) throws InterruptedException; diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/types/traits/TraitClass.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/types/traits/TraitClass.java index 5617b8155..38fbb6aea 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/types/traits/TraitClass.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/types/traits/TraitClass.java @@ -115,7 +115,7 @@ public class TraitClass extends Trait implements TraitWithSlot { * @param ignorePackage Ignore package * @param fullyQualifiedNames Fully qualified names * @param uses Uses - * @throws InterruptedException + * @throws InterruptedException On interrupt */ @Override public void getDependencies(AbcIndexing abcIndex, int scriptIndex, int classIndex, boolean isStatic, String customNamespace, ABC abc, List dependencies, DottedChain ignorePackage, List fullyQualifiedNames, List uses) throws InterruptedException { @@ -216,7 +216,7 @@ public class TraitClass extends Trait implements TraitWithSlot { * @param parallel Parallel * @param insideInterface Inside interface * @return Writer - * @throws InterruptedException + * @throws InterruptedException On interrupt */ @Override public GraphTextWriter toString(AbcIndexing abcIndex, Trait parent, ConvertData convertData, String path, ABC abc, boolean isStatic, ScriptExportMode exportMode, int scriptIndex, int classIndex, GraphTextWriter writer, List fullyQualifiedNames, boolean parallel, boolean insideInterface) throws InterruptedException { @@ -363,7 +363,7 @@ public class TraitClass extends Trait implements TraitWithSlot { * @param fullyQualifiedNames Fully qualified names * @param parallel Parallel * @param scopeStack Scope stack - * @throws InterruptedException + * @throws InterruptedException On interrupt */ @Override public void convert(AbcIndexing abcIndex, Trait parent, ConvertData convertData, String path, ABC abc, boolean isStatic, ScriptExportMode exportMode, int scriptIndex, int classIndex, NulWriter writer, List fullyQualifiedNames, boolean parallel, ScopeStack scopeStack) throws InterruptedException { @@ -490,7 +490,7 @@ public class TraitClass extends Trait implements TraitWithSlot { * @param abc ABC * @param path Path * @return Number of removed traps - * @throws InterruptedException + * @throws InterruptedException On interrupt */ @Override public int removeTraps(int scriptIndex, int classIndex, boolean isStatic, ABC abc, String path) throws InterruptedException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/types/traits/TraitFunction.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/types/traits/TraitFunction.java index 5983e3634..80945f03e 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/types/traits/TraitFunction.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/types/traits/TraitFunction.java @@ -68,7 +68,7 @@ public class TraitFunction extends Trait implements TraitWithSlot { /** * Gets slot index. * - * @return + * @return Slot index */ @Override public int getSlotIndex() { @@ -156,7 +156,7 @@ public class TraitFunction extends Trait implements TraitWithSlot { * @param parallel Parallel * @param insideInterface Inside interface * @return Writer - * @throws InterruptedException + * @throws InterruptedException On interrupt */ @Override public GraphTextWriter toString(AbcIndexing abcIndex, Trait parent, ConvertData convertData, String path, ABC abc, boolean isStatic, ScriptExportMode exportMode, int scriptIndex, int classIndex, GraphTextWriter writer, List fullyQualifiedNames, boolean parallel, boolean insideInterface) throws InterruptedException { @@ -196,7 +196,7 @@ public class TraitFunction extends Trait implements TraitWithSlot { * @param fullyQualifiedNames Fully qualified names * @param parallel Parallel * @param scopeStack Scope stack - * @throws InterruptedException + * @throws InterruptedException On interrupt */ @Override public void convert(AbcIndexing abcIndex, Trait parent, ConvertData convertData, String path, ABC abc, boolean isStatic, ScriptExportMode exportMode, int scriptIndex, int classIndex, NulWriter writer, List fullyQualifiedNames, boolean parallel, ScopeStack scopeStack) throws InterruptedException { @@ -222,7 +222,7 @@ public class TraitFunction extends Trait implements TraitWithSlot { * @param abc ABC * @param path Path * @return Number of removed traps - * @throws InterruptedException + * @throws InterruptedException On interrupt */ @Override public int removeTraps(int scriptIndex, int classIndex, boolean isStatic, ABC abc, String path) throws InterruptedException { @@ -257,7 +257,7 @@ public class TraitFunction extends Trait implements TraitWithSlot { * @param ignorePackage Ignore package * @param fullyQualifiedNames Fully qualified names * @param uses Uses - * @throws InterruptedException + * @throws InterruptedException On interrupt */ @Override public void getDependencies(AbcIndexing abcIndex, int scriptIndex, int classIndex, boolean isStatic, String customNamespace, ABC abc, List dependencies, DottedChain ignorePackage, List fullyQualifiedNames, List uses) throws InterruptedException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/types/traits/TraitMethodGetterSetter.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/types/traits/TraitMethodGetterSetter.java index be4d06bb6..141ec1980 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/types/traits/TraitMethodGetterSetter.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/types/traits/TraitMethodGetterSetter.java @@ -101,7 +101,7 @@ public class TraitMethodGetterSetter extends Trait { * @param ignorePackage Ignore package * @param fullyQualifiedNames Fully qualified names * @param uses Uses - * @throws InterruptedException + * @throws InterruptedException On interrupt */ @Override public void getDependencies(AbcIndexing abcIndex, int scriptIndex, int classIndex, boolean isStatic, String customNamespace, ABC abc, List dependencies, DottedChain ignorePackage, List fullyQualifiedNames, List uses) throws InterruptedException { @@ -179,7 +179,7 @@ public class TraitMethodGetterSetter extends Trait { * @param fullyQualifiedNames Fully qualified names * @param parallel Parallel * @param scopeStack Scope stack - * @throws InterruptedException + * @throws InterruptedException On interrupt */ @Override public void convert(AbcIndexing abcIndex, Trait parent, ConvertData convertData, String path, ABC abc, boolean isStatic, ScriptExportMode exportMode, int scriptIndex, int classIndex, NulWriter writer, List fullyQualifiedNames, boolean parallel, ScopeStack scopeStack) throws InterruptedException { @@ -231,7 +231,7 @@ public class TraitMethodGetterSetter extends Trait { * @param parallel Parallel * @param insideInterface Inside interface * @return Writer - * @throws InterruptedException + * @throws InterruptedException On interrupt */ @Override public GraphTextWriter toString(AbcIndexing abcIndex, Trait parent, ConvertData convertData, String path, ABC abc, boolean isStatic, ScriptExportMode exportMode, int scriptIndex, int classIndex, GraphTextWriter writer, List fullyQualifiedNames, boolean parallel, boolean insideInterface) throws InterruptedException { @@ -295,7 +295,7 @@ public class TraitMethodGetterSetter extends Trait { * @param abc ABC * @param path Path * @return Number of removed traps - * @throws InterruptedException + * @throws InterruptedException On interrupt */ @Override public int removeTraps(int scriptIndex, int classIndex, boolean isStatic, ABC abc, String path) throws InterruptedException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/types/traits/TraitSlotConst.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/types/traits/TraitSlotConst.java index 10edd6388..97013f703 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/types/traits/TraitSlotConst.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/types/traits/TraitSlotConst.java @@ -170,7 +170,7 @@ public class TraitSlotConst extends Trait implements TraitWithSlot { * @param writer Writer * @param abc ABC * @param fullyQualifiedNames Fully qualified names - * @throws InterruptedException + * @throws InterruptedException On interrupt */ public void getValueStr(AbcIndexing abcIndex, ScriptExportMode exportMode, Trait parent, ConvertData convertData, GraphTextWriter writer, ABC abc, List fullyQualifiedNames) throws InterruptedException { if (convertData.assignedValues.containsKey(this)) { @@ -247,7 +247,7 @@ public class TraitSlotConst extends Trait implements TraitWithSlot { * @param parallel Parallel * @param insideInterface Inside interface * @return Writer - * @throws InterruptedException + * @throws InterruptedException On interrupt */ @Override public GraphTextWriter toString(AbcIndexing abcIndex, Trait parent, ConvertData convertData, String path, ABC abc, boolean isStatic, ScriptExportMode exportMode, int scriptIndex, int classIndex, GraphTextWriter writer, List fullyQualifiedNames, boolean parallel, boolean insideInterface) throws InterruptedException { @@ -298,7 +298,7 @@ public class TraitSlotConst extends Trait implements TraitWithSlot { * @param fullyQualifiedNames Fully qualified names * @param parallel Parallel * @param scopeStack Scope stack - * @throws InterruptedException + * @throws InterruptedException On interrupt */ @Override public void convert(AbcIndexing abcIndex, Trait parent, ConvertData convertData, String path, ABC abc, boolean isStatic, ScriptExportMode exportMode, int scriptIndex, int classIndex, NulWriter writer, List fullyQualifiedNames, boolean parallel, ScopeStack scopeStack) throws InterruptedException { @@ -366,7 +366,7 @@ public class TraitSlotConst extends Trait implements TraitWithSlot { * @param ignorePackage Ignore package * @param fullyQualifiedNames Fully qualified names * @param uses Uses - * @throws InterruptedException + * @throws InterruptedException On interrupt */ @Override public void getDependencies(AbcIndexing abcIndex, int scriptIndex, int classIndex, boolean isStatic, String customNamespace, ABC abc, List dependencies, DottedChain ignorePackage, List fullyQualifiedNames, List uses) throws InterruptedException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/types/traits/Traits.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/types/traits/Traits.java index 8002040c7..583ba62af 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/types/traits/Traits.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/types/traits/Traits.java @@ -105,7 +105,7 @@ public class Traits implements Cloneable, Serializable { * @param abc ABC file * @param path Path * @return Number of removed traps - * @throws InterruptedException + * @throws InterruptedException On interrupt */ public int removeTraps(int scriptIndex, int classIndex, boolean isStatic, ABC abc, String path) throws InterruptedException { int ret = 0; @@ -278,7 +278,7 @@ public class Traits implements Cloneable, Serializable { * Calls the task. * * @return Null - * @throws InterruptedException + * @throws InterruptedException On interrupt */ @Override public Void call() throws InterruptedException { @@ -311,7 +311,7 @@ public class Traits implements Cloneable, Serializable { * @param ignoredTraitNames Ignored trait names * @param insideInterface Inside interface flag * @return Writer - * @throws InterruptedException + * @throws InterruptedException On interrupt */ public GraphTextWriter toString(AbcIndexing abcIndex, Class[] traitTypes, Trait parent, ConvertData convertData, String path, ABC abc, boolean isStatic, ScriptExportMode exportMode, boolean makePackages, int scriptIndex, int classIndex, GraphTextWriter writer, List fullyQualifiedNames, boolean parallel, List ignoredTraitNames, boolean insideInterface) throws InterruptedException { @@ -406,7 +406,7 @@ public class Traits implements Cloneable, Serializable { * @param fullyQualifiedNames Fully qualified names * @param parallel Parallel flag * @param scopeStack Scope stack - * @throws InterruptedException + * @throws InterruptedException On interrupt */ public void convert(AbcIndexing abcIndex, Trait parent, ConvertData convertData, String path, ABC abc, boolean isStatic, ScriptExportMode exportMode, boolean makePackages, int scriptIndex, int classIndex, NulWriter writer, List fullyQualifiedNames, boolean parallel, ScopeStack scopeStack) throws InterruptedException { if (!parallel || traits.size() < 2) { @@ -476,7 +476,7 @@ public class Traits implements Cloneable, Serializable { * @param ignorePackage Ignore package * @param fullyQualifiedNames Fully qualified names * @param uses Uses - * @throws InterruptedException + * @throws InterruptedException On interrupt */ public void getDependencies(AbcIndexing abcIndex, int scriptIndex, int classIndex, boolean isStatic, String customNs, ABC abc, List dependencies, DottedChain ignorePackage, List fullyQualifiedNames, List uses) throws InterruptedException { for (Trait t : traits) { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/usages/simple/ABCWalker.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/usages/simple/ABCWalker.java index e3eddde10..2f5f34b30 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/usages/simple/ABCWalker.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/usages/simple/ABCWalker.java @@ -108,7 +108,7 @@ public abstract class ABCWalker { * @param scriptTraitIndex Script trait index * @param traitIndex Trait index * @param walkType Walk type - * @return + * @return True if handled */ private boolean optionalHandleClass(Set handledClasses, Set handledMethodBodies, Set handledMethodInfos, ABC abc, int index, int scriptIndex, int scriptTraitIndex, int traitIndex, WalkType walkType) { if (handledClasses.contains(index)) { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/Action.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/Action.java index d5450fbd8..64eb79d5d 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/Action.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/Action.java @@ -1190,7 +1190,7 @@ public abstract class Action implements GraphSourceItem { * * @param cnt Container * @param variables Variables - map of variable names to variable items - * @return + * @return Variables */ private static HashMap prepareVariables(GraphSourceItemContainer cnt, HashMap variables) { HashMap variables2 = new LinkedHashMap<>(variables); diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/ActionListReader.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/ActionListReader.java index 4b9bc977d..d92f24651 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/ActionListReader.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/ActionListReader.java @@ -810,7 +810,7 @@ public class ActionListReader { * @param visitedContainers Visited containers * @param charset Charset * @return Action - * @throws IOException + * @throws IOException On I/O error */ private static Action readActionListAtPos(List listeners, ConstantPool cpool, SWFInputStream sis, Map actions, Map nextOffsets, @@ -959,7 +959,7 @@ public class ActionListReader { * @param indeterminate Indeterminate * @param visitedContainers Visited containers * @return True if constant pools were fixed, false otherwise - * @throws IOException + * @throws IOException On I/O error */ private static boolean fixConstantPools(List listeners, ConstantPool cpool, List actions, Map actionMap, diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/DisplayObject.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/DisplayObject.java index 924708ef7..61ba27e2a 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/DisplayObject.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/DisplayObject.java @@ -161,7 +161,7 @@ public class DisplayObject extends ActionScriptObject { * Removes from display list. * * @param depth Depth. - * @return + * @return Object */ public Object removeFromDisplayList(int depth) { return displayList.remove(depth); @@ -171,7 +171,7 @@ public class DisplayObject extends ActionScriptObject { * Gets from display list. * * @param depth Depth. - * @return + * @return Object */ public Object getFromDisplayList(int depth) { return displayList.get(depth); diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/as2/ActionScript2ClassDetector.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/as2/ActionScript2ClassDetector.java index d3eeb88c7..09f5b7e80 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/as2/ActionScript2ClassDetector.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/as2/ActionScript2ClassDetector.java @@ -193,7 +193,7 @@ public class ActionScript2ClassDetector { * * @param nobj Item * @return Converted item - * @throws AssertException + * @throws AssertException If item is not NewMethod or NewObject */ private GraphTargetItem newToGetMember(GraphTargetItem nobj) throws AssertException { if (nobj instanceof NewMethodActionItem) { @@ -307,7 +307,7 @@ public class ActionScript2ClassDetector { * @param item Item * @param itemName Item name for exception * @return String - * @throws AssertException + * @throws AssertException If item is not DirectValue or not string */ private String getAsString(GraphTargetItem item, String itemName) throws AssertException { if (!(item instanceof DirectValueActionItem)) { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/fastactionlist/FastActionList.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/fastactionlist/FastActionList.java index 440d0e239..f11223c67 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/fastactionlist/FastActionList.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/fastactionlist/FastActionList.java @@ -275,7 +275,7 @@ public class FastActionList implements Collection { * @param actions Action list * @param action Action * @param actionItemMap Action item map - * @return + * @return Last actions */ private List getContainerLastActions(ActionList actions, Action action, Map actionItemMap) { GraphSourceItemContainer container = (GraphSourceItemContainer) action; diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/fastactionlist/FastActionListIterator.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/fastactionlist/FastActionListIterator.java index 9230b0c5c..eed960fae 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/fastactionlist/FastActionListIterator.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/fastactionlist/FastActionListIterator.java @@ -44,7 +44,7 @@ public final class FastActionListIterator implements Iterator { /** * Constructs a new FastActionListIterator. * - * @param list + * @param list List */ FastActionListIterator(FastActionList list) { item = list.first(); @@ -54,8 +54,8 @@ public final class FastActionListIterator implements Iterator { /** * Constructs a new FastActionListIterator. * - * @param list - * @param index + * @param list List + * @param index Index */ FastActionListIterator(FastActionList list, int index) { item = list.first(); diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/model/SetTypeActionItem.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/model/SetTypeActionItem.java index 04ca9b3be..7c92697c3 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/model/SetTypeActionItem.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/model/SetTypeActionItem.java @@ -39,7 +39,7 @@ public interface SetTypeActionItem { /** * Sets temp register. - * @param regIndex + * @param regIndex Temp register */ public void setTempRegister(int regIndex); diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/model/operations/StringLtActionItem.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/model/operations/StringLtActionItem.java index 07965083a..85b35668c 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/model/operations/StringLtActionItem.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/model/operations/StringLtActionItem.java @@ -41,7 +41,7 @@ public class StringLtActionItem extends BinaryOpItem implements Inverted { * @param instruction Instruction * @param lineStartIns Line start instruction * @param leftSide Left side - * @param rightSide + * @param rightSide Right side */ public StringLtActionItem(GraphSourceItem instruction, GraphSourceItem lineStartIns, GraphTargetItem leftSide, GraphTargetItem rightSide) { super(instruction, lineStartIns, PRECEDENCE_RELATIONAL, leftSide, rightSide, "lt", "String", "String"); diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/amf/amf3/ObjectTypeSerializeHandler.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/amf/amf3/ObjectTypeSerializeHandler.java index 6d84dfd5a..34b9e627d 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/amf/amf3/ObjectTypeSerializeHandler.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/amf/amf3/ObjectTypeSerializeHandler.java @@ -32,7 +32,7 @@ public interface ObjectTypeSerializeHandler { * @param className Class name of the object. * @param is Input stream. * @return Map of object members. - * @throws IOException + * @throws IOException On I/O error */ public Map readObject(String className, InputStream is) throws IOException; @@ -41,7 +41,7 @@ public interface ObjectTypeSerializeHandler { * * @param members Map of object members. * @param os Output stream. - * @throws IOException + * @throws IOException On I/O error */ public void writeObject(Map members, OutputStream os) throws IOException; } diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/amf/amf3/Traits.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/amf/amf3/Traits.java index 362e4f46b..c9e212c96 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/amf/amf3/Traits.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/amf/amf3/Traits.java @@ -32,7 +32,7 @@ public class Traits { * Constructor. * @param className Class name * @param dynamic Dynamic - * @param sealedMemberNames + * @param sealedMemberNames Sealed member names */ public Traits(String className, boolean dynamic, Collection sealedMemberNames) { this.className = className; diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/ecma/EcmaScript.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/ecma/EcmaScript.java index f86b7e633..353897e39 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/ecma/EcmaScript.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/ecma/EcmaScript.java @@ -119,9 +119,9 @@ public class EcmaScript { /** * Object.getProperty. - * @param o - * @param p - * @return + * @param o Object + * @param p Property + * @return Value */ public static Object object_getProperty(ObjectType o, String p) { //TODO: getownproperty, etc... ECMA 8.12.2 diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/exporters/script/LinkReportExporter.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/exporters/script/LinkReportExporter.java index 08d47106f..6158f0b51 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/exporters/script/LinkReportExporter.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/exporters/script/LinkReportExporter.java @@ -56,7 +56,7 @@ public class LinkReportExporter { /** * Constructs reporter with custom newline char, two spaces as indent. * - * @param newLineChar + * @param newLineChar Newline char */ public LinkReportExporter(String newLineChar) { this.newLineChar = newLineChar; @@ -65,8 +65,8 @@ public class LinkReportExporter { /** * Constructs reporter with custom newline char and indent string. * - * @param newLineChar - * @param indentStr + * @param newLineChar Newline char + * @param indentStr Indent string */ public LinkReportExporter(String newLineChar, String indentStr) { this.newLineChar = newLineChar; diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/exporters/shape/MiterClipBasicStroke.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/exporters/shape/MiterClipBasicStroke.java index b3b3817fa..0e0a0bcd7 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/exporters/shape/MiterClipBasicStroke.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/exporters/shape/MiterClipBasicStroke.java @@ -38,7 +38,7 @@ public class MiterClipBasicStroke implements Stroke { /** * Constructor. - * @param stroke + * @param stroke Basic stroke */ public MiterClipBasicStroke(BasicStroke stroke) { this.stroke = stroke; diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/exporters/shape/PathExporter.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/exporters/shape/PathExporter.java index 8318ef054..703dac662 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/exporters/shape/PathExporter.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/exporters/shape/PathExporter.java @@ -50,7 +50,7 @@ public class PathExporter extends ShapeExporterBase { * @param shapeNum Shape number * @param swf SWF * @param shape Shape - * @return + * @return List of GeneralPath */ public static List export(int windingRule, int shapeNum, SWF swf, SHAPE shape) { return export(windingRule, shapeNum, swf, shape, new ArrayList<>()); diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/exporters/swf/SwfFile.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/exporters/swf/SwfFile.java index dd42ef387..e7f2f1577 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/exporters/swf/SwfFile.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/exporters/swf/SwfFile.java @@ -38,7 +38,7 @@ public class SwfFile { * Saves SWF to file * * @param fileName File name - * @throws IOException + * @throws IOException On I/O error */ public void saveTo(String fileName) throws IOException { /*SWF swf = getSwf(); diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/flv/FLVInputStream.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/flv/FLVInputStream.java index ad3dcabf2..5f415c2b5 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/flv/FLVInputStream.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/flv/FLVInputStream.java @@ -98,7 +98,7 @@ public class FLVInputStream { * Reads one byte from the stream * * @return byte - * @throws IOException + * @throws IOException On I/O error */ private int readEx() throws IOException { bitPos = 0; @@ -110,7 +110,7 @@ public class FLVInputStream { * * @param nBits Number of bits which represent value * @return Unsigned value - * @throws IOException + * @throws IOException On I/O error */ public long readUB(int nBits) throws IOException { if (nBits == 0) { @@ -135,7 +135,7 @@ public class FLVInputStream { * * @param nBits Number of bits which represent value * @return Unsigned value - * @throws IOException + * @throws IOException On I/O error */ private long readUBInternal(int nBits) throws IOException { if (nBits == 0) { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/gfx/GfxConvertor.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/gfx/GfxConvertor.java index 368b877e0..9d214a54c 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/gfx/GfxConvertor.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/gfx/GfxConvertor.java @@ -195,7 +195,7 @@ public class GfxConvertor { * Converts tags. * @param source Source * @param target Target - * @return + * @return List of tags */ public List converTags(Timelined source, Timelined target) { List ret = new ArrayList<>(); diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/helpers/GraphTextWriter.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/helpers/GraphTextWriter.java index c8a9b8508..e4bd4c76b 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/helpers/GraphTextWriter.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/helpers/GraphTextWriter.java @@ -131,7 +131,7 @@ public abstract class GraphTextWriter { /** * Ends method. - * @return + * @return Writer */ public GraphTextWriter endMethod() { return this; @@ -139,7 +139,7 @@ public abstract class GraphTextWriter { /** * Ends function. - * @return + * @return Writer */ public GraphTextWriter endFunction() { return this; diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/helpers/HighlightedTextWriter.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/helpers/HighlightedTextWriter.java index e37897d7d..0cdc7ba98 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/helpers/HighlightedTextWriter.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/helpers/HighlightedTextWriter.java @@ -115,10 +115,10 @@ public class HighlightedTextWriter extends GraphTextWriter { /** * Highlights specified text as instruction by adding special tags * - * @param src - * @param startLineItem + * @param src Source item + * @param startLineItem Start line item * @param pos Offset of instruction - * @param data + * @param data Data * @return HighlightedTextWriter */ @Override diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/iggy/IggyHeader.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/iggy/IggyHeader.java index 0e4210649..100f10469 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/iggy/IggyHeader.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/iggy/IggyHeader.java @@ -77,14 +77,16 @@ public class IggyHeader implements StructureInterface { } /** - * @param version - * @param platform1 - * @param platform2 32/64 - * @param platform3 - * @param platform4 - * @param unk_0C - * @param reserved - * @param num_subfiles + * Constructor. + * + * @param version Version + * @param platform1 Platform 1 + * @param platform2 Platform 2 (32/64) + * @param platform3 Platform 3 + * @param platform4 Platform 4 + * @param unk_0C Unknown 0C + * @param reserved Reserved + * @param num_subfiles Number of subfiles */ public IggyHeader(long version, int platform1, int platform2, int platform3, int platform4, long unk_0C, byte[] reserved, long num_subfiles) { this.version = version; diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/importers/ImageImporter.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/importers/ImageImporter.java index ab10a7569..390a17684 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/importers/ImageImporter.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/importers/ImageImporter.java @@ -183,7 +183,7 @@ public class ImageImporter extends TagImporter { * Converts image. * @param it Image tag * @param tagType 0 = can change for defineBits, -1 = detect based on data - * @throws IOException + * @throws IOException On I/O error */ public void convertImage(ImageTag it, int tagType) throws IOException { importImage(it, Helper.readStream(it.getConvertedImageData()), tagType); diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/importers/ShapeImporter.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/importers/ShapeImporter.java index b739443b8..fc1acf1dc 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/importers/ShapeImporter.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/importers/ShapeImporter.java @@ -63,7 +63,7 @@ public class ShapeImporter { * @param st Shape tag * @param newData New image data * @return Imported tag - * @throws IOException + * @throws IOException On I/O error */ public Tag importImage(ShapeTag st, byte[] newData) throws IOException { return importImage((Tag) st, newData, 0, true); @@ -87,7 +87,7 @@ public class ShapeImporter { * @param tagType Tag type * @param fill Fill flag * @return Imported tag - * @throws IOException + * @throws IOException On I/O error */ public Tag importImage(MorphShapeTag mst, byte[] newData, int tagType, boolean fill) throws IOException { return importImage((Tag) mst, newData, tagType, fill); diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/importers/SoundImporter.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/importers/SoundImporter.java index 34eb24f8a..cf57da5b4 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/importers/SoundImporter.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/importers/SoundImporter.java @@ -72,7 +72,7 @@ public class SoundImporter { * @param is Input stream * @param newSoundFormat New sound format * @return True if sound was imported successfully - * @throws SoundImportException + * @throws SoundImportException On sound import error */ public boolean importDefineSound(DefineSoundTag soundTag, InputStream is, int newSoundFormat) throws SoundImportException { int newSoundRate = -1; @@ -215,7 +215,7 @@ public class SoundImporter { * * @param in MP3 InputStream * @return size of ID3v2 frames + header - * @throws IOException + * @throws IOException On I/O error * @author JavaZOOM */ private int readID3v2Header(InputStream in) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/importers/amf/amf3/Amf3Importer.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/importers/amf/amf3/Amf3Importer.java index eb7df98a0..120f532cf 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/importers/amf/amf3/Amf3Importer.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/importers/amf/amf3/Amf3Importer.java @@ -496,9 +496,9 @@ public class Amf3Importer { /** * Deeply replace all ReferencedObjectType with the correct value * - * @param object - * @param objectsTable - * @return + * @param object Object + * @param objectsTable Objects table + * @return Replaced object */ private Object replaceReferences(Object object, Map objectsTable) throws Amf3ParseException { if (object instanceof ReferencedObjectType) { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/math/Intersections.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/math/Intersections.java index 171c089eb..0a3f184ab 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/math/Intersections.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/math/Intersections.java @@ -143,7 +143,7 @@ public class Intersections { * @param p1 Start point * @param p2 Control point * @param p3 End point - * @return + * @return List of points */ public static List quadraticBezierToToPolyline(Point2D p1, Point2D p2, Point2D p3) { return quadraticBezierToToPolyline(p1, p2, p3, null); diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/packers/Packer.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/packers/Packer.java index b132dd425..f3d298449 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/packers/Packer.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/packers/Packer.java @@ -55,7 +55,7 @@ public interface Packer { * @param os Stream to write unpacked data to * @return True if it was unpacked correctly, False if it is not suitable * for unpacking or an error happened. - * @throws java.io.IOException + * @throws IOException On I/O error */ public boolean decrypt(InputStream is, OutputStream os) throws IOException; @@ -65,7 +65,7 @@ public interface Packer { * @param is Data to pack * @param os Stream to write packed data to * @return True if packed successfully, False if error happened. - * @throws java.io.IOException + * @throws IOException On I/O error */ public boolean encrypt(InputStream is, OutputStream os) throws IOException; diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/CSMTextSettingsTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/CSMTextSettingsTag.java index db1d0d6b5..bf1ad14d4 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/CSMTextSettingsTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/CSMTextSettingsTag.java @@ -67,7 +67,7 @@ public class CSMTextSettingsTag extends Tag implements CharacterIdTag { /** * Constructor * - * @param swf + * @param swf SWF */ public CSMTextSettingsTag(SWF swf) { super(swf, ID, NAME, null); @@ -76,9 +76,9 @@ public class CSMTextSettingsTag extends Tag implements CharacterIdTag { /** * Constructor * - * @param sis - * @param data - * @throws IOException + * @param sis SWF input stream + * @param data Data + * @throws IOException On I/O error */ public CSMTextSettingsTag(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); @@ -100,7 +100,7 @@ public class CSMTextSettingsTag extends Tag implements CharacterIdTag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DebugIDTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DebugIDTag.java index 074abf92d..b22d51477 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DebugIDTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DebugIDTag.java @@ -47,7 +47,7 @@ public class DebugIDTag extends Tag { /** * Constructor * - * @param swf + * @param swf SWF */ public DebugIDTag(SWF swf) { super(swf, ID, NAME, null); @@ -57,9 +57,9 @@ public class DebugIDTag extends Tag { /** * Constructor * - * @param sis - * @param data - * @throws IOException + * @param sis SWF input stream + * @param data Data + * @throws IOException On I/O error */ public DebugIDTag(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); @@ -75,7 +75,7 @@ public class DebugIDTag extends Tag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineBinaryDataTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineBinaryDataTag.java index 700fd3d2b..38e1162cc 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineBinaryDataTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineBinaryDataTag.java @@ -85,7 +85,7 @@ public class DefineBinaryDataTag extends CharacterTag implements BinaryDataInter /** * Constructor * - * @param swf + * @param swf SWF */ public DefineBinaryDataTag(SWF swf) { super(swf, ID, NAME, null); @@ -154,7 +154,7 @@ public class DefineBinaryDataTag extends CharacterTag implements BinaryDataInter * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineBitsJPEG2Tag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineBitsJPEG2Tag.java index fbf6baa67..ead94c336 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineBitsJPEG2Tag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineBitsJPEG2Tag.java @@ -57,7 +57,7 @@ public class DefineBitsJPEG2Tag extends ImageTag implements AloneTag { /** * Constructor * - * @param swf + * @param swf SWF */ public DefineBitsJPEG2Tag(SWF swf) { super(swf, ID, NAME, null); @@ -75,9 +75,9 @@ public class DefineBitsJPEG2Tag extends ImageTag implements AloneTag { /** * Constructor * - * @param sis - * @param data - * @throws IOException + * @param sis SWF input stream + * @param data Data + * @throws IOException On I/O error */ public DefineBitsJPEG2Tag(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); @@ -94,7 +94,7 @@ public class DefineBitsJPEG2Tag extends ImageTag implements AloneTag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineBitsJPEG3Tag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineBitsJPEG3Tag.java index ac0a70424..b61334929 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineBitsJPEG3Tag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineBitsJPEG3Tag.java @@ -64,7 +64,7 @@ public class DefineBitsJPEG3Tag extends ImageTag implements AloneTag, HasSeparat /** * Constructor * - * @param swf + * @param swf SWF */ public DefineBitsJPEG3Tag(SWF swf) { super(swf, ID, NAME, null); @@ -85,9 +85,9 @@ public class DefineBitsJPEG3Tag extends ImageTag implements AloneTag, HasSeparat /** * Constructor * - * @param sis - * @param data - * @throws IOException + * @param sis SWF input stream + * @param data Data + * @throws IOException On I/O error */ public DefineBitsJPEG3Tag(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); @@ -106,7 +106,7 @@ public class DefineBitsJPEG3Tag extends ImageTag implements AloneTag, HasSeparat * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineBitsJPEG4Tag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineBitsJPEG4Tag.java index 94fb3d8b5..e6afc2614 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineBitsJPEG4Tag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineBitsJPEG4Tag.java @@ -67,7 +67,7 @@ public class DefineBitsJPEG4Tag extends ImageTag implements AloneTag, HasSeparat /** * Constructor * - * @param swf + * @param swf SWF */ public DefineBitsJPEG4Tag(SWF swf) { super(swf, ID, NAME, null); @@ -88,9 +88,9 @@ public class DefineBitsJPEG4Tag extends ImageTag implements AloneTag, HasSeparat /** * Constructor * - * @param sis - * @param data - * @throws IOException + * @param sis SWF input stream + * @param data Data + * @throws IOException On I/O error */ public DefineBitsJPEG4Tag(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); @@ -110,7 +110,7 @@ public class DefineBitsJPEG4Tag extends ImageTag implements AloneTag, HasSeparat * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineBitsLossless2Tag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineBitsLossless2Tag.java index 367650f17..8ff6acc16 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineBitsLossless2Tag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineBitsLossless2Tag.java @@ -88,7 +88,7 @@ public class DefineBitsLossless2Tag extends ImageTag implements AloneTag { /** * Constructor * - * @param swf + * @param swf SWF */ public DefineBitsLossless2Tag(SWF swf) { this(swf, null, swf.getNextCharacterId()); @@ -126,7 +126,7 @@ public class DefineBitsLossless2Tag extends ImageTag implements AloneTag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineBitsLosslessTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineBitsLosslessTag.java index a4659d06f..6dbf8fbe8 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineBitsLosslessTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineBitsLosslessTag.java @@ -91,7 +91,7 @@ public class DefineBitsLosslessTag extends ImageTag implements AloneTag { /** * Constructor * - * @param swf + * @param swf SWF */ public DefineBitsLosslessTag(SWF swf) { this(swf, null, swf.getNextCharacterId()); @@ -129,7 +129,7 @@ public class DefineBitsLosslessTag extends ImageTag implements AloneTag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineBitsTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineBitsTag.java index 6ffb45ddd..a2dd33495 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineBitsTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineBitsTag.java @@ -57,7 +57,7 @@ public class DefineBitsTag extends ImageTag implements TagChangedListener { /** * Constructor * - * @param swf + * @param swf SWF */ public DefineBitsTag(SWF swf) { super(swf, ID, NAME, null); @@ -69,9 +69,9 @@ public class DefineBitsTag extends ImageTag implements TagChangedListener { /** * Constructor * - * @param sis - * @param data - * @throws IOException + * @param sis SWF input stream + * @param data Data + * @throws IOException On I/O error */ public DefineBitsTag(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); @@ -88,7 +88,7 @@ public class DefineBitsTag extends ImageTag implements TagChangedListener { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineButton2Tag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineButton2Tag.java index 2b8ed2dff..b8e182ff8 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineButton2Tag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineButton2Tag.java @@ -83,7 +83,7 @@ public class DefineButton2Tag extends ButtonTag implements ASMSourceContainer { /** * Constructor * - * @param swf + * @param swf SWF */ public DefineButton2Tag(SWF swf) { super(swf, ID, NAME, null); @@ -94,9 +94,9 @@ public class DefineButton2Tag extends ButtonTag implements ASMSourceContainer { /** * Constructor * - * @param sis - * @param data - * @throws IOException + * @param sis SWF input stream + * @param data Data + * @throws IOException On I/O error */ public DefineButton2Tag(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); @@ -119,7 +119,7 @@ public class DefineButton2Tag extends ButtonTag implements ASMSourceContainer { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineButtonCxformTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineButtonCxformTag.java index a042fe5ad..f9d7a3657 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineButtonCxformTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineButtonCxformTag.java @@ -49,7 +49,7 @@ public class DefineButtonCxformTag extends Tag implements CharacterIdTag { /** * Constructor * - * @param swf + * @param swf SWF */ public DefineButtonCxformTag(SWF swf) { super(swf, ID, NAME, null); @@ -59,9 +59,9 @@ public class DefineButtonCxformTag extends Tag implements CharacterIdTag { /** * Constructor * - * @param sis - * @param data - * @throws IOException + * @param sis SWF input stream + * @param data Data + * @throws IOException On I/O error */ public DefineButtonCxformTag(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); @@ -78,7 +78,7 @@ public class DefineButtonCxformTag extends Tag implements CharacterIdTag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineButtonSoundTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineButtonSoundTag.java index 3a9e6a698..efd64b99d 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineButtonSoundTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineButtonSoundTag.java @@ -67,7 +67,7 @@ public class DefineButtonSoundTag extends Tag implements CharacterIdTag { /** * Constructor * - * @param swf + * @param swf SWF */ public DefineButtonSoundTag(SWF swf) { super(swf, ID, NAME, null); @@ -76,9 +76,9 @@ public class DefineButtonSoundTag extends Tag implements CharacterIdTag { /** * Constructor * - * @param sis - * @param data - * @throws IOException + * @param sis SWF input stream + * @param data Data + * @throws IOException On I/O error */ public DefineButtonSoundTag(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); @@ -110,7 +110,7 @@ public class DefineButtonSoundTag extends Tag implements CharacterIdTag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineButtonTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineButtonTag.java index 13f382efe..4efa855c0 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineButtonTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineButtonTag.java @@ -77,7 +77,7 @@ public class DefineButtonTag extends ButtonTag implements ASMSourceContainer { /** * Constructor * - * @param swf + * @param swf SWF */ public DefineButtonTag(SWF swf) { super(swf, ID, NAME, null); @@ -89,9 +89,9 @@ public class DefineButtonTag extends ButtonTag implements ASMSourceContainer { /** * Constructor * - * @param sis - * @param data - * @throws IOException + * @param sis SWF input stream + * @param data Data + * @throws IOException On I/O error */ public DefineButtonTag(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); @@ -109,7 +109,7 @@ public class DefineButtonTag extends ButtonTag implements ASMSourceContainer { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineEditTextTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineEditTextTag.java index 3afc25f9b..ab5185319 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineEditTextTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineEditTextTag.java @@ -190,7 +190,7 @@ public class DefineEditTextTag extends TextTag { /** * Constructor * - * @param swf + * @param swf SWF */ public DefineEditTextTag(SWF swf) { super(swf, ID, NAME, null); @@ -202,9 +202,9 @@ public class DefineEditTextTag extends TextTag { /** * Constructor * - * @param sis - * @param data - * @throws IOException + * @param sis SWF input stream + * @param data Data + * @throws IOException On I/O error */ public DefineEditTextTag(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); @@ -265,7 +265,7 @@ public class DefineEditTextTag extends TextTag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineFont2Tag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineFont2Tag.java index e33f75dfb..1563e2e39 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineFont2Tag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineFont2Tag.java @@ -112,7 +112,7 @@ public class DefineFont2Tag extends FontTag { /** * Constructor * - * @param swf + * @param swf SWF */ public DefineFont2Tag(SWF swf) { super(swf, ID, NAME, null); @@ -126,9 +126,9 @@ public class DefineFont2Tag extends FontTag { /** * Constructor * - * @param sis - * @param data - * @throws IOException + * @param sis SWF input stream + * @param data Data + * @throws IOException On I/O error */ public DefineFont2Tag(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); @@ -263,7 +263,7 @@ public class DefineFont2Tag extends FontTag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public synchronized void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineFont3Tag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineFont3Tag.java index 49e9a81f4..b38903ec7 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineFont3Tag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineFont3Tag.java @@ -112,7 +112,7 @@ public class DefineFont3Tag extends FontTag { /** * Constructor * - * @param swf + * @param swf SWF */ public DefineFont3Tag(SWF swf) { super(swf, ID, NAME, null); @@ -249,7 +249,7 @@ public class DefineFont3Tag extends FontTag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public synchronized void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineFont4Tag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineFont4Tag.java index 5a2854ace..6fdbae259 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineFont4Tag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineFont4Tag.java @@ -59,7 +59,7 @@ public class DefineFont4Tag extends CharacterTag { /** * Constructor * - * @param swf + * @param swf SWF */ public DefineFont4Tag(SWF swf) { super(swf, ID, NAME, null); @@ -88,7 +88,7 @@ public class DefineFont4Tag extends CharacterTag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineFontAlignZonesTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineFontAlignZonesTag.java index 945c1145d..b24878a18 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineFontAlignZonesTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineFontAlignZonesTag.java @@ -65,7 +65,7 @@ public class DefineFontAlignZonesTag extends Tag implements CharacterIdTag { /** * Constructor * - * @param swf + * @param swf SWF */ public DefineFontAlignZonesTag(SWF swf) { super(swf, ID, NAME, null); @@ -93,7 +93,7 @@ public class DefineFontAlignZonesTag extends Tag implements CharacterIdTag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineFontInfo2Tag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineFontInfo2Tag.java index 4d664c03a..ffea70325 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineFontInfo2Tag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineFontInfo2Tag.java @@ -69,7 +69,7 @@ public class DefineFontInfo2Tag extends FontInfoTag { /** * Constructor * - * @param swf + * @param swf SWF */ public DefineFontInfo2Tag(SWF swf) { super(swf, ID, NAME, null); @@ -81,9 +81,9 @@ public class DefineFontInfo2Tag extends FontInfoTag { /** * Constructor * - * @param sis - * @param data - * @throws IOException + * @param sis SWF input stream + * @param data Data + * @throws IOException On I/O error */ public DefineFontInfo2Tag(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); @@ -113,7 +113,7 @@ public class DefineFontInfo2Tag extends FontInfoTag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineFontInfoTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineFontInfoTag.java index a17ade0a9..f5d68ebe1 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineFontInfoTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineFontInfoTag.java @@ -66,7 +66,7 @@ public class DefineFontInfoTag extends FontInfoTag { /** * Constructor * - * @param swf + * @param swf SWF */ public DefineFontInfoTag(SWF swf) { super(swf, ID, NAME, null); @@ -77,9 +77,9 @@ public class DefineFontInfoTag extends FontInfoTag { /** * Constructor * - * @param sis - * @param data - * @throws IOException + * @param sis SWF input stream + * @param data Data + * @throws IOException On I/O error */ public DefineFontInfoTag(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); @@ -111,7 +111,7 @@ public class DefineFontInfoTag extends FontInfoTag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineFontNameTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineFontNameTag.java index 0bbb8f6c4..be96a52fe 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineFontNameTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineFontNameTag.java @@ -50,7 +50,7 @@ public class DefineFontNameTag extends Tag implements CharacterIdTag { /** * Constructor * - * @param swf + * @param swf SWF */ public DefineFontNameTag(SWF swf) { super(swf, ID, NAME, null); @@ -74,7 +74,7 @@ public class DefineFontNameTag extends Tag implements CharacterIdTag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineFontTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineFontTag.java index d87f6a271..d7271b618 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineFontTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineFontTag.java @@ -67,7 +67,7 @@ public class DefineFontTag extends FontTag { /** * Constructor * - * @param swf + * @param swf SWF */ public DefineFontTag(SWF swf) { super(swf, ID, NAME, null); @@ -78,9 +78,9 @@ public class DefineFontTag extends FontTag { /** * Constructor * - * @param sis - * @param data - * @throws IOException + * @param sis SWF input stream + * @param data Data + * @throws IOException On I/O error */ public DefineFontTag(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); @@ -118,7 +118,7 @@ public class DefineFontTag extends FontTag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public synchronized void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineMorphShape2Tag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineMorphShape2Tag.java index 2b5f78538..fc73d1a00 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineMorphShape2Tag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineMorphShape2Tag.java @@ -64,7 +64,7 @@ public class DefineMorphShape2Tag extends MorphShapeTag { /** * Constructor * - * @param swf + * @param swf SWF */ public DefineMorphShape2Tag(SWF swf) { super(swf, ID, NAME, null); @@ -84,9 +84,9 @@ public class DefineMorphShape2Tag extends MorphShapeTag { /** * Constructor * - * @param sis - * @param data - * @throws IOException + * @param sis SWF input stream + * @param data Data + * @throws IOException On I/O error */ public DefineMorphShape2Tag(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); @@ -114,7 +114,7 @@ public class DefineMorphShape2Tag extends MorphShapeTag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineMorphShapeTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineMorphShapeTag.java index 7f9d12008..7cdaf35a6 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineMorphShapeTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineMorphShapeTag.java @@ -47,7 +47,7 @@ public class DefineMorphShapeTag extends MorphShapeTag { /** * Constructor * - * @param swf + * @param swf SWF */ public DefineMorphShapeTag(SWF swf) { super(swf, ID, NAME, null); @@ -65,9 +65,9 @@ public class DefineMorphShapeTag extends MorphShapeTag { /** * Constructor * - * @param sis - * @param data - * @throws IOException + * @param sis SWF input stream + * @param data Data + * @throws IOException On I/O error */ public DefineMorphShapeTag(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); @@ -90,7 +90,7 @@ public class DefineMorphShapeTag extends MorphShapeTag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineScalingGridTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineScalingGridTag.java index 9eda6c669..2ab815420 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineScalingGridTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineScalingGridTag.java @@ -60,7 +60,7 @@ public class DefineScalingGridTag extends Tag implements CharacterIdTag { /** * Constructor * - * @param swf + * @param swf SWF */ public DefineScalingGridTag(SWF swf) { super(swf, ID, NAME, null); @@ -82,7 +82,7 @@ public class DefineScalingGridTag extends Tag implements CharacterIdTag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineSceneAndFrameLabelDataTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineSceneAndFrameLabelDataTag.java index 9f367033f..60b6b8c68 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineSceneAndFrameLabelDataTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineSceneAndFrameLabelDataTag.java @@ -60,7 +60,7 @@ public class DefineSceneAndFrameLabelDataTag extends Tag { /** * Constructor * - * @param swf + * @param swf SWF */ public DefineSceneAndFrameLabelDataTag(SWF swf) { super(swf, ID, NAME, null); @@ -73,9 +73,9 @@ public class DefineSceneAndFrameLabelDataTag extends Tag { /** * Constructor * - * @param sis - * @param data - * @throws IOException + * @param sis SWF input stream + * @param data Data + * @throws IOException On I/O error */ public DefineSceneAndFrameLabelDataTag(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); @@ -105,7 +105,7 @@ public class DefineSceneAndFrameLabelDataTag extends Tag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineShape2Tag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineShape2Tag.java index 9b89ab1ef..cb68904d0 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineShape2Tag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineShape2Tag.java @@ -41,7 +41,7 @@ public class DefineShape2Tag extends ShapeTag { /** * Constructor * - * @param swf + * @param swf SWF */ public DefineShape2Tag(SWF swf) { super(swf, ID, NAME, null); @@ -71,7 +71,7 @@ public class DefineShape2Tag extends ShapeTag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineShape3Tag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineShape3Tag.java index e28eb6a8c..e8f37f859 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineShape3Tag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineShape3Tag.java @@ -41,7 +41,7 @@ public class DefineShape3Tag extends ShapeTag { /** * Constructor * - * @param swf + * @param swf SWF */ public DefineShape3Tag(SWF swf) { super(swf, ID, NAME, null); @@ -71,7 +71,7 @@ public class DefineShape3Tag extends ShapeTag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineShape4Tag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineShape4Tag.java index 01ea3c6e1..1a08fab58 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineShape4Tag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineShape4Tag.java @@ -57,7 +57,7 @@ public class DefineShape4Tag extends ShapeTag { /** * Constructor * - * @param swf + * @param swf SWF */ public DefineShape4Tag(SWF swf) { super(swf, ID, NAME, null); @@ -93,7 +93,7 @@ public class DefineShape4Tag extends ShapeTag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineShapeTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineShapeTag.java index 599b87597..f0a8c25ea 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineShapeTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineShapeTag.java @@ -41,7 +41,7 @@ public class DefineShapeTag extends ShapeTag { /** * Constructor * - * @param swf + * @param swf SWF */ public DefineShapeTag(SWF swf) { super(swf, ID, NAME, null); @@ -71,7 +71,7 @@ public class DefineShapeTag extends ShapeTag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineSoundTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineSoundTag.java index a54422dd3..69274cb5b 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineSoundTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineSoundTag.java @@ -79,7 +79,7 @@ public class DefineSoundTag extends CharacterTag implements SoundTag { /** * Constructor * - * @param swf + * @param swf SWF */ public DefineSoundTag(SWF swf) { super(swf, ID, NAME, null); @@ -90,9 +90,9 @@ public class DefineSoundTag extends CharacterTag implements SoundTag { /** * Constructor * - * @param sis - * @param data - * @throws IOException + * @param sis SWF input stream + * @param data Data + * @throws IOException On I/O error */ public DefineSoundTag(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); @@ -114,7 +114,7 @@ public class DefineSoundTag extends CharacterTag implements SoundTag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineSpriteTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineSpriteTag.java index 6732e0d06..703eb8a02 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineSpriteTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineSpriteTag.java @@ -97,7 +97,7 @@ public class DefineSpriteTag extends DrawableTag implements Timelined { /** * Constructor * - * @param swf + * @param swf SWF */ public DefineSpriteTag(SWF swf) { super(swf, ID, NAME, null); @@ -108,13 +108,13 @@ public class DefineSpriteTag extends DrawableTag implements Timelined { /** * Constructor * - * @param sis - * @param data - * @param level - * @param parallel - * @param skipUnusualTags - * @throws IOException - * @throws java.lang.InterruptedException + * @param sis SWF input stream + * @param data Data + * @param level Level + * @param parallel Parallel + * @param skipUnusualTags Skip unusual tags + * @throws IOException On I/O error + * @throws InterruptedException On interrupt */ public DefineSpriteTag(SWFInputStream sis, int level, ByteArrayRange data, boolean parallel, boolean skipUnusualTags) throws IOException, InterruptedException { super(sis.getSwf(), ID, NAME, data); @@ -138,7 +138,7 @@ public class DefineSpriteTag extends DrawableTag implements Timelined { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineText2Tag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineText2Tag.java index 5e20ed75c..d6bd96e7d 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineText2Tag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineText2Tag.java @@ -43,7 +43,7 @@ public class DefineText2Tag extends StaticTextTag { /** * Constructor * - * @param swf + * @param swf SWF */ public DefineText2Tag(SWF swf) { super(swf, ID, NAME, null); @@ -68,9 +68,9 @@ public class DefineText2Tag extends StaticTextTag { /** * Constructor * - * @param sis - * @param data - * @throws IOException + * @param sis SWF input stream + * @param data Data + * @throws IOException On I/O error */ public DefineText2Tag(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineTextTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineTextTag.java index 33c65e326..e322ccca5 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineTextTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineTextTag.java @@ -43,7 +43,7 @@ public class DefineTextTag extends StaticTextTag { /** * Constructor * - * @param swf + * @param swf SWF */ public DefineTextTag(SWF swf) { super(swf, ID, NAME, null); @@ -68,9 +68,9 @@ public class DefineTextTag extends StaticTextTag { /** * Constructor * - * @param sis - * @param data - * @throws IOException + * @param sis SWF input stream + * @param data Data + * @throws IOException On I/O error */ public DefineTextTag(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineVideoStreamTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineVideoStreamTag.java index 054a1160c..e705e254d 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineVideoStreamTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineVideoStreamTag.java @@ -197,7 +197,7 @@ public class DefineVideoStreamTag extends DrawableTag implements BoundedTag, Tim /** * Constructor * - * @param swf + * @param swf SWF */ public DefineVideoStreamTag(SWF swf) { super(swf, ID, NAME, null); @@ -207,9 +207,9 @@ public class DefineVideoStreamTag extends DrawableTag implements BoundedTag, Tim /** * Constructor * - * @param sis - * @param data - * @throws IOException + * @param sis SWF input stream + * @param data Data + * @throws IOException On I/O error */ public DefineVideoStreamTag(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); @@ -232,7 +232,7 @@ public class DefineVideoStreamTag extends DrawableTag implements BoundedTag, Tim * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DoABC2Tag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DoABC2Tag.java index d319810df..969bea8a4 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DoABC2Tag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DoABC2Tag.java @@ -68,7 +68,7 @@ public class DoABC2Tag extends Tag implements ABCContainerTag { /** * Constructor * - * @param swf + * @param swf SWF */ public DoABC2Tag(SWF swf) { super(swf, ID, NAME, null); @@ -79,9 +79,9 @@ public class DoABC2Tag extends Tag implements ABCContainerTag { /** * Constructor * - * @param sis - * @param data - * @throws IOException + * @param sis SWF input stream + * @param data Data + * @throws IOException On I/O error */ public DoABC2Tag(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); @@ -104,7 +104,7 @@ public class DoABC2Tag extends Tag implements ABCContainerTag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DoABCTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DoABCTag.java index d832b1454..7548bb837 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DoABCTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DoABCTag.java @@ -51,7 +51,7 @@ public class DoABCTag extends Tag implements ABCContainerTag { /** * Constructor * - * @param swf + * @param swf SWF */ public DoABCTag(SWF swf) { super(swf, ID, NAME, null); @@ -61,9 +61,9 @@ public class DoABCTag extends Tag implements ABCContainerTag { /** * Constructor * - * @param sis - * @param data - * @throws IOException + * @param sis SWF input stream + * @param data Data + * @throws IOException On I/O error */ public DoABCTag(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); @@ -83,7 +83,7 @@ public class DoABCTag extends Tag implements ABCContainerTag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DoActionTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DoActionTag.java index 42261546d..e8fa768e2 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DoActionTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DoActionTag.java @@ -31,7 +31,6 @@ import com.jpexs.decompiler.flash.tags.base.ASMSource; import com.jpexs.decompiler.flash.types.annotations.HideInRawEdit; import com.jpexs.decompiler.flash.types.annotations.Internal; import com.jpexs.decompiler.flash.types.annotations.SWFVersion; -import com.jpexs.decompiler.graph.Graph; import com.jpexs.decompiler.graph.GraphTargetItem; import com.jpexs.helpers.ByteArrayRange; import com.jpexs.helpers.Helper; @@ -73,7 +72,7 @@ public class DoActionTag extends Tag implements ASMSource { /** * Constructor * - * @param swf + * @param swf SWF */ public DoActionTag(SWF swf) { super(swf, ID, NAME, null); @@ -83,8 +82,8 @@ public class DoActionTag extends Tag implements ASMSource { /** * Constructor * - * @param swf - * @param data + * @param swf SWF + * @param data Data */ public DoActionTag(SWF swf, ByteArrayRange data) { super(swf, ID, NAME, data); @@ -94,9 +93,9 @@ public class DoActionTag extends Tag implements ASMSource { /** * Constructor * - * @param sis - * @param data - * @throws java.io.IOException + * @param sis SWF input stream + * @param data Data + * @throws IOException On I/O error */ public DoActionTag(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); @@ -117,7 +116,7 @@ public class DoActionTag extends Tag implements ASMSource { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { @@ -128,10 +127,10 @@ public class DoActionTag extends Tag implements ASMSource { * Converts actions to ASM source * * @param exportMode PCode or hex? - * @param writer - * @param actions + * @param writer Writer + * @param actions Actions * @return ASM source - * @throws java.lang.InterruptedException + * @throws InterruptedException On interrupt */ @Override public GraphTextWriter getASMSource(ScriptExportMode exportMode, GraphTextWriter writer, ActionList actions) throws InterruptedException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DoInitActionTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DoInitActionTag.java index bcb156729..4bcdca062 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DoInitActionTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DoInitActionTag.java @@ -34,7 +34,6 @@ import com.jpexs.decompiler.flash.types.annotations.HideInRawEdit; import com.jpexs.decompiler.flash.types.annotations.Internal; import com.jpexs.decompiler.flash.types.annotations.SWFType; import com.jpexs.decompiler.flash.types.annotations.SWFVersion; -import com.jpexs.decompiler.graph.Graph; import com.jpexs.decompiler.graph.GraphTargetItem; import com.jpexs.helpers.ByteArrayRange; import com.jpexs.helpers.Helper; @@ -83,7 +82,7 @@ public class DoInitActionTag extends Tag implements CharacterIdTag, ASMSource { /** * Constructor * - * @param swf + * @param swf SWF */ public DoInitActionTag(SWF swf) { super(swf, ID, NAME, null); @@ -98,9 +97,9 @@ public class DoInitActionTag extends Tag implements CharacterIdTag, ASMSource { /** * Constructor * - * @param sis - * @param data - * @throws IOException + * @param sis SWF input stream + * @param data Data + * @throws IOException On I/O error */ public DoInitActionTag(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); @@ -117,7 +116,7 @@ public class DoInitActionTag extends Tag implements CharacterIdTag, ASMSource { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { @@ -140,10 +139,10 @@ public class DoInitActionTag extends Tag implements CharacterIdTag, ASMSource { * Converts actions to ASM source * * @param exportMode PCode or hex? - * @param writer - * @param actions + * @param writer Writer + * @param actions Actions * @return ASM source - * @throws java.lang.InterruptedException + * @throws InterruptedException On interrupt */ @Override public GraphTextWriter getASMSource(ScriptExportMode exportMode, GraphTextWriter writer, ActionList actions) throws InterruptedException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/EnableDebugger2Tag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/EnableDebugger2Tag.java index df957d8bb..23fa4a337 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/EnableDebugger2Tag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/EnableDebugger2Tag.java @@ -55,7 +55,7 @@ public final class EnableDebugger2Tag extends Tag implements PasswordTag { /** * Constructor * - * @param swf + * @param swf SWF */ public EnableDebugger2Tag(SWF swf) { super(swf, ID, NAME, null); @@ -65,9 +65,9 @@ public final class EnableDebugger2Tag extends Tag implements PasswordTag { /** * Constructor * - * @param sis - * @param data - * @throws IOException + * @param sis SWF input stream + * @param data Data + * @throws IOException On I/O error */ public EnableDebugger2Tag(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); @@ -92,7 +92,7 @@ public final class EnableDebugger2Tag extends Tag implements PasswordTag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/EnableDebuggerTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/EnableDebuggerTag.java index 5e568a672..bc367e124 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/EnableDebuggerTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/EnableDebuggerTag.java @@ -55,7 +55,7 @@ public final class EnableDebuggerTag extends Tag implements PasswordTag { /** * Constructor * - * @param swf + * @param swf SWF */ public EnableDebuggerTag(SWF swf) { super(swf, ID, NAME, null); @@ -66,9 +66,9 @@ public final class EnableDebuggerTag extends Tag implements PasswordTag { /** * Constructor * - * @param sis - * @param data - * @throws IOException + * @param sis SWF input stream + * @param data Data + * @throws IOException On I/O error */ public EnableDebuggerTag(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); @@ -93,7 +93,7 @@ public final class EnableDebuggerTag extends Tag implements PasswordTag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/EnableTelemetryTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/EnableTelemetryTag.java index 55c3230cd..269747ec9 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/EnableTelemetryTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/EnableTelemetryTag.java @@ -59,7 +59,7 @@ public class EnableTelemetryTag extends Tag implements PasswordTag { /** * Constructor * - * @param swf + * @param swf SWF */ public EnableTelemetryTag(SWF swf) { super(swf, ID, NAME, null); @@ -69,9 +69,9 @@ public class EnableTelemetryTag extends Tag implements PasswordTag { /** * Constructor * - * @param sis - * @param data - * @throws IOException + * @param sis SWF input stream + * @param data Data + * @throws IOException On I/O error */ public EnableTelemetryTag(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); @@ -94,7 +94,7 @@ public class EnableTelemetryTag extends Tag implements PasswordTag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/EndTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/EndTag.java index d5b03ed56..fbc64ea6b 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/EndTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/EndTag.java @@ -38,7 +38,7 @@ public class EndTag extends Tag { /** * Constructor * - * @param swf + * @param swf SWF */ public EndTag(SWF swf) { super(swf, ID, NAME, null); @@ -47,9 +47,9 @@ public class EndTag extends Tag { /** * Constructor * - * @param sis - * @param data - * @throws IOException + * @param sis SWF input stream + * @param data Data + * @throws IOException On I/O error */ public EndTag(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/ExportAssetsTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/ExportAssetsTag.java index c3499a7e2..4c65971e8 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/ExportAssetsTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/ExportAssetsTag.java @@ -61,7 +61,7 @@ public class ExportAssetsTag extends SymbolClassTypeTag { /** * Constructor * - * @param swf + * @param swf SWF */ public ExportAssetsTag(SWF swf) { super(swf, ID, NAME, null); @@ -85,9 +85,9 @@ public class ExportAssetsTag extends SymbolClassTypeTag { /** * Constructor * - * @param sis - * @param data - * @throws IOException + * @param sis SWF input stream + * @param data Data + * @throws IOException On I/O error */ public ExportAssetsTag(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); @@ -111,7 +111,7 @@ public class ExportAssetsTag extends SymbolClassTypeTag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/FileAttributesTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/FileAttributesTag.java index 389833f05..b6520cbdf 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/FileAttributesTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/FileAttributesTag.java @@ -62,7 +62,7 @@ public class FileAttributesTag extends Tag { /** * Constructor * - * @param swf + * @param swf SWF */ public FileAttributesTag(SWF swf) { super(swf, ID, NAME, null); @@ -97,7 +97,7 @@ public class FileAttributesTag extends Tag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/FrameLabelTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/FrameLabelTag.java index b515780cc..04c0f57f6 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/FrameLabelTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/FrameLabelTag.java @@ -45,7 +45,7 @@ public class FrameLabelTag extends Tag { /** * Constructor * - * @param swf + * @param swf SWF */ public FrameLabelTag(SWF swf) { super(swf, ID, NAME, null); @@ -71,7 +71,7 @@ public class FrameLabelTag extends Tag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/FreeAllTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/FreeAllTag.java index 4a22bf110..ccef2a92f 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/FreeAllTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/FreeAllTag.java @@ -38,7 +38,7 @@ public class FreeAllTag extends Tag { /** * Constructor * - * @param swf + * @param swf SWF */ public FreeAllTag(SWF swf) { super(swf, ID, NAME, null); diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/FreeCharacterTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/FreeCharacterTag.java index 6d8ea9dc3..8c9f3dd68 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/FreeCharacterTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/FreeCharacterTag.java @@ -48,7 +48,7 @@ public class FreeCharacterTag extends Tag implements CharacterIdTag { /** * Constructor * - * @param swf + * @param swf SWF */ public FreeCharacterTag(SWF swf) { super(swf, ID, NAME, null); @@ -68,7 +68,7 @@ public class FreeCharacterTag extends Tag implements CharacterIdTag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/ImportAssets2Tag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/ImportAssets2Tag.java index 345949197..cb0a2cdc2 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/ImportAssets2Tag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/ImportAssets2Tag.java @@ -78,7 +78,7 @@ public class ImportAssets2Tag extends Tag implements ImportTag { /** * Constructor * - * @param swf + * @param swf SWF */ public ImportAssets2Tag(SWF swf) { super(swf, ID, NAME, null); @@ -89,9 +89,9 @@ public class ImportAssets2Tag extends Tag implements ImportTag { /** * Constructor * - * @param sis - * @param data - * @throws IOException + * @param sis SWF input stream + * @param data Data + * @throws IOException On I/O error */ public ImportAssets2Tag(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); @@ -121,7 +121,7 @@ public class ImportAssets2Tag extends Tag implements ImportTag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/ImportAssetsTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/ImportAssetsTag.java index 01fe7e06f..a1af49a5e 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/ImportAssetsTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/ImportAssetsTag.java @@ -61,7 +61,7 @@ public class ImportAssetsTag extends Tag implements ImportTag { /** * Constructor * - * @param swf + * @param swf SWF */ public ImportAssetsTag(SWF swf) { super(swf, ID, NAME, null); @@ -78,9 +78,9 @@ public class ImportAssetsTag extends Tag implements ImportTag { /** * Constructor * - * @param sis - * @param data - * @throws IOException + * @param sis SWF input stream + * @param data Data + * @throws IOException On I/O error */ public ImportAssetsTag(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); @@ -105,7 +105,7 @@ public class ImportAssetsTag extends Tag implements ImportTag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/JPEGTablesTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/JPEGTablesTag.java index aba8a15ca..2e44bd8b5 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/JPEGTablesTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/JPEGTablesTag.java @@ -41,7 +41,7 @@ public class JPEGTablesTag extends Tag { /** * Constructor * - * @param swf + * @param swf SWF */ public JPEGTablesTag(SWF swf) { super(swf, ID, NAME, null); @@ -62,7 +62,7 @@ public class JPEGTablesTag extends Tag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/MetadataTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/MetadataTag.java index 9ce86a06e..f8fafab5a 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/MetadataTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/MetadataTag.java @@ -42,7 +42,7 @@ public class MetadataTag extends Tag { /** * Constructor * - * @param swf + * @param swf SWF */ public MetadataTag(SWF swf) { super(swf, ID, NAME, null); @@ -67,7 +67,7 @@ public class MetadataTag extends Tag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/NameCharacterTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/NameCharacterTag.java index 37922e519..57777da54 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/NameCharacterTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/NameCharacterTag.java @@ -53,7 +53,7 @@ public class NameCharacterTag extends Tag implements CharacterIdTag { /** * Constructor * - * @param swf + * @param swf SWF */ public NameCharacterTag(SWF swf) { super(swf, ID, NAME, null); @@ -76,7 +76,7 @@ public class NameCharacterTag extends Tag implements CharacterIdTag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/PathsArePostScriptTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/PathsArePostScriptTag.java index c6df2208e..4e8b3b2c7 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/PathsArePostScriptTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/PathsArePostScriptTag.java @@ -38,7 +38,7 @@ public class PathsArePostScriptTag extends Tag { /** * Constructor * - * @param swf + * @param swf SWF */ public PathsArePostScriptTag(SWF swf) { super(swf, ID, NAME, null); diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/PlaceObject2Tag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/PlaceObject2Tag.java index 313509230..99ffa5ecd 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/PlaceObject2Tag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/PlaceObject2Tag.java @@ -146,7 +146,7 @@ public class PlaceObject2Tag extends PlaceObjectTypeTag implements ASMSourceCont /** * Constructor * - * @param swf + * @param swf SWF */ public PlaceObject2Tag(SWF swf) { super(swf, ID, NAME, null); @@ -175,9 +175,9 @@ public class PlaceObject2Tag extends PlaceObjectTypeTag implements ASMSourceCont /** * Constructor * - * @param sis - * @param data - * @throws IOException + * @param sis SWF input stream + * @param data Data + * @throws IOException On I/O error */ public PlaceObject2Tag(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); @@ -223,7 +223,7 @@ public class PlaceObject2Tag extends PlaceObjectTypeTag implements ASMSourceCont * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/PlaceObject3Tag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/PlaceObject3Tag.java index 23bff4520..a91bb5d4b 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/PlaceObject3Tag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/PlaceObject3Tag.java @@ -253,7 +253,7 @@ public class PlaceObject3Tag extends PlaceObjectTypeTag implements ASMSourceCont /** * Constructor * - * @param swf + * @param swf SWF */ public PlaceObject3Tag(SWF swf) { super(swf, ID, NAME, null); @@ -295,9 +295,9 @@ public class PlaceObject3Tag extends PlaceObjectTypeTag implements ASMSourceCont /** * Constructor * - * @param sis - * @param data - * @throws IOException + * @param sis SWF input stream + * @param data Data + * @throws IOException On I/O error */ public PlaceObject3Tag(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); @@ -377,7 +377,7 @@ public class PlaceObject3Tag extends PlaceObjectTypeTag implements ASMSourceCont * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/PlaceObject4Tag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/PlaceObject4Tag.java index 0cb6f9250..ce6c0d312 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/PlaceObject4Tag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/PlaceObject4Tag.java @@ -258,7 +258,7 @@ public class PlaceObject4Tag extends PlaceObjectTypeTag implements ASMSourceCont /** * Constructor * - * @param swf + * @param swf SWF */ public PlaceObject4Tag(SWF swf) { super(swf, ID, NAME, null); @@ -301,9 +301,9 @@ public class PlaceObject4Tag extends PlaceObjectTypeTag implements ASMSourceCont /** * Constructor * - * @param sis - * @param data - * @throws IOException + * @param sis SWF input stream + * @param data Data + * @throws IOException On I/O error */ public PlaceObject4Tag(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); @@ -391,7 +391,7 @@ public class PlaceObject4Tag extends PlaceObjectTypeTag implements ASMSourceCont * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/PlaceObjectTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/PlaceObjectTag.java index 5ba39530b..dba208e2e 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/PlaceObjectTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/PlaceObjectTag.java @@ -51,7 +51,7 @@ public class PlaceObjectTag extends PlaceObjectTypeTag { /** * Constructor * - * @param swf + * @param swf SWF */ public PlaceObjectTag(SWF swf) { super(swf, ID, NAME, null); @@ -69,9 +69,9 @@ public class PlaceObjectTag extends PlaceObjectTypeTag { /** * Constructor * - * @param sis - * @param data - * @throws IOException + * @param sis SWF input stream + * @param data Data + * @throws IOException On I/O error */ public PlaceObjectTag(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); @@ -92,7 +92,7 @@ public class PlaceObjectTag extends PlaceObjectTypeTag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/ProductInfoTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/ProductInfoTag.java index 372093be7..0766aeebc 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/ProductInfoTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/ProductInfoTag.java @@ -64,7 +64,7 @@ public class ProductInfoTag extends Tag { /** * Constructor * - * @param swf + * @param swf SWF */ public ProductInfoTag(SWF swf) { super(swf, ID, NAME, null); @@ -107,7 +107,7 @@ public class ProductInfoTag extends Tag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/ProtectTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/ProtectTag.java index 12d83488b..abbda447a 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/ProtectTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/ProtectTag.java @@ -55,7 +55,7 @@ public class ProtectTag extends Tag implements PasswordTag { /** * Constructor * - * @param swf + * @param swf SWF */ public ProtectTag(SWF swf) { super(swf, ID, NAME, null); @@ -66,9 +66,9 @@ public class ProtectTag extends Tag implements PasswordTag { /** * Constructor * - * @param sis - * @param data - * @throws IOException + * @param sis SWF input stream + * @param data Data + * @throws IOException On I/O error */ public ProtectTag(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); @@ -91,7 +91,7 @@ public class ProtectTag extends Tag implements PasswordTag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/RemoveObject2Tag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/RemoveObject2Tag.java index f8bb8e27f..38787244f 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/RemoveObject2Tag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/RemoveObject2Tag.java @@ -45,7 +45,7 @@ public class RemoveObject2Tag extends RemoveTag { /** * Constructor * - * @param swf + * @param swf SWF */ public RemoveObject2Tag(SWF swf) { super(swf, ID, NAME, null); @@ -54,9 +54,9 @@ public class RemoveObject2Tag extends RemoveTag { /** * Constructor * - * @param sis - * @param data - * @throws IOException + * @param sis SWF input stream + * @param data Data + * @throws IOException On I/O error */ public RemoveObject2Tag(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); @@ -72,7 +72,7 @@ public class RemoveObject2Tag extends RemoveTag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/RemoveObjectTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/RemoveObjectTag.java index c681a4d71..0511211e6 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/RemoveObjectTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/RemoveObjectTag.java @@ -55,7 +55,7 @@ public class RemoveObjectTag extends RemoveTag implements CharacterIdTag { /** * Constructor * - * @param swf + * @param swf SWF */ public RemoveObjectTag(SWF swf) { super(swf, ID, NAME, null); @@ -65,9 +65,9 @@ public class RemoveObjectTag extends RemoveTag implements CharacterIdTag { /** * Constructor * - * @param sis - * @param data - * @throws IOException + * @param sis SWF input stream + * @param data Data + * @throws IOException On I/O error */ public RemoveObjectTag(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); @@ -84,7 +84,7 @@ public class RemoveObjectTag extends RemoveTag implements CharacterIdTag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/ScriptLimitsTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/ScriptLimitsTag.java index d505a3d94..6c8697c3e 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/ScriptLimitsTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/ScriptLimitsTag.java @@ -46,7 +46,7 @@ public class ScriptLimitsTag extends Tag { /** * Constructor * - * @param swf + * @param swf SWF */ public ScriptLimitsTag(SWF swf) { super(swf, ID, NAME, null); @@ -67,7 +67,7 @@ public class ScriptLimitsTag extends Tag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/SetBackgroundColorTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/SetBackgroundColorTag.java index 056636d97..02cfb0f05 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/SetBackgroundColorTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/SetBackgroundColorTag.java @@ -41,7 +41,7 @@ public class SetBackgroundColorTag extends Tag { /** * Constructor * - * @param swf + * @param swf SWF */ public SetBackgroundColorTag(SWF swf) { super(swf, ID, NAME, null); @@ -67,7 +67,7 @@ public class SetBackgroundColorTag extends Tag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/SetTabIndexTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/SetTabIndexTag.java index c7cf5fea7..a630b3849 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/SetTabIndexTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/SetTabIndexTag.java @@ -52,7 +52,7 @@ public class SetTabIndexTag extends Tag { /** * Constructor * - * @param swf + * @param swf SWF */ public SetTabIndexTag(SWF swf) { super(swf, ID, NAME, null); @@ -61,9 +61,9 @@ public class SetTabIndexTag extends Tag { /** * Constructor * - * @param sis - * @param data - * @throws IOException + * @param sis SWF input stream + * @param data Data bytes + * @throws IOException On I/O error */ public SetTabIndexTag(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); @@ -80,7 +80,7 @@ public class SetTabIndexTag extends Tag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/ShowFrameTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/ShowFrameTag.java index faa02fb63..d09232144 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/ShowFrameTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/ShowFrameTag.java @@ -58,7 +58,7 @@ public class ShowFrameTag extends Tag { /** * Constructor * - * @param swf + * @param swf SWF */ public ShowFrameTag(SWF swf) { super(swf, ID, NAME, null); @@ -67,8 +67,8 @@ public class ShowFrameTag extends Tag { /** * Constructor * - * @param sis - * @param data + * @param sis SWF input stream + * @param data Data bytes */ public ShowFrameTag(SWFInputStream sis, ByteArrayRange data) { super(sis.getSwf(), ID, NAME, data); diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/SoundStreamBlockTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/SoundStreamBlockTag.java index 98c98442c..607c217c5 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/SoundStreamBlockTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/SoundStreamBlockTag.java @@ -40,7 +40,7 @@ public class SoundStreamBlockTag extends Tag { /** * Constructor * - * @param swf + * @param swf SWF */ public SoundStreamBlockTag(SWF swf) { super(swf, ID, NAME, null); @@ -50,9 +50,9 @@ public class SoundStreamBlockTag extends Tag { /** * Constructor * - * @param sis - * @param data - * @throws IOException + * @param sis SWF input stream + * @param data Data + * @throws IOException On I/O error */ public SoundStreamBlockTag(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); @@ -69,7 +69,7 @@ public class SoundStreamBlockTag extends Tag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/SoundStreamHead2Tag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/SoundStreamHead2Tag.java index b85f900bf..9dbeb80e5 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/SoundStreamHead2Tag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/SoundStreamHead2Tag.java @@ -83,7 +83,7 @@ public class SoundStreamHead2Tag extends SoundStreamHeadTypeTag { /** * Constructor * - * @param swf + * @param swf SWF */ public SoundStreamHead2Tag(SWF swf) { super(swf, ID, NAME, null); @@ -92,9 +92,9 @@ public class SoundStreamHead2Tag extends SoundStreamHeadTypeTag { /** * Constructor * - * @param sis - * @param data - * @throws IOException + * @param sis SWF input stream + * @param data Data bytes + * @throws IOException On I/O error */ public SoundStreamHead2Tag(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); @@ -121,7 +121,7 @@ public class SoundStreamHead2Tag extends SoundStreamHeadTypeTag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/SoundStreamHeadTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/SoundStreamHeadTag.java index f1caad893..fc5c04b09 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/SoundStreamHeadTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/SoundStreamHeadTag.java @@ -92,7 +92,7 @@ public class SoundStreamHeadTag extends SoundStreamHeadTypeTag { /** * Constructor * - * @param swf + * @param swf SWF */ public SoundStreamHeadTag(SWF swf) { super(swf, ID, NAME, null); @@ -101,9 +101,9 @@ public class SoundStreamHeadTag extends SoundStreamHeadTypeTag { /** * Constructor * - * @param sis - * @param data - * @throws IOException + * @param sis SWF input stream + * @param data Data + * @throws IOException On I/O error */ public SoundStreamHeadTag(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); @@ -130,7 +130,7 @@ public class SoundStreamHeadTag extends SoundStreamHeadTypeTag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/StartSound2Tag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/StartSound2Tag.java index c24886b0d..882929aa3 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/StartSound2Tag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/StartSound2Tag.java @@ -45,7 +45,7 @@ public class StartSound2Tag extends Tag { /** * Constructor * - * @param swf + * @param swf SWF */ public StartSound2Tag(SWF swf) { super(swf, ID, NAME, null); @@ -56,9 +56,9 @@ public class StartSound2Tag extends Tag { /** * Constructor * - * @param sis - * @param data - * @throws IOException + * @param sis SWF input stream + * @param data Data + * @throws IOException On I/O error */ public StartSound2Tag(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); @@ -75,7 +75,7 @@ public class StartSound2Tag extends Tag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/StartSoundTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/StartSoundTag.java index dce021358..8924cdae4 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/StartSoundTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/StartSoundTag.java @@ -48,7 +48,7 @@ public class StartSoundTag extends Tag implements CharacterIdTag { /** * Constructor * - * @param swf + * @param swf SWF */ public StartSoundTag(SWF swf) { super(swf, ID, NAME, null); @@ -58,9 +58,9 @@ public class StartSoundTag extends Tag implements CharacterIdTag { /** * Constructor * - * @param sis - * @param data - * @throws IOException + * @param sis SWF input stream + * @param data Data + * @throws IOException On I/O error */ public StartSoundTag(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); @@ -77,7 +77,7 @@ public class StartSoundTag extends Tag implements CharacterIdTag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/SymbolClassTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/SymbolClassTag.java index 7e8a36b00..2ca6657e8 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/SymbolClassTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/SymbolClassTag.java @@ -71,7 +71,7 @@ public class SymbolClassTag extends SymbolClassTypeTag { /** * Constructor * - * @param swf + * @param swf SWF */ public SymbolClassTag(SWF swf) { super(swf, ID, NAME, null); @@ -101,7 +101,7 @@ public class SymbolClassTag extends SymbolClassTypeTag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/SyncFrameTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/SyncFrameTag.java index 22c2f2a86..b9d43b1d6 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/SyncFrameTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/SyncFrameTag.java @@ -38,7 +38,7 @@ public class SyncFrameTag extends Tag { /** * Constructor * - * @param swf + * @param swf SWF */ public SyncFrameTag(SWF swf) { super(swf, ID, NAME, null); diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/TagStub.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/TagStub.java index 3e4ab80d3..fb4cc1293 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/TagStub.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/TagStub.java @@ -37,11 +37,11 @@ public class TagStub extends Tag { /** * Constructor * - * @param swf - * @param id - * @param data - * @param name - * @param sis + * @param swf SWF + * @param id ID + * @param data Data + * @param name Name + * @param sis SWF input stream */ public TagStub(SWF swf, int id, String name, ByteArrayRange data, SWFInputStream sis) { super(swf, id, name, data); diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/UnknownTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/UnknownTag.java index eed6aa4b5..018e0b641 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/UnknownTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/UnknownTag.java @@ -53,7 +53,7 @@ public class UnknownTag extends Tag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/VideoFrameTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/VideoFrameTag.java index 99c9971b8..3e685a8b0 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/VideoFrameTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/VideoFrameTag.java @@ -50,7 +50,7 @@ public class VideoFrameTag extends Tag implements CharacterIdTag { /** * Constructor * - * @param swf + * @param swf SWF */ public VideoFrameTag(SWF swf) { super(swf, ID, NAME, null); @@ -60,9 +60,9 @@ public class VideoFrameTag extends Tag implements CharacterIdTag { /** * Constructor * - * @param sis - * @param data - * @throws IOException + * @param sis SWF input stream + * @param data Data + * @throws IOException On I/O error */ public VideoFrameTag(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); @@ -80,7 +80,7 @@ public class VideoFrameTag extends Tag implements CharacterIdTag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/base/FontTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/base/FontTag.java index 8ea15aff4..b05f6f1d2 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/base/FontTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/base/FontTag.java @@ -778,8 +778,8 @@ public abstract class FontTag extends DrawableTag implements AloneTag { } /** - * Converts font to classic font. (= not GFX and such) - * @return + * Converts font to classic font tag. (= not GFX and such) + * @return Classic font tag */ public FontTag toClassicFont() { return this; diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/base/ImportTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/base/ImportTag.java index 68e4cb79b..c9029acba 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/base/ImportTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/base/ImportTag.java @@ -33,7 +33,7 @@ public interface ImportTag { /** * Set URL of the imported file. - * @param url + * @param url URL of the imported file */ public void setUrl(String url); diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/base/StaticTextTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/base/StaticTextTag.java index a39763d06..32965cf8f 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/base/StaticTextTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/base/StaticTextTag.java @@ -125,7 +125,7 @@ public abstract class StaticTextTag extends TextTag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/base/TextTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/base/TextTag.java index d361fa479..dcfec89a8 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/base/TextTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/base/TextTag.java @@ -122,7 +122,7 @@ public abstract class TextTag extends DrawableTag { * @param formattedText Formatted text * @param texts Texts * @return True if the text was set successfully - * @throws TextParseException + * @throws TextParseException On parse error */ public abstract boolean setFormattedText(MissingCharacterHandler missingCharHandler, String formattedText, String[] texts) throws TextParseException; diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/dynamictext/SameStyleTextRecord.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/dynamictext/SameStyleTextRecord.java index 83aa8f750..d7db7f545 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/dynamictext/SameStyleTextRecord.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/dynamictext/SameStyleTextRecord.java @@ -48,7 +48,7 @@ public class SameStyleTextRecord { /** * Calculates text widths - * @return + * @return Total width */ public int calculateTextWidths() { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/gfx/DefineCompactedFont.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/gfx/DefineCompactedFont.java index af17fadf3..c1ea38427 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/gfx/DefineCompactedFont.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/gfx/DefineCompactedFont.java @@ -64,7 +64,7 @@ public final class DefineCompactedFont extends FontTag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { @@ -77,7 +77,7 @@ public final class DefineCompactedFont extends FontTag { /** * Constructor * - * @param swf + * @param swf SWF */ public DefineCompactedFont(SWF swf) { super(swf, ID, NAME, null); @@ -93,9 +93,9 @@ public final class DefineCompactedFont extends FontTag { /** * Constructor * - * @param sis - * @param data - * @throws IOException + * @param sis SWF input stream + * @param data Data + * @throws IOException On I/O error */ public DefineCompactedFont(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/gfx/DefineExternalGradient.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/gfx/DefineExternalGradient.java index 4b70af303..c2c60bb85 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/gfx/DefineExternalGradient.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/gfx/DefineExternalGradient.java @@ -54,7 +54,7 @@ public class DefineExternalGradient extends Tag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { @@ -67,9 +67,9 @@ public class DefineExternalGradient extends Tag { /** * Constructor * - * @param sis - * @param data - * @throws IOException + * @param sis SWF input stream + * @param data Data + * @throws IOException On I/O error */ public DefineExternalGradient(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/gfx/DefineExternalImage.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/gfx/DefineExternalImage.java index 222d26992..a87a39ebe 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/gfx/DefineExternalImage.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/gfx/DefineExternalImage.java @@ -70,7 +70,7 @@ public class DefineExternalImage extends AbstractGfxImageTag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { @@ -87,9 +87,9 @@ public class DefineExternalImage extends AbstractGfxImageTag { /** * Constructor * - * @param sis - * @param data - * @throws IOException + * @param sis SWF input stream + * @param data Data + * @throws IOException On I/O error */ public DefineExternalImage(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/gfx/DefineExternalImage2.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/gfx/DefineExternalImage2.java index 687a7e21c..4c033a560 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/gfx/DefineExternalImage2.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/gfx/DefineExternalImage2.java @@ -74,7 +74,7 @@ public class DefineExternalImage2 extends AbstractGfxImageTag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { @@ -93,9 +93,9 @@ public class DefineExternalImage2 extends AbstractGfxImageTag { /** * Constructor * - * @param sis - * @param data - * @throws IOException + * @param sis SWF input stream + * @param data Data + * @throws IOException On I/O error */ public DefineExternalImage2(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/gfx/DefineExternalSound.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/gfx/DefineExternalSound.java index b148fdf2c..ed61e81ec 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/gfx/DefineExternalSound.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/gfx/DefineExternalSound.java @@ -72,7 +72,7 @@ public class DefineExternalSound extends CharacterTag implements SoundTag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { @@ -90,9 +90,9 @@ public class DefineExternalSound extends CharacterTag implements SoundTag { /** * Constructor * - * @param sis - * @param data - * @throws IOException + * @param sis SWF input stream + * @param data Data + * @throws IOException On I/O error */ public DefineExternalSound(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/gfx/DefineExternalStreamSound.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/gfx/DefineExternalStreamSound.java index b245bc322..064959801 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/gfx/DefineExternalStreamSound.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/gfx/DefineExternalStreamSound.java @@ -78,7 +78,7 @@ public class DefineExternalStreamSound extends Tag implements CharacterIdTag, So * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { @@ -96,9 +96,9 @@ public class DefineExternalStreamSound extends Tag implements CharacterIdTag, So /** * Constructor * - * @param sis - * @param data - * @throws IOException + * @param sis SWF input stream + * @param data Data + * @throws IOException On I/O error */ public DefineExternalStreamSound(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/gfx/DefineGradientMap.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/gfx/DefineGradientMap.java index 17f66f21d..7eaad624a 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/gfx/DefineGradientMap.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/gfx/DefineGradientMap.java @@ -43,7 +43,7 @@ public class DefineGradientMap extends Tag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { @@ -56,9 +56,9 @@ public class DefineGradientMap extends Tag { /** * Constructor * - * @param sis - * @param data - * @throws IOException + * @param sis SWF input stream + * @param data Data + * @throws IOException On I/O error */ public DefineGradientMap(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/gfx/DefineSubImage.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/gfx/DefineSubImage.java index 98c39f653..5ea1a8102 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/gfx/DefineSubImage.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/gfx/DefineSubImage.java @@ -72,7 +72,7 @@ public class DefineSubImage extends AbstractGfxImageTag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { @@ -87,9 +87,9 @@ public class DefineSubImage extends AbstractGfxImageTag { /** * Constructor * - * @param sis - * @param data - * @throws IOException + * @param sis SWF input stream + * @param data Data + * @throws IOException On I/O error */ public DefineSubImage(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/gfx/ExporterInfo.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/gfx/ExporterInfo.java index 3b65ddf1c..e3db70ec9 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/gfx/ExporterInfo.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/gfx/ExporterInfo.java @@ -57,7 +57,7 @@ public class ExporterInfo extends Tag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { @@ -79,9 +79,9 @@ public class ExporterInfo extends Tag { /** * Constructor * - * @param sis - * @param data - * @throws IOException + * @param sis SWF input stream + * @param data Data + * @throws IOException On I/O error */ public ExporterInfo(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/gfx/FontTextureInfo.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/gfx/FontTextureInfo.java index e80f38c8d..766614105 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/gfx/FontTextureInfo.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/gfx/FontTextureInfo.java @@ -67,7 +67,7 @@ public class FontTextureInfo extends Tag { * Gets data bytes * * @param sos SWF output stream - * @throws java.io.IOException + * @throws IOException On I/O error */ @Override public void getData(SWFOutputStream sos) throws IOException { @@ -92,9 +92,9 @@ public class FontTextureInfo extends Tag { /** * Constructor * - * @param sis - * @param data - * @throws IOException + * @param sis SWF input stream + * @param data Data + * @throws IOException On I/O error */ public FontTextureInfo(SWFInputStream sis, ByteArrayRange data) throws IOException { super(sis.getSwf(), ID, NAME, data); diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/timeline/DepthState.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/timeline/DepthState.java index 3ee50c8bf..dcdc034f0 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/timeline/DepthState.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/timeline/DepthState.java @@ -176,7 +176,7 @@ public class DepthState { /** * Gets new instance id. * - * @return + * @return New instance id */ public static long getNewInstanceId() { return lastInstanceId.addAndGet(1); @@ -236,7 +236,7 @@ public class DepthState { /** * Sets matrix. * - * @param matrix + * @param matrix Matrix */ public void setMATRIX(MATRIX matrix) { this.matrix = matrix; @@ -246,7 +246,7 @@ public class DepthState { /** * Checks whether cache as bitmap is on. * - * @return + * @return Whether cache as bitmap is on */ public boolean cacheAsBitmap() { return (placeObjectTag != null && placeObjectTag.cacheAsBitmap()) @@ -257,7 +257,7 @@ public class DepthState { * Converts DepthState to PlaceObject tag of required version. * * @param depth Depth - * @return + * @return PlaceObject tag */ public PlaceObjectTypeTag toPlaceObjectTag(int depth) { if (minPlaceObjectNum <= 1) { @@ -278,7 +278,7 @@ public class DepthState { /** * Gets character tag. * - * @return + * @return Character tag */ public CharacterTag getCharacter() { if (characterId == -1) { @@ -293,11 +293,6 @@ public class DepthState { return swf.getCharacter(characterId); } - /** - * Hashcode. - * - * @return - */ @Override public int hashCode() { int hash = 7; @@ -321,12 +316,6 @@ public class DepthState { return hash; } - /** - * Equals. - * - * @param obj - * @return - */ @Override public boolean equals(Object obj) { if (this == obj) { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/timeline/Frame.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/timeline/Frame.java index e97136023..32895f128 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/timeline/Frame.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/timeline/Frame.java @@ -148,18 +148,13 @@ public class Frame implements TreeItem, Exportable { /** * Gets openable. * - * @return + * @return Openable */ @Override public Openable getOpenable() { return timeline.swf; } - /** - * ToString - * - * @return - */ @Override public String toString() { String name = "frame " + (frame + 1); @@ -178,19 +173,13 @@ public class Frame implements TreeItem, Exportable { /** * Gets export file name. * - * @return + * @return Export file name */ @Override public String getExportFileName() { return "frame_" + (frame + 1); } - /** - * Equals. - * - * @param obj - * @return - */ @Override public boolean equals(Object obj) { if (obj instanceof Frame) { @@ -201,20 +190,15 @@ public class Frame implements TreeItem, Exportable { return false; } - /** - * HashCode. - * - * @return - */ @Override public int hashCode() { return timeline.hashCode() ^ Integer.hashCode(frame); } /** - * Checks whether some of "all inner frames" are moified. + * Checks whether some of "all inner frames" are modified. * - * @return + * @return If some of "all inner frames" are modified */ public boolean isAllInnerTagsModified() { for (Tag t : allInnerTags) { @@ -228,7 +212,7 @@ public class Frame implements TreeItem, Exportable { /** * Gets modified flag. * - * @return + * @return Modified flag */ @Override public boolean isModified() { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/timeline/FrameScript.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/timeline/FrameScript.java index 8bae0ffa9..9329cb581 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/timeline/FrameScript.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/timeline/FrameScript.java @@ -52,7 +52,7 @@ public class FrameScript implements TreeItem, Exportable { /** * Gets Frame. * - * @return + * @return Frame */ public Frame getFrame() { return frame; @@ -61,18 +61,13 @@ public class FrameScript implements TreeItem, Exportable { /** * Gets openable. * - * @return + * @return Openable */ @Override public Openable getOpenable() { return swf; } - /** - * ToString. - * - * @return - */ @Override public String toString() { return frame.toString(); @@ -81,7 +76,7 @@ public class FrameScript implements TreeItem, Exportable { /** * Gets export filename. * - * @return + * @return Export filename */ @Override public String getExportFileName() { @@ -91,7 +86,7 @@ public class FrameScript implements TreeItem, Exportable { /** * Gets modified flag. * - * @return + * @return Modified flag */ @Override public boolean isModified() { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/timeline/Scene.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/timeline/Scene.java index 1dfd25f6f..c5547ed04 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/timeline/Scene.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/timeline/Scene.java @@ -66,7 +66,7 @@ public class Scene implements TreeItem { /** * Gets number of frames in this scene. * - * @return + * @return Number of frames */ public int getSceneFrameCount() { return endFrame - startFrame + 1; @@ -76,7 +76,7 @@ public class Scene implements TreeItem { * Gets SceneFrame at index * * @param sceneFrameIndex Index at range 0 to sceneFrameCount - 1 - * @return + * @return Scene frame */ public SceneFrame getSceneFrame(int sceneFrameIndex) { if (sceneFrameIndex >= getSceneFrameCount()) { @@ -85,31 +85,17 @@ public class Scene implements TreeItem { return new SceneFrame(swf, this, startFrame + sceneFrameIndex); } - /** - * Gets openable. - * - * @return - */ @Override public Openable getOpenable() { return swf; } - /** - * Gets modified flag. - * - * @return - */ @Override public boolean isModified() { return false; //?? } - /** - * HashCode. - * - * @return - */ + @Override public int hashCode() { int hash = 7; @@ -118,12 +104,6 @@ public class Scene implements TreeItem { return hash; } - /** - * Equals. - * - * @param obj - * @return - */ @Override public boolean equals(Object obj) { if (this == obj) { @@ -142,11 +122,6 @@ public class Scene implements TreeItem { return Objects.equals(this.swf, other.swf); } - /** - * ToString. - * - * @return - */ @Override public String toString() { return name; diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/timeline/SceneFrame.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/timeline/SceneFrame.java index 76e9cb6ca..1e9860bec 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/timeline/SceneFrame.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/timeline/SceneFrame.java @@ -59,7 +59,7 @@ public class SceneFrame implements TreeItem { /** * Gets scene frame index. * - * @return + * @return Frame index */ public int getSceneFrameIndex() { return realFrameIndex - scene.startFrame; @@ -68,47 +68,27 @@ public class SceneFrame implements TreeItem { /** * Gets frame. * - * @return + * @return Frame */ public Frame getFrame() { return swf.getTimeline().getFrame(realFrameIndex); } - /** - * ToString. - * - * @return - */ @Override public String toString() { return "scene frame " + (getSceneFrameIndex() + 1); } - /** - * Gets openable. - * - * @return - */ @Override public Openable getOpenable() { return swf; } - /** - * Gets modified flag. - * - * @return - */ @Override public boolean isModified() { return getFrame().isModified(); } - /** - * HashCode. - * - * @return - */ @Override public int hashCode() { int hash = 5; @@ -117,12 +97,6 @@ public class SceneFrame implements TreeItem { return hash; } - /** - * Equals. - * - * @param obj - * @return - */ @Override public boolean equals(Object obj) { if (this == obj) { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/timeline/SoundStreamFrameRange.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/timeline/SoundStreamFrameRange.java index 972ef9f0b..369788bcf 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/timeline/SoundStreamFrameRange.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/timeline/SoundStreamFrameRange.java @@ -63,71 +63,36 @@ public class SoundStreamFrameRange implements TreeItem, SoundTag { this.head = head; } - /** - * Gets openable. - * - * @return - */ @Override public Openable getOpenable() { return head.getOpenable(); } - /** - * Gets modified flag - * - * @return - */ @Override public boolean isModified() { return false; } - /** - * Gets sound export format. - * - * @return - */ @Override public SoundExportFormat getExportFormat() { return head.getExportFormat(); } - /** - * Checks whether import is supported. - * - * @return - */ @Override public boolean importSupported() { return false; //?? } - /** - * Gets sound rate. - * - * @return - */ @Override public int getSoundRate() { return head.getSoundRate(); } - /** - * Gets sound type. True = stereo, false = mono. - * - * @return - */ @Override public boolean getSoundType() { return head.getSoundType(); } - /** - * Gets raw sound data. - * - * @return - */ @Override public List getRawSoundData() { List ret = new ArrayList<>(); @@ -142,121 +107,62 @@ public class SoundStreamFrameRange implements TreeItem, SoundTag { return ret; } - /** - * Gets sound format id. - * - * @return - */ @Override public int getSoundFormatId() { return head.getSoundFormatId(); } - /** - * Gets total sound sample count. - * - * @return - */ @Override public long getTotalSoundSampleCount() { return blocks.size() * head.getSoundSampleCount(); } - /** - * Gets sound size. True = 16 bit, false = 8 bit. - * - * @return - */ @Override public boolean getSoundSize() { return head.getSoundSize(); } - /** - * Gets character export filename. - * - * @return - */ @Override public String getCharacterExportFileName() { return head.getCharacterExportFileName() + "_" + (startFrame + 1) + "-" + (endFrame + 1); } - /** - * Gets name. - * - * @return - */ @Override public String getName() { return "SoundStreamBlocks"; } - /** - * Gets sound format. - * - * @return - */ + @Override public SoundFormat getSoundFormat() { return head.getSoundFormat(); } - /** - * Sets sound size. True = 16 bit, false = 8 bit - * - * @param soundSize - */ @Override public void setSoundSize(boolean soundSize) { //? } - /** - * Sets sound type. True = stereo, false = mono - * - * @param soundType - */ @Override public void setSoundType(boolean soundType) { //? } - /** - * Sets sound sample count. - * - * @param soundSampleCount - */ @Override public void setSoundSampleCount(long soundSampleCount) { //? } - /** - * Sets sound compression. - * - * @param soundCompression - */ @Override public void setSoundCompression(int soundCompression) { //? } - /** - * Sets sound rate. - * - * @param soundRate - */ @Override public void setSoundRate(int soundRate) { //? } - /** - * Gets character id. - * - * @return - */ @Override public int getCharacterId() { return head.getCharacterId(); @@ -265,47 +171,28 @@ public class SoundStreamFrameRange implements TreeItem, SoundTag { /** * Gets sound stream head. * - * @return + * @return Sound stream head */ public SoundStreamHeadTypeTag getHead() { return head; } - /** - * ToString. - * - * @return - */ + @Override public String toString() { return "SoundStreamBlocks (frame " + (startFrame + 1) + " - " + (endFrame + 1) + ")"; } - /** - * Checks whether the sound is readonly. - * - * @return - */ @Override public boolean isReadOnly() { return head.isReadOnly(); } - /** - * Gets FLA export name. - * - * @return - */ @Override public String getFlaExportName() { return head.getFlaExportName() + "_" + (startFrame + 1) + "-" + (endFrame + 1); } - /** - * Gets initial latency. - * - * @return - */ @Override public int getInitialLatency() { return 0; diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/timeline/TagScript.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/timeline/TagScript.java index ec57de1cd..29d65f0b8 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/timeline/TagScript.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/timeline/TagScript.java @@ -62,7 +62,7 @@ public class TagScript implements TreeItem, Exportable { /** * Gets tag. * - * @return + * @return Tag */ public Tag getTag() { return tag; @@ -71,48 +71,27 @@ public class TagScript implements TreeItem, Exportable { /** * Gets frames. * - * @return + * @return Frames */ public List getFrames() { return frames; } - /** - * Gets openable. - * - * @return - */ @Override public Openable getOpenable() { return swf; } - /** - * ToString. - * - * @return - */ @Override public String toString() { return tag.toString(); } - /** - * Gets export filename. - * - * @return - */ @Override public String getExportFileName() { return tag.getExportFileName(); } - /** - * Equals. - * - * @param obj - * @return - */ @Override public boolean equals(Object obj) { if (obj instanceof TagScript) { @@ -122,21 +101,11 @@ public class TagScript implements TreeItem, Exportable { return false; } - /** - * HashCode. - * - * @return - */ @Override public int hashCode() { return tag.hashCode(); } - /** - * Gets modified flag. - * - * @return - */ @Override public boolean isModified() { for (TreeItem f : frames) { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/timeline/Timeline.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/timeline/Timeline.java index f7ee73e77..21ac7346f 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/timeline/Timeline.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/timeline/Timeline.java @@ -214,7 +214,7 @@ public class Timeline { /** * Gets list of frames. * - * @return + * @return List of frames */ public synchronized List getFrames() { ensureInitialized(); @@ -225,7 +225,7 @@ public class Timeline { * Gets frame object. * * @param index 0-based frame index - * @return + * @return Frame object or null if index is out of bounds */ public synchronized Frame getFrame(int index) { ensureInitialized(); @@ -238,7 +238,7 @@ public class Timeline { /** * Adds a frame. * - * @param frame + * @param frame Frame to add */ public synchronized void addFrame(Frame frame) { ensureInitialized(); @@ -250,7 +250,7 @@ public class Timeline { /** * Gets AS2 root package. * - * @return + * @return AS2 root package */ public AS2Package getAS2RootPackage() { ensureInitialized(); @@ -260,7 +260,7 @@ public class Timeline { /** * Gets map of depth to max frame. * - * @return + * @return Map of depth to max frame */ public Map getDepthMaxFrame() { ensureInitialized(); @@ -270,8 +270,8 @@ public class Timeline { /** * Gets map of soundStream id to SoundStreamFrameRanges. * - * @param head - * @return + * @param head Head + * @return List of SoundStreamFrameRanges */ public List getSoundStreamBlocks(SoundStreamHeadTypeTag head) { ensureInitialized(); @@ -281,7 +281,7 @@ public class Timeline { /** * Gets parent tag. * - * @return + * @return Parent tag */ public Tag getParentTag() { return timelined instanceof Tag ? (Tag) timelined : null; @@ -290,7 +290,7 @@ public class Timeline { /** * Resets timeline to given SWF file timeline. * - * @param swf + * @param swf SWF */ public void reset(SWF swf) { reset(swf, swf, 0, swf.displayRect); @@ -300,7 +300,7 @@ public class Timeline { * Resets timeline to given Timelined object * * @param swf SWF this timelined resides - * @param timelined + * @param timelined Timelined * @param id Timeline id - usually characterId or 0 for SWF main timeline * @param displayRect Display rect */ @@ -324,7 +324,7 @@ public class Timeline { /** * Gets maximum depth. * - * @return + * @return Maximum depth */ public final int getMaxDepth() { ensureInitialized(); @@ -334,7 +334,7 @@ public class Timeline { /** * Calculates max depth manually. * - * @return + * @return Maximum depth */ private synchronized int getMaxDepthInternal() { int max_depth = 0; @@ -355,7 +355,7 @@ public class Timeline { /** * Gets frame count. * - * @return + * @return Frame count */ public synchronized int getFrameCount() { ensureInitialized(); @@ -365,7 +365,7 @@ public class Timeline { /** * Gets real frame count. Real = when frame has actions or layerschanged. * - * @return + * @return Real frame count */ public synchronized int getRealFrameCount() { ensureInitialized(); @@ -387,8 +387,8 @@ public class Timeline { /** * Gets frame for ASMSource. * - * @param asm - * @return + * @param asm ASMSource + * @return Frame index or -1 if not found */ public int getFrameForAction(ASMSource asm) { Integer frame = actionFrames.get(asm); @@ -402,7 +402,7 @@ public class Timeline { /** * Constructs timeline from SWF. * - * @param swf + * @param swf SWF */ public Timeline(SWF swf) { this(swf, swf, 0, swf.displayRect); @@ -412,7 +412,7 @@ public class Timeline { * Constructs timeline from Timelined object. * * @param swf SWF the timelined object resides in - * @param timelined + * @param timelined Timelined * @param id Timeline id - usually characterId or 0 for SWF main timeline * @param displayRect Display rect */ @@ -428,7 +428,7 @@ public class Timeline { /** * Gets frame with label name. * - * @param label + * @param label Label name * @return frame index (zero based) or -1 when not found */ public int getFrameWithLabel(String label) { @@ -773,8 +773,8 @@ public class Timeline { /** * Populates sound stream blocks. * - * @param containerId - * @param tags + * @param containerId Container id + * @param tags Tags */ private void populateSoundStreamBlocks(int containerId, Iterable tags) { List ranges = null; @@ -885,8 +885,8 @@ public class Timeline { /** * Gets needed characters for a frame. * - * @param frame - * @param usedCharacters + * @param frame Frame index + * @param usedCharacters Result */ public void getNeededCharacters(int frame, Set usedCharacters) { Frame frameObj = getFrame(frame); @@ -904,9 +904,9 @@ public class Timeline { /** * Replaces characterId with another.s * - * @param oldCharacterId - * @param newCharacterId - * @return + * @param oldCharacterId Old character id + * @param newCharacterId New character id + * @return True if modified */ public boolean replaceCharacter(int oldCharacterId, int newCharacterId) { boolean modified = false; @@ -924,9 +924,9 @@ public class Timeline { /** * Removes character. * - * @param characterId + * @param characterId Character id * @param listener Called on tag remove - * @return + * @return True if removed */ public boolean removeCharacter(int characterId, TagRemoveListener listener) { return swf.removeCharacterFromTimeline(characterId, this, listener); @@ -935,8 +935,8 @@ public class Timeline { /** * Rounds value to pixels. * - * @param val - * @return + * @param val Value + * @return Rounded value */ public double roundToPixel(double val) { return Math.rint(val / SWF.unitDivisor) * SWF.unitDivisor; @@ -945,34 +945,34 @@ public class Timeline { /** * Draws drawableTag * - * @param swf - * @param strokeTransform - * @param layer - * @param layerMatrix - * @param g - * @param colorTransForm - * @param blendMode - * @param parentBlendMode - * @param clips - * @param transformation - * @param isClip - * @param clipDepth - * @param absMat - * @param time - * @param ratio - * @param renderContext - * @param image - * @param fullImage - * @param drawable - * @param filters - * @param unzoom - * @param clrTrans - * @param sameImage - * @param viewRect - * @param fullTransformation - * @param scaleStrokes - * @param drawMode - * @param canUseSmoothing + * @param swf SWF + * @param strokeTransform Stroke transform + * @param layer Layer + * @param layerMatrix Layer matrix + * @param g Graphics + * @param colorTransForm Color transform + * @param blendMode Blend mode + * @param parentBlendMode Parent blend mode + * @param clips Clips + * @param transformation Transformation + * @param isClip Is clip + * @param clipDepth Clip depth + * @param absMat Absolute matrix + * @param time Time + * @param ratio Ratio + * @param renderContext Render context + * @param image Image + * @param fullImage Full image + * @param drawable Drawable + * @param filters Filters + * @param unzoom Unzoom + * @param clrTrans Color transform + * @param sameImage Same image + * @param viewRect View rect + * @param fullTransformation Full transformation + * @param scaleStrokes Scale strokes + * @param drawMode Draw mode + * @param canUseSmoothing Can use smoothing */ private void drawDrawable(SWF swf, Matrix strokeTransform, DepthState layer, Matrix layerMatrix, Graphics2D g, ColorTransform colorTransForm, int blendMode, int parentBlendMode, List clips, Matrix transformation, boolean isClip, int clipDepth, Matrix absMat, int time, int ratio, RenderContext renderContext, SerializableImage image, SerializableImage fullImage, DrawableTag drawable, List filters, double unzoom, ColorTransform clrTrans, boolean sameImage, ExportRectangle viewRect, Matrix fullTransformation, boolean scaleStrokes, int drawMode, boolean canUseSmoothing) { Matrix drawMatrix = new Matrix(); @@ -1277,24 +1277,24 @@ public class Timeline { /** * Converts specified frame to an image. * - * @param frame - * @param time - * @param renderContext - * @param image - * @param fullImage - * @param isClip - * @param transformation - * @param strokeTransformation - * @param absoluteTransformation - * @param colorTransform - * @param unzoom - * @param sameImage - * @param viewRect - * @param fullTransformation - * @param scaleStrokes - * @param drawMode - * @param blendMode - * @param canUseSmoothing + * @param frame Frame + * @param time Time + * @param renderContext Render context + * @param image Image + * @param fullImage Full image + * @param isClip Is clip + * @param transformation Transformation + * @param strokeTransformation Stroke transformation + * @param absoluteTransformation Absolute transformation + * @param colorTransform Color transform + * @param unzoom Unzoom + * @param sameImage Same image + * @param viewRect View rect + * @param fullTransformation Full transformation + * @param scaleStrokes Scale strokes + * @param drawMode Draw mode + * @param blendMode Blend mode + * @param canUseSmoothing Can use smoothing */ public void toImage(int frame, int time, RenderContext renderContext, SerializableImage image, SerializableImage fullImage, boolean isClip, Matrix transformation, Matrix strokeTransformation, Matrix absoluteTransformation, ColorTransform colorTransform, double unzoom, boolean sameImage, ExportRectangle viewRect, Matrix fullTransformation, boolean scaleStrokes, int drawMode, int blendMode, boolean canUseSmoothing) { if (getFrameCount() <= frame) { @@ -1470,14 +1470,14 @@ public class Timeline { /** * Converts specified frame to SVG. * - * @param frame - * @param time - * @param stateUnderCursor - * @param mouseButton - * @param exporter - * @param colorTransform - * @param level - * @throws IOException + * @param frame Frame + * @param time Time + * @param stateUnderCursor State under cursor + * @param mouseButton Mouse button + * @param exporter SVG exporter + * @param colorTransform Color transform + * @param level Level + * @throws IOException On I/O error */ public void toSVG(int frame, int time, DepthState stateUnderCursor, int mouseButton, SVGExporter exporter, ColorTransform colorTransform, int level) throws IOException { if (getFrameCount() <= frame) { @@ -1580,9 +1580,9 @@ public class Timeline { /** * Gets tag type prefix for SVG export. * - * @param tag - * @param exporter - * @return + * @param tag Tag + * @param exporter SVG exporter + * @return Tag type prefix */ private static String getTagIdPrefix(Tag tag, SVGExporter exporter) { if (tag instanceof ShapeTag) { @@ -1606,9 +1606,9 @@ public class Timeline { /** * Converts list of frames to HTML Canvas. * - * @param result - * @param unitDivisor - * @param frames + * @param result Result + * @param unitDivisor Unit divisor + * @param frames Frames */ public void toHtmlCanvas(StringBuilder result, double unitDivisor, List frames) { FrameExporter.framesToHtmlCanvas(result, unitDivisor, this, frames, 0, null, 0, displayRect, null, null); @@ -1617,13 +1617,13 @@ public class Timeline { /** * Gets all sounds from the frame. * - * @param frame - * @param time - * @param mouseOverButton - * @param mouseButton - * @param sounds - * @param soundClasses - * @param soundInfos + * @param frame Frame + * @param time Time + * @param mouseOverButton Mouse over button + * @param mouseButton Mouse button + * @param sounds Sounds + * @param soundClasses Sound classes + * @param soundInfos Sound infos */ public void getSounds(int frame, int time, ButtonTag mouseOverButton, int mouseButton, List sounds, List soundClasses, List soundInfos) { Frame fr = getFrame(frame); @@ -1659,15 +1659,15 @@ public class Timeline { /** * Gets outline of the frame. * - * @param fast - * @param frame - * @param time - * @param renderContext - * @param transformation - * @param stroked - * @param viewRect - * @param unzoom - * @return + * @param fast Fast + * @param frame Frame + * @param time Time + * @param renderContext Render context + * @param transformation Transformation + * @param stroked Stroked + * @param viewRect View rect + * @param unzoom Unzoom + * @return Outline */ public Shape getOutline(boolean fast, int frame, int time, RenderContext renderContext, Matrix transformation, boolean stroked, ExportRectangle viewRect, double unzoom) { Frame fr = getFrame(frame); @@ -1743,7 +1743,7 @@ public class Timeline { * Checks whether all frames are singleframe. Single frame = each frame has * no animated parts inside. * - * @return + * @return True if all frames are single frame, otherwise false */ public boolean isSingleFrame() { for (int i = 0; i < getFrameCount(); i++) { @@ -1758,8 +1758,8 @@ public class Timeline { * Checks whether specified frame is single frame. Single frame = has no * animated parts inside. * - * @param frame - * @return + * @param frame Frame + * @return True if frame is single frame, otherwise false */ public boolean isSingleFrame(int frame) { Frame frameObj = getFrame(frame); @@ -1786,12 +1786,6 @@ public class Timeline { return true; } - /** - * Equals test. - * - * @param obj - * @return - */ @Override public boolean equals(Object obj) { if (obj instanceof Timeline) { @@ -1805,7 +1799,7 @@ public class Timeline { /** * Gets scenes list. * - * @return + * @return Scenes list */ public List getScenes() { ensureInitialized(); diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/treeitems/FolderItem.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/treeitems/FolderItem.java index ed5482c9b..f98707c7b 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/treeitems/FolderItem.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/treeitems/FolderItem.java @@ -65,7 +65,7 @@ public class FolderItem implements TreeItem { /** * Gets name. * - * @return + * @return Name */ public String getName() { return name; @@ -74,18 +74,14 @@ public class FolderItem implements TreeItem { /** * Gets openable. * - * @return + * @return Openable */ @Override public Openable getOpenable() { return swf; } - /** - * ToString. - * - * @return - */ + @Override public String toString() { return str; @@ -94,7 +90,7 @@ public class FolderItem implements TreeItem { /** * Gets modified flag. * - * @return + * @return Modified flag */ @Override public boolean isModified() { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/treeitems/HeaderItem.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/treeitems/HeaderItem.java index 318a874a5..8bdb37a77 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/treeitems/HeaderItem.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/treeitems/HeaderItem.java @@ -43,18 +43,13 @@ public class HeaderItem implements TreeItem { /** * Gets openable. * - * @return + * @return Openable */ @Override public Openable getOpenable() { return swf; } - /** - * ToString. - * - * @return - */ @Override public String toString() { return name; @@ -63,7 +58,7 @@ public class HeaderItem implements TreeItem { /** * Gets modified flag. * - * @return + * @return Modified flag */ @Override public boolean isModified() { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/treeitems/OpenableList.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/treeitems/OpenableList.java index cd046dbd5..fa9318ed4 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/treeitems/OpenableList.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/treeitems/OpenableList.java @@ -57,27 +57,17 @@ public class OpenableList implements List, SWFContainerItem { /** * Checks whether it is bundle. * - * @return + * @return True if it is bundle */ public boolean isBundle() { return bundle != null; } - /** - * Gets openable. - * - * @return - */ @Override public Openable getOpenable() { return null; } - /** - * ToString. - * - * @return - */ @Override public String toString() { if (isBundle()) { @@ -87,139 +77,66 @@ public class OpenableList implements List, SWFContainerItem { } } - /** - * Iterator. - * - * @return - */ @Override public Iterator iterator() { return items.iterator(); } - /** - * Gets item count. - * - * @return - */ @Override public int size() { return items.size(); } - /** - * Checks whether items are empty. - * - * @return - */ @Override public boolean isEmpty() { return items.isEmpty(); } - /** - * Checks whether list contains specific openable. - * - * @param o - * @return - */ @Override public boolean contains(Object o) { return items.contains(o); } - /** - * Converts to array. - * - * @return - */ @Override public Object[] toArray() { return items.toArray(); } - /** - * Converts to array. - * - * @param - * @param ts - * @return - */ @Override public T[] toArray(T[] ts) { return items.toArray(ts); } - /** - * Contains all. - * - * @param clctn - * @return - */ @Override public boolean containsAll(Collection clctn) { return items.containsAll(clctn); } - /** - * Removes all. - * - * @param clctn - * @return - */ @Override public boolean removeAll(Collection clctn) { return items.removeAll(clctn); } - /** - * Retains all. - * - * @param clctn - * @return - */ @Override public boolean retainAll(Collection clctn) { return items.retainAll(clctn); } - /** - * Clears list. - */ @Override public void clear() { items.clear(); } - /** - * Adds all items. - * - * @param clctn - * @return - */ @Override public boolean addAll(Collection clctn) { return items.addAll(clctn); } - /** - * Adds all items at index. - * - * @param i - * @param clctn - * @return - */ @Override public boolean addAll(int i, Collection clctn) { return items.addAll(i, clctn); } - /** - * Gets item at index. - * - * @param i - * @return - */ @Override public Openable get(int i) { if (i < 0 || i >= items.size()) { @@ -228,122 +145,56 @@ public class OpenableList implements List, SWFContainerItem { return items.get(i); } - /** - * Sets item at index. - * - * @param i - * @param e - * @return - */ @Override public Openable set(int i, Openable e) { return items.set(i, e); } - /** - * Adds item. - * - * @param e - * @return - */ @Override public boolean add(Openable e) { return items.add(e); } - /** - * Adds item at index. - * - * @param i - * @param e - */ @Override public void add(int i, Openable e) { items.add(i, e); } - /** - * Removes item. - * - * @param o - * @return - */ @Override public boolean remove(Object o) { return items.remove(o); } - /** - * Removes item at index. - * - * @param i - * @return - */ @Override public Openable remove(int i) { return items.remove(i); } - /** - * Index of item. - * - * @param o - * @return - */ @Override public int indexOf(Object o) { return items.indexOf(0); } - /** - * Last index of item. - * - * @param o - * @return - */ @Override public int lastIndexOf(Object o) { return items.lastIndexOf(o); } - /** - * List iterator. - * - * @return - */ @Override public ListIterator listIterator() { return items.listIterator(); } - /** - * List iterator. - * - * @param i - * @return - */ @Override public ListIterator listIterator(int i) { return items.listIterator(i); } - /** - * Sublist. - * - * @param i - * @param i1 - * @return - */ @Override public List subList(int i, int i1) { return items.subList(i, i1); } - /** - * Gets modified flag. - * - * @return - */ @Override public boolean isModified() { for (Openable s : items) { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/types/MORPHGRADIENT.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/types/MORPHGRADIENT.java index b2d7a39d4..7099839b9 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/types/MORPHGRADIENT.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/types/MORPHGRADIENT.java @@ -59,7 +59,7 @@ public class MORPHGRADIENT implements Serializable { * @param c1 Color 1 * @param c2 Color 2 * @param ratio Ratio - * @return + * @return Morphed color */ public static RGBA morphColor(RGBA c1, RGBA c2, int ratio) { int r = (int) (c1.red + (c2.red - c1.red) * ratio / 65535.0 + 0.5); diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/types/annotations/EnumValue.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/types/annotations/EnumValue.java index 057a41a01..bf424102d 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/types/annotations/EnumValue.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/types/annotations/EnumValue.java @@ -35,19 +35,21 @@ public @interface EnumValue { /** * Value. * - * @return + * @return Value */ int value(); /** * Description. * - * @return + * @return Description */ String text(); /** * Minimum SWF version. TODO: check in generic tag editor + * + * @return Minimum SWF version */ int minSwfVersion() default 1; } diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/types/annotations/Table.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/types/annotations/Table.java index 861cd14eb..721ee82a1 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/types/annotations/Table.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/types/annotations/Table.java @@ -33,14 +33,14 @@ public @interface Table { /** * Table name. * - * @return + * @return Table name */ String value(); /** * One item name. * - * @return + * @return One item name */ String itemName() default ""; } diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/types/gfx/GFxInputStream.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/types/gfx/GFxInputStream.java index e6aeed663..e4ced1df2 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/types/gfx/GFxInputStream.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/types/gfx/GFxInputStream.java @@ -93,9 +93,9 @@ public class GFxInputStream { /** * Reads one SI16 (Signed 16bit integer) value from the stream * - * @param name + * @param name Name * @return SI16 value - * @throws IOException + * @throws IOException On I/O error */ public int readSI16(String name) throws IOException { newDumpLevel(name, "SI16"); @@ -207,9 +207,9 @@ public class GFxInputStream { * Reads bytes from the stream * * @param count Number of bytes to read - * @param name + * @param name Name * @return Array of read bytes - * @throws IOException + * @throws IOException On I/O error */ public byte[] readBytes(long count, String name) throws IOException { if (count <= 0) { @@ -235,9 +235,9 @@ public class GFxInputStream { /** * Reads one string value from the stream * - * @param name + * @param name Name * @return String value - * @throws IOException + * @throws IOException On I/O error */ public String readString(String name) throws IOException { newDumpLevel(name, "string"); diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/types/gfx/GFxOutputStream.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/types/gfx/GFxOutputStream.java index 6bd01224d..1ce7c647d 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/types/gfx/GFxOutputStream.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/types/gfx/GFxOutputStream.java @@ -134,7 +134,7 @@ public class GFxOutputStream extends OutputStream { * Writes SI32 (Signed 32bit integer) value to the stream * * @param value SI32 value - * @throws IOException + * @throws IOException On I/O error */ public void writeSI32(long value) throws IOException { writeUI32(value); @@ -144,7 +144,7 @@ public class GFxOutputStream extends OutputStream { * Writes SI16 (Signed 16bit integer) value to the stream * * @param value SI16 value - * @throws IOException + * @throws IOException On I/O error */ public void writeSI16(int value) throws IOException { writeUI16(value); @@ -154,7 +154,7 @@ public class GFxOutputStream extends OutputStream { * Writes SI8 (Signed 8bit integer) value to the stream * * @param value SI8 value - * @throws IOException + * @throws IOException On I/O error */ public void writeSI8(int value) throws IOException { writeUI8(value); @@ -164,7 +164,7 @@ public class GFxOutputStream extends OutputStream { * Writes UI32 (Unsigned 32bit integer) value to the stream * * @param value UI32 value - * @throws IOException + * @throws IOException On I/O error */ public void writeUI32(long value) throws IOException { write((int) (value & 0xff)); @@ -177,7 +177,7 @@ public class GFxOutputStream extends OutputStream { * Writes UI16 (Unsigned 16bit integer) value to the stream * * @param value UI16 value - * @throws IOException + * @throws IOException On I/O error */ public void writeUI16(int value) throws IOException { write((int) (value & 0xff)); @@ -188,7 +188,7 @@ public class GFxOutputStream extends OutputStream { * Writes UI8 (Unsigned 8bit integer) value to the stream * * @param val UI8 value to write - * @throws IOException + * @throws IOException On I/O error */ public void writeUI8(int val) throws IOException { write(val & 0xff); @@ -198,7 +198,7 @@ public class GFxOutputStream extends OutputStream { * Writes FLOAT (single precision floating point value) value to the stream * * @param value FLOAT value - * @throws IOException + * @throws IOException On I/O error */ public void writeFLOAT(float value) throws IOException { writeUI32(Float.floatToIntBits(value)); diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/xfl/XFLConverter.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/xfl/XFLConverter.java index bee0ee978..6e5f9a56e 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/xfl/XFLConverter.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/xfl/XFLConverter.java @@ -4564,19 +4564,19 @@ public class XFLConverter { /** * Converts SWF to FLA/XFL * - * @param handler - * @param swf - * @param swfFileName - * @param outfile - * @param settings - * @param generator - * @param generatorVerName - * @param generatorVersion - * @param parallel - * @param flaVersion - * @param progressListener - * @throws IOException - * @throws InterruptedException + * @param handler AbortRetryIgnoreHandler + * @param swf SWF to convert + * @param swfFileName SWF file name + * @param outfile Output file name + * @param settings Export settings + * @param generator Generator name + * @param generatorVerName Generator version name + * @param generatorVersion Generator version + * @param parallel Parallel conversion + * @param flaVersion FLA version + * @param progressListener Progress listener + * @throws IOException On I/O error + * @throws InterruptedException On interrupt */ public void convertSWF(AbortRetryIgnoreHandler handler, SWF swf, String swfFileName, String outfile, XFLExportSettings settings, String generator, String generatorVerName, String generatorVersion, boolean parallel, FLAVersion flaVersion, ProgressListener progressListener) throws IOException, InterruptedException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/xfl/shapefixer/MorphShapeFixer.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/xfl/shapefixer/MorphShapeFixer.java index 49cc7cb4c..5fe3d4fd9 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/xfl/shapefixer/MorphShapeFixer.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/xfl/shapefixer/MorphShapeFixer.java @@ -46,16 +46,16 @@ public class MorphShapeFixer extends ShapeFixer { /** * Hook from base ShapeFixer * - * @param shapeNum - * @param shapes - * @param fillStyles0 - * @param fillStyles1 - * @param lineStyles - * @param layers - * @param baseFillStyles - * @param baseLineStyles - * @param fillStyleLayers - * @param lineStyleLayers + * @param shapeNum Shape number (1 = DefineMorphShape, 2 = DefineMorphShape2) + * @param shapes Shapes + * @param fillStyles0 Fill styles 0 + * @param fillStyles1 Fill styles 1 + * @param lineStyles Line styles + * @param layers Layers + * @param baseFillStyles Base fill styles + * @param baseLineStyles Base line styles + * @param fillStyleLayers Fill style layers + * @param lineStyleLayers Line style layers */ @Override protected void beforeHandle(int shapeNum, List> shapes, List fillStyles0, List fillStyles1, List lineStyles, List layers, FILLSTYLEARRAY baseFillStyles, LINESTYLEARRAY baseLineStyles, List fillStyleLayers, List lineStyleLayers) { @@ -71,11 +71,11 @@ public class MorphShapeFixer extends ShapeFixer { * shape 1 [FS0:A, FS1:-, LS:n], shape 2 [FS0:-, FS1:B, LS:n] => shape 1 * [FS0:A, FS1:B], remove shape 2 * - * @param shapes - * @param fillStyles0 - * @param fillStyles1 - * @param lineStyles - * @param layers + * @param shapes Shapes + * @param fillStyles0 Fill styles 0 + * @param fillStyles1 Fill styles 1 + * @param lineStyles Line styles + * @param layers Layers */ private void mergeSamePathsWithOppositeFillstyles( List> shapes, @@ -420,15 +420,15 @@ public class MorphShapeFixer extends ShapeFixer { * Merges similar paths. This happens in morphshapes when one shape is * transformed into multiple shapes. * - * @param shapeNum - * @param shapes - * @param fillStyles0 - * @param lineStyles - * @param layers - * @param baseFillStyles - * @param baseLineStyles - * @param fillStyleLayers - * @param lineStyleLayers + * @param shapeNum Shape number (1 = DefineMorphShape, 2 = DefineMorphShape2) + * @param shapes Shapes + * @param fillStyles0 Fill styles 0 + * @param lineStyles Fill styles 1 + * @param layers Layers + * @param baseFillStyles Base fill styles + * @param baseLineStyles Base line styles + * @param fillStyleLayers Fill style layers + * @param lineStyleLayers Line style layers */ private void mergeSimilar( int shapeNum, @@ -603,7 +603,7 @@ public class MorphShapeFixer extends ShapeFixer { } /** - * @param shapes + * @param shapes Shapes */ private void removeEmptyEdges(List> shapes) { for (int i = 0; i < shapes.size(); i++) { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/graph/DottedChain.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/graph/DottedChain.java index 997364d3b..b83a4a4f8 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/graph/DottedChain.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/graph/DottedChain.java @@ -286,7 +286,7 @@ public class DottedChain implements Serializable, Comparable { * Gets the sub-chain of specific length. * * @param count Length - * @return + * @return Sub-chain */ public DottedChain subChain(int count) { if (count > parts.size()) { @@ -599,11 +599,6 @@ public class DottedChain implements Serializable, Comparable { this.namespaceSuffix = namespaceSuffix; } - /** - * Hash code. - * - * @return - */ @Override public int hashCode() { int hash = 5; @@ -613,12 +608,6 @@ public class DottedChain implements Serializable, Comparable { return hash; } - /** - * Equals. - * - * @param obj Object - * @return Whether this object is equal to the given object - */ @Override public boolean equals(Object obj) { if (this == obj) { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/graph/Graph.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/graph/Graph.java index 794d0fb46..9c17751b8 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/graph/Graph.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/graph/Graph.java @@ -1515,7 +1515,7 @@ public class Graph { /** * Expands gotos. * - * @param list + * @param list List of GraphTargetItems */ private void expandGotos(List list) { if (!list.isEmpty() && (list.get(list.size() - 1) instanceof GotoItem)) { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/graph/GraphPart.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/graph/GraphPart.java index 0d85a463e..626fa24d0 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/graph/GraphPart.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/graph/GraphPart.java @@ -141,7 +141,7 @@ public class GraphPart implements Serializable { * @param throwStates Throw states * @param useThrow Use throw * @return True if this part leads to the other part - * @throws InterruptedException + * @throws InterruptedException On interrupt */ private boolean leadsTo(BaseLocalData localData, Graph gr, GraphSource code, GraphPart prev, GraphPart part, HashSet visited, List loops, List throwStates, boolean useThrow) throws InterruptedException { if (Thread.currentThread().isInterrupted()) { @@ -223,7 +223,7 @@ public class GraphPart implements Serializable { * @param throwStates Throw states * @param useThrow Use throw * @return True if this part leads to the other part - * @throws InterruptedException + * @throws InterruptedException On interrupt */ public boolean leadsTo(BaseLocalData localData, Graph gr, GraphSource code, GraphPart part, List loops, List throwStates, boolean useThrow) throws InterruptedException { for (Loop l : loops) { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/graph/GraphPartMarkedArrayList.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/graph/GraphPartMarkedArrayList.java index af5d26ae1..276febe2c 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/graph/GraphPartMarkedArrayList.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/graph/GraphPartMarkedArrayList.java @@ -41,7 +41,7 @@ public class GraphPartMarkedArrayList extends ArrayList { /** * Constructs GraphPartMarkedArrayList from another collection. * - * @param collection + * @param collection Collection */ @SuppressWarnings("unchecked") public GraphPartMarkedArrayList(Collection collection) { @@ -117,8 +117,8 @@ public class GraphPartMarkedArrayList extends ArrayList { /** * Gets the index of the part in the list. * - * @param part - * @return + * @param part Part + * @return Index of the part in the list */ public int indexOfPart(GraphPart part) { for (int i = 0; i < listParts.size(); i++) { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/graph/GraphPartQueue.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/graph/GraphPartQueue.java index 39188c7ee..3515dbc57 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/graph/GraphPartQueue.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/graph/GraphPartQueue.java @@ -32,7 +32,7 @@ public class GraphPartQueue extends LinkedList { * Constructs a GraphPartQueue containing the elements of the specified * collection. * - * @param c + * @param c Collection */ public GraphPartQueue(Collection c) { super(c); diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/graph/GraphPath.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/graph/GraphPath.java index 912dcc937..813fa5a9d 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/graph/GraphPath.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/graph/GraphPath.java @@ -79,7 +79,7 @@ public class GraphPath implements Serializable { /** * Checks whether the path starts with the given path. * - * @param p + * @param p Path * @return True if the path starts with the given path, false otherwise */ public boolean startsWith(GraphPath p) { @@ -105,7 +105,7 @@ public class GraphPath implements Serializable { * Returns a new parent GraphPath with the given length. * * @param len Length - * @return + * @return New parent GraphPath */ public GraphPath parent(int len) { GraphPath par = new GraphPath(rootName); @@ -169,11 +169,6 @@ public class GraphPath implements Serializable { return branchIps.get(index); } - /** - * Hash code. - * - * @return Hash code - */ @Override public int hashCode() { int hash = 5; @@ -183,12 +178,6 @@ public class GraphPath implements Serializable { return hash; } - /** - * Equals. - * - * @param obj Eq - * @return - */ @Override public boolean equals(Object obj) { if (obj == null) { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/graph/MarkItem.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/graph/MarkItem.java index c24c4c602..ba2984b25 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/graph/MarkItem.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/graph/MarkItem.java @@ -47,7 +47,7 @@ public class MarkItem extends GraphTargetItem { * * @param writer Writer * @param localData Local data - * @return + * @return Writer */ @Override public GraphTextWriter appendTo(GraphTextWriter writer, LocalData localData) { @@ -57,7 +57,7 @@ public class MarkItem extends GraphTargetItem { /** * Gets the mark string. * - * @return + * @return Mark string */ public String getMark() { return mark; diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/graph/NotCompileTimeItem.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/graph/NotCompileTimeItem.java index 2f2e67b3e..53328ef11 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/graph/NotCompileTimeItem.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/graph/NotCompileTimeItem.java @@ -74,7 +74,7 @@ public class NotCompileTimeItem extends GraphTargetItem { * @param writer Writer * @param localData Local data * @return Writer - * @throws InterruptedException + * @throws InterruptedException On interrupt */ @Override public GraphTextWriter appendTo(GraphTextWriter writer, LocalData localData) throws InterruptedException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/graph/TypeFunctionItem.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/graph/TypeFunctionItem.java index ce9629fc0..f2f44e3c0 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/graph/TypeFunctionItem.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/graph/TypeFunctionItem.java @@ -86,7 +86,7 @@ public class TypeFunctionItem extends GraphTargetItem { * @param writer Writer * @param localData Local data * @return Writer - * @throws InterruptedException + * @throws InterruptedException On interrupt */ @Override public GraphTextWriter appendTo(GraphTextWriter writer, LocalData localData) throws InterruptedException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/graph/TypeItem.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/graph/TypeItem.java index a64ed21cb..ab553bb2b 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/graph/TypeItem.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/graph/TypeItem.java @@ -156,7 +156,7 @@ public class TypeItem extends GraphTargetItem { * @param writer Writer * @param localData Local data * @return Writer - * @throws InterruptedException + * @throws InterruptedException On interrupt */ @Override public GraphTextWriter appendTo(GraphTextWriter writer, LocalData localData) throws InterruptedException { @@ -207,7 +207,7 @@ public class TypeItem extends GraphTargetItem { * @param localData Local data * @param generator Source generator * @return List of graph source items - * @throws CompilationException + * @throws CompilationException On compilation error */ @Override public List toSource(SourceGeneratorLocalData localData, SourceGenerator generator) throws CompilationException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/helpers/Helper.java b/libsrc/ffdec_lib/src/com/jpexs/helpers/Helper.java index bf5daebb3..f9a05dcf7 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/helpers/Helper.java +++ b/libsrc/ffdec_lib/src/com/jpexs/helpers/Helper.java @@ -1668,7 +1668,7 @@ public class Helper { /** * Formats double value (removes .0 from end) * - * @param d + * @param d Double value * @return String */ public static String doubleStr(double d) { diff --git a/libsrc/ffdec_lib/src/com/jpexs/helpers/Searchable.java b/libsrc/ffdec_lib/src/com/jpexs/helpers/Searchable.java index e55174c73..cd9b31566 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/helpers/Searchable.java +++ b/libsrc/ffdec_lib/src/com/jpexs/helpers/Searchable.java @@ -29,7 +29,7 @@ public interface Searchable { /** * Searches for byte sequences * - * @param data + * @param data Data * @return Map Position=>Input stream */ public Map search(byte[]... data); @@ -38,7 +38,7 @@ public interface Searchable { * Searches for byte sequences with progress listener * * @param progListener Listener - * @param data + * @param data Data * @return Map Position=>Input stream */ public Map search(ProgressListener progListener, byte[]... data); diff --git a/libsrc/ffdec_lib/src/com/jpexs/helpers/plugin/CharSequenceJavaFileObject.java b/libsrc/ffdec_lib/src/com/jpexs/helpers/plugin/CharSequenceJavaFileObject.java index 3cf305381..c55f354b9 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/helpers/plugin/CharSequenceJavaFileObject.java +++ b/libsrc/ffdec_lib/src/com/jpexs/helpers/plugin/CharSequenceJavaFileObject.java @@ -49,8 +49,8 @@ public class CharSequenceJavaFileObject extends SimpleJavaFileObject { * Answers the CharSequence to be compiled. It will give the source code * stored in variable "content" * - * @param ignoreEncodingErrors - * @return + * @param ignoreEncodingErrors Ignore encoding errors + * @return CharSequence */ @Override public CharSequence getCharContent(boolean ignoreEncodingErrors) { diff --git a/libsrc/ffdec_lib/src/com/jpexs/helpers/plugin/JavaClassObject.java b/libsrc/ffdec_lib/src/com/jpexs/helpers/plugin/JavaClassObject.java index 1a8cb7d2c..a05aeab29 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/helpers/plugin/JavaClassObject.java +++ b/libsrc/ffdec_lib/src/com/jpexs/helpers/plugin/JavaClassObject.java @@ -63,8 +63,8 @@ public class JavaClassObject extends SimpleJavaFileObject { * array. This way the compiler will write everything into the byte array * that we will instantiate later * - * @return - * @throws java.io.IOException + * @return Output stream + * @throws IOException On I/O error */ @Override public OutputStream openOutputStream() throws IOException { diff --git a/libsrc/ffdec_lib/src/com/jpexs/helpers/utf8/charset/Gb18030.java b/libsrc/ffdec_lib/src/com/jpexs/helpers/utf8/charset/Gb18030.java index 8d9516f1d..bfb04c9be 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/helpers/utf8/charset/Gb18030.java +++ b/libsrc/ffdec_lib/src/com/jpexs/helpers/utf8/charset/Gb18030.java @@ -90,10 +90,6 @@ public class Gb18030 extends AbstractCharsetConverter { } } - /** - * @param codepoint - * @return - */ @Override public int toUnicode(int codepoint) { int result = 0;