예제 #1
0
        public override FieldVisitor VisitField(AccessFlags access, string name, string descriptor
                                                , string signature, object value)
        {
            var fieldVisitor = base.VisitField(access, remapper.MapFieldName(className
                                                                             , name, descriptor), remapper.MapDesc(descriptor), remapper.MapSignature(signature
                                                                                                                                                      , true), value == null ? null : remapper.MapValue(value));

            return(fieldVisitor == null ? null : CreateFieldRemapper(fieldVisitor));
        }
예제 #2
0
 public override void VisitFieldInsn(int opcode, string owner, string name, string
     descriptor)
 {
     base.VisitFieldInsn(opcode, remapper.MapType(owner), remapper.MapFieldName(owner,
         name, descriptor), remapper.MapDesc(descriptor));
 }