mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-25 10:50:47 +00:00
end ; trait only in p-code
This commit is contained in:
@@ -123,7 +123,7 @@ public class ASMSourceEditorPane extends DebuggableEditorPane implements CaretLi
|
||||
}
|
||||
MethodBody body = abc.bodies.get(bodyIndex);
|
||||
abc.bodies.get(bodyIndex).getCode().toASMSource(abc, abc.constants, abc.method_info.get(body.method_info), body, exportMode, writer);
|
||||
if (trait != null) {
|
||||
if (trait != null && exportMode != ScriptExportMode.AS && exportMode != ScriptExportMode.AS_METHOD_STUBS) {
|
||||
writer.unindent().appendNoHilight("end ; trait").newLine();
|
||||
}
|
||||
return new HighlightedText(writer);
|
||||
|
||||
Reference in New Issue
Block a user