mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-27 21:31:05 +00:00
some warnings fixed
This commit is contained in:
@@ -386,7 +386,7 @@ public class Action implements GraphSourceItem {
|
||||
* @param list List of actions
|
||||
* @param importantOffsets List of important offsets to mark as labels
|
||||
* @param version SWF version
|
||||
* @param hex Add hexadecimal?
|
||||
* @param exportMode PCode or hex?
|
||||
* @param swfPos
|
||||
* @param path
|
||||
* @return HilightedTextWriter
|
||||
@@ -599,7 +599,7 @@ public class Action implements GraphSourceItem {
|
||||
* @param knownAddreses List of important offsets to mark as labels
|
||||
* @param constantPool Constant pool
|
||||
* @param version SWF version
|
||||
* @param hex Add hexadecimal
|
||||
* @param exportMode PCode or hex?
|
||||
* @return String of P-code source
|
||||
*/
|
||||
public String getASMSource(List<? extends GraphSourceItem> container, List<Long> knownAddreses, List<String> constantPool, int version, ExportMode exportMode) {
|
||||
@@ -696,7 +696,6 @@ public class Action implements GraphSourceItem {
|
||||
* @param actions List of actions
|
||||
* @param version SWF version
|
||||
* @param path
|
||||
* @return String with Source code
|
||||
*/
|
||||
public static void actionsToSource(ASMSource asm, final List<Action> actions, final int version, final String path, GraphTextWriter writer) {
|
||||
writer.suspendMeasure();
|
||||
|
||||
@@ -39,10 +39,10 @@ public class GraphTextWriter {
|
||||
}
|
||||
|
||||
/**
|
||||
* Highlights specified text as instruction by adding special tags
|
||||
* Highlights specified text as instruction
|
||||
*
|
||||
* @param offset Offset of instruction
|
||||
* @return HilightedTextWriter
|
||||
* @param pos Offset of instruction
|
||||
* @return GraphTextWriter
|
||||
*/
|
||||
public GraphTextWriter startOffset(GraphSourceItem src, int pos) {
|
||||
return this;
|
||||
@@ -53,10 +53,10 @@ public class GraphTextWriter {
|
||||
}
|
||||
|
||||
/**
|
||||
* Highlights specified text as method by adding special tags
|
||||
* Highlights specified text as method
|
||||
*
|
||||
* @param index MethodInfo index
|
||||
* @return HilightedTextWriter
|
||||
* @return GraphTextWriter
|
||||
*/
|
||||
public GraphTextWriter startMethod(long index) {
|
||||
return this;
|
||||
@@ -67,10 +67,10 @@ public class GraphTextWriter {
|
||||
}
|
||||
|
||||
/**
|
||||
* Highlights specified text as class by adding special tags
|
||||
* Highlights specified text as class
|
||||
*
|
||||
* @param index Class index
|
||||
* @return HilightedTextWriter
|
||||
* @return GraphTextWriter
|
||||
*/
|
||||
public GraphTextWriter startClass(long index) {
|
||||
return this;
|
||||
@@ -81,10 +81,10 @@ public class GraphTextWriter {
|
||||
}
|
||||
|
||||
/**
|
||||
* Highlights specified text as trait by adding special tags
|
||||
* Highlights specified text as trait
|
||||
*
|
||||
* @param index Trait index
|
||||
* @return HilightedTextWriter
|
||||
* @return GraphTextWriter
|
||||
*/
|
||||
public GraphTextWriter startTrait(long index) {
|
||||
return this;
|
||||
|
||||
@@ -65,7 +65,7 @@ public class HilightedTextWriter extends GraphTextWriter {
|
||||
/**
|
||||
* Highlights specified text as instruction by adding special tags
|
||||
*
|
||||
* @param offset Offset of instruction
|
||||
* @param pos Offset of instruction
|
||||
* @return HilightedTextWriter
|
||||
*/
|
||||
@Override
|
||||
|
||||
@@ -126,7 +126,6 @@ public class Highlighting implements Serializable {
|
||||
/**
|
||||
*
|
||||
* @param startPos Starting position
|
||||
* @param len Length of highlighted text
|
||||
* @param data Highlighting data
|
||||
* @param type Highlighting type
|
||||
*/
|
||||
|
||||
@@ -33,7 +33,7 @@ public interface ASMSource {
|
||||
* Converts actions to ASM source
|
||||
*
|
||||
* @param version SWF version
|
||||
* @param hex Add hexadecimal?
|
||||
* @param exportMode PCode or hex?
|
||||
* @return ASM source
|
||||
*/
|
||||
public GraphTextWriter getASMSource(int version, ExportMode exportMode, GraphTextWriter writer, List<Action> actions);
|
||||
|
||||
Reference in New Issue
Block a user