Package org.rsbot.loader.asm

Examples of org.rsbot.loader.asm.AnnotationVisitor


        end,
        index);
  }

  public AnnotationVisitor visitAnnotation(String desc, boolean visible) {
    AnnotationVisitor av = mv.visitAnnotation(remapper.mapDesc(desc), visible);
    return av == null ? av : new RemappingAnnotationAdapter(av, remapper);
  }


    AnnotationVisitor av = mv.visitAnnotation(remapper.mapDesc(desc), visible);
    return av == null ? av : new RemappingAnnotationAdapter(av, remapper);
  }

  public AnnotationVisitor visitAnnotationDefault() {
    AnnotationVisitor av = mv.visitAnnotationDefault();
    return av == null ? av : new RemappingAnnotationAdapter(av, remapper);
  }

  public AnnotationVisitor visitParameterAnnotation(
      int parameter,
      String desc,
      boolean visible) {
    AnnotationVisitor av = mv.visitParameterAnnotation(parameter,
        remapper.mapDesc(desc),
        visible);
    return av == null ? av : new RemappingAnnotationAdapter(av, remapper);
  }

    this.fv = fv;
    this.remapper = remapper;
  }

  public AnnotationVisitor visitAnnotation(String desc, boolean visible) {
    AnnotationVisitor av = fv.visitAnnotation(remapper.mapDesc(desc), visible);
    return av == null ? null : new RemappingAnnotationAdapter(av, remapper);
  }

  public void visitEnum(String name, String desc, String value) {
    av.visitEnum(name, renamer.mapDesc(desc), value);
  }

  public AnnotationVisitor visitAnnotation(String name, String desc) {
    AnnotationVisitor v = av.visitAnnotation(name, renamer.mapDesc(desc));
    return v == null ? null : (v == av
        ? this
        : new RemappingAnnotationAdapter(v, renamer));
  }

        ? this
        : new RemappingAnnotationAdapter(v, renamer));
  }

  public AnnotationVisitor visitArray(String name) {
    AnnotationVisitor v = av.visitArray(name);
    return v == null ? null : (v == av
        ? this
        : new RemappingAnnotationAdapter(v, renamer));
  }

TOP

Related Classes of org.rsbot.loader.asm.AnnotationVisitor

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.