mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-26 00:20:46 +00:00
18 lines
507 B
Java
18 lines
507 B
Java
package com.jpexs.asdec.action.treemodel;
|
|
|
|
import com.jpexs.asdec.action.Action;
|
|
import com.jpexs.asdec.helpers.Helper;
|
|
|
|
public class GotoLabelTreeItem extends TreeItem {
|
|
public String label;
|
|
|
|
public GotoLabelTreeItem(Action instruction, String label) {
|
|
super(instruction, PRECEDENCE_PRIMARY);
|
|
this.label = label;
|
|
}
|
|
|
|
@Override
|
|
public String toString(ConstantPool constants) {
|
|
return "gotoAndStop(\"" + Helper.escapeString(label) + "\");";
|
|
}
|
|
} |