Exemplo n.º 1
0
 /// <summary>
 ///     Constructs a new
 ///     <see cref="AnnotationRemapper" />
 ///     .
 /// </summary>
 /// <param name="api">
 ///     the ASM API version supported by this remapper. Must be one of
 ///     <see cref="Opcodes.Asm4" />
 ///     ,
 ///     <see cref="Opcodes.Asm5" />
 ///     or
 ///     <see cref="Opcodes.Asm6" />
 ///     .
 /// </param>
 /// <param name="annotationVisitor">
 ///     the annotation visitor this remapper must deleted to.
 /// </param>
 /// <param name="remapper">
 ///     the remapper to use to remap the types in the visited annotation.
 /// </param>
 protected internal AnnotationRemapper(VisitorAsmApiVersion api, AnnotationVisitor annotationVisitor
                                       , Remapper remapper)
     : base(api, annotationVisitor)
 {
     /* latest api = */
     this.remapper = remapper;
 }
Exemplo n.º 2
0
 /// <summary>
 ///     Constructs a new
 ///     <see cref="FieldRemapper" />
 ///     .
 /// </summary>
 /// <param name="api">
 ///     the ASM API version supported by this remapper. Must be one of
 ///     <see cref="Org.Objectweb.Asm.Opcodes.Asm4" />
 ///     ,
 ///     <see cref="Org.Objectweb.Asm.Opcodes.Asm5" />
 ///     or
 ///     <see cref="Org.Objectweb.Asm.Opcodes.Asm6" />
 ///     .
 /// </param>
 /// <param name="fieldVisitor">the field visitor this remapper must deleted to.</param>
 /// <param name="remapper">
 ///     the remapper to use to remap the types in the visited field.
 /// </param>
 protected internal FieldRemapper(VisitorAsmApiVersion api, FieldVisitor fieldVisitor, Remapper remapper
                                  )
     : base(api, fieldVisitor)
 {
     /* latest api = */
     this.remapper = remapper;
 }
Exemplo n.º 3
0
 /// <summary>
 ///     Constructs a new
 ///     <see cref="ModuleRemapper" />
 ///     .
 /// </summary>
 /// <param name="api">
 ///     the ASM API version supported by this remapper. Must be one of
 ///     <see cref="Opcodes.Asm4" />
 ///     ,
 ///     <see cref="Opcodes.Asm5" />
 ///     or
 ///     <see cref="Opcodes.Asm6" />
 ///     .
 /// </param>
 /// <param name="moduleVisitor">the module visitor this remapper must deleted to.</param>
 /// <param name="remapper">
 ///     the remapper to use to remap the types in the visited module.
 /// </param>
 protected internal ModuleRemapper(VisitorAsmApiVersion api, ModuleVisitor moduleVisitor, Remapper
                                   remapper)
     : base(api, moduleVisitor)
 {
     /* latest api = */
     this.remapper = remapper;
 }
Exemplo n.º 4
0
 /// <summary>
 ///     Constructs a new
 ///     <see cref="ClassRemapper" />
 ///     .
 /// </summary>
 /// <param name="api">
 ///     the ASM API version supported by this remapper. Must be one of
 ///     <see cref="Opcodes.Asm4" />
 ///     ,
 ///     <see cref="Opcodes.Asm5" />
 ///     ,
 ///     <see cref="Opcodes.Asm6" />
 ///     or
 ///     <see cref="Opcodes.Asm7" />
 ///     .
 /// </param>
 /// <param name="classVisitor">the class visitor this remapper must deleted to.</param>
 /// <param name="remapper">
 ///     the remapper to use to remap the types in the visited class.
 /// </param>
 protected internal ClassRemapper(VisitorAsmApiVersion api, ClassVisitor classVisitor, Remapper remapper
                                  )
     : base(api, classVisitor)
 {
     /* latest api = */
     this.remapper = remapper;
 }
