Package org.objectweb.asm.tree

Examples of org.objectweb.asm.tree.LineNumberNode


      case -1:
        switch (args[0].toUpperCase()) {
          case "LINE":
          case "LINENUMBER":
            return new LineNumberNode(toint(args[1]), getLabelNode(toint(args[2])));// FIXME
          case "MULTIANEWARRAY":
            return new MultiANewArrayInsnNode(args[1], toint(args[2]));
          case "TABLESWITCH":
          case "SWITCH":
            return new TableSwitchInsnNode(toint(args[1]), toint(args[2]),
View Full Code Here


  @Override
    public LineNumberNode deserialize(JsonElement json, Type typeOfT, JsonDeserializationContext context) throws JsonParseException {
    JsonObject jsonObject = (JsonObject) json;
        int line = jsonObject.get("line").getAsInt();
        LabelNode start = context.deserialize(jsonObject.get("start"), LabelNode.class);
        return new LineNumberNode(line, start);
    }
View Full Code Here

TOP

Related Classes of org.objectweb.asm.tree.LineNumberNode

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.