Exemplo n.º 5
0
 /// <summary>
 ///     Constructs a new
 ///     <see cref="RecordComponentRemapper" />
 ///     .
 /// </summary>
 /// <param name="api">
 ///     the ASM API version supported by this remapper. Must be
 ///     <see cref="Opcodes.Asm8_Experimental" />
 ///     .
 /// </param>
 /// <param name="recordComponentVisitor">
 ///     the record component visitor this remapper must delegate to.
 /// </param>
 /// <param name="remapper">
 ///     the remapper to use to remap the types in the visited record component.
 /// </param>
 protected internal RecordComponentRemapper(VisitorAsmApiVersion api, RecordComponentVisitor recordComponentVisitor
                                            , Remapper remapper)
     : base(api, recordComponentVisitor)
 {
     /* latest api = */
     this.remapper = remapper;
 }
Exemplo n.º 6
0
 /// <summary>
 ///     Constructs a new
 ///     <see cref="MethodRemapper" />
 ///     .
 /// </summary>
 /// <param name="api">
 ///     the ASM API version supported by this remapper. Must be one of
 ///     <see cref="Org.Objectweb.Asm.Opcodes.Asm4" />
 ///     ,
 ///     <see cref="Org.Objectweb.Asm.Opcodes.Asm5" />
 ///     or
 ///     <see cref="Org.Objectweb.Asm.Opcodes.Asm6" />
 ///     .
 /// </param>
 /// <param name="methodVisitor">the method visitor this remapper must deleted to.</param>
 /// <param name="remapper">
 ///     the remapper to use to remap the types in the visited method.
 /// </param>
 protected internal MethodRemapper(VisitorAsmApiVersion api, MethodVisitor methodVisitor, Remapper
     remapper)
     : base(api, methodVisitor)
 {
     /* latest api = */
     this.remapper = remapper;
 }
Exemplo n.º 7
0
 /// <summary>
 ///     Constructs a new
 ///     <see cref="SignatureRemapper" />
 ///     .
 /// </summary>
 /// <param name="api">
 ///     the ASM API version supported by this remapper. Must be one of
 ///     <see cref="Org.Objectweb.Asm.Opcodes.Asm4" />
 ///     ,
 ///     <see cref="Org.Objectweb.Asm.Opcodes.Asm5" />
 ///     or
 ///     <see cref="Org.Objectweb.Asm.Opcodes.Asm6" />
 ///     .
 /// </param>
 /// <param name="signatureVisitor">
 ///     the signature visitor this remapper must deleted to.
 /// </param>
 /// <param name="remapper">
 ///     the remapper to use to remap the types in the visited signature.
 /// </param>
 protected internal SignatureRemapper(VisitorAsmApiVersion api, SignatureVisitor signatureVisitor,
                                      Remapper remapper)
     : base(api)
 {
     /* latest api = */
     this.signatureVisitor = signatureVisitor;
     this.remapper         = remapper;
 }
Exemplo n.º 8
0
 /// <summary>
 ///     Constructs a new
 ///     <see cref="AnnotationRemapper" />
 ///     . <i>Subclasses must not use this constructor</i>.
 ///     Instead, they must use the
 ///     <see cref="AnnotationRemapper(VisitorAsmApiVersion, AnnotationVisitor, Remapper)
 ///     " />
 ///     version.
 /// </summary>
 /// <param name="annotationVisitor">
 ///     the annotation visitor this remapper must deleted to.
 /// </param>
 /// <param name="remapper">
 ///     the remapper to use to remap the types in the visited annotation.
 /// </param>
 public AnnotationRemapper(AnnotationVisitor annotationVisitor, Remapper remapper)
     : this(VisitorAsmApiVersion.Asm7, annotationVisitor, remapper)
 {
 }
Exemplo n.º 9
0
 /// <summary>
 ///     Constructs a new
 ///     <see cref="SignatureRemapper" />
 ///     . <i>Subclasses must not use this constructor</i>.
 ///     Instead, they must use the
 ///     <see cref="SignatureRemapper(int, Org.Objectweb.Asm.Signature.SignatureVisitor, Remapper)
 ///     " />
 ///     version.
 /// </summary>
 /// <param name="signatureVisitor">
 ///     the signature visitor this remapper must deleted to.
 /// </param>
 /// <param name="remapper">
 ///     the remapper to use to remap the types in the visited signature.
 /// </param>
 public SignatureRemapper(SignatureVisitor signatureVisitor, Remapper remapper)
     : this(VisitorAsmApiVersion.Asm7, signatureVisitor, remapper)
 {
 }
Exemplo n.º 10
0
 /// <summary>
 ///     Constructs a new
 ///     <see cref="FieldRemapper" />
 ///     . <i>Subclasses must not use this constructor</i>.
 ///     Instead, they must use the
 ///     <see cref="FieldRemapper(int,ObjectWeb.Asm.FieldVisitor,ObjectWeb.Asm.Commons.Remapper)" />
 ///     version.
 /// </summary>
 /// <param name="fieldVisitor">the field visitor this remapper must deleted to.</param>
 /// <param name="remapper">
 ///     the remapper to use to remap the types in the visited field.
 /// </param>
 public FieldRemapper(FieldVisitor fieldVisitor, Remapper remapper)
     : this(VisitorAsmApiVersion.Asm7, fieldVisitor, remapper)
 {
 }
Exemplo n.º 11
0
 /// <summary>
 ///     Constructs a new
 ///     <see cref="ClassRemapper" />
 ///     . <i>Subclasses must not use this constructor</i>.
 ///     Instead, they must use the
 ///     <see cref="ClassRemapper(int,ObjectWeb.Asm.ClassVisitor,ObjectWeb.Asm.Commons.Remapper)" />
 ///     version.
 /// </summary>
 /// <param name="classVisitor">the class visitor this remapper must deleted to.</param>
 /// <param name="remapper">
 ///     the remapper to use to remap the types in the visited class.
 /// </param>
 public ClassRemapper(ClassVisitor classVisitor, Remapper remapper)
     : this(VisitorAsmApiVersion.Asm7, classVisitor, remapper)
 {
 }
Exemplo n.º 12
0
 /// <summary>
 ///     Constructs a new
 ///     <see cref="ModuleRemapper" />
 ///     . <i>Subclasses must not use this constructor</i>.
 ///     Instead, they must use the
 ///     <see cref="ModuleRemapper(int,ObjectWeb.Asm.ModuleVisitor,ObjectWeb.Asm.Commons.Remapper)" />
 ///     version.
 /// </summary>
 /// <param name="moduleVisitor">the module visitor this remapper must deleted to.</param>
 /// <param name="remapper">
 ///     the remapper to use to remap the types in the visited module.
 /// </param>
 public ModuleRemapper(ModuleVisitor moduleVisitor, Remapper remapper)
     : this(VisitorAsmApiVersion.Asm7, moduleVisitor, remapper)
 {
 }
Exemplo n.º 13
0
 /// <summary>
 ///     Constructs a new
 ///     <see cref="RecordComponentRemapper" />
 ///     .
 ///     <i>
 ///         Subclasses must not use this
 ///         constructor
 ///     </i>
 ///     . Instead, they must use the
 ///     <see cref="RecordComponentRemapper(int, RecordComponentVisitor, Remapper)
 ///     " />
 ///     version.
 /// </summary>
 /// <param name="recordComponentVisitor">
 ///     the record component visitor this remapper must delegate to.
 /// </param>
 /// <param name="remapper">
 ///     the remapper to use to remap the types in the visited record component.
 /// </param>
 public RecordComponentRemapper(RecordComponentVisitor recordComponentVisitor, Remapper
                                remapper)
     : this(VisitorAsmApiVersion.Asm7, recordComponentVisitor, remapper)
 {
 }
Exemplo n.º 14
0
 /// <summary>
 ///     Constructs a new
 ///     <see cref="MethodRemapper" />
 ///     . <i>Subclasses must not use this constructor</i>.
 ///     Instead, they must use the
 ///     <see cref="MethodRemapper(int,ObjectWeb.Asm.MethodVisitor,ObjectWeb.Asm.Commons.Remapper)" />
 ///     version.
 /// </summary>
 /// <param name="methodVisitor">the method visitor this remapper must deleted to.</param>
 /// <param name="remapper">
 ///     the remapper to use to remap the types in the visited method.
 /// </param>
 public MethodRemapper(MethodVisitor methodVisitor, Remapper remapper)
     : this(VisitorAsmApiVersion.Asm7, methodVisitor, remapper)
 {
 }