Type[] args = Type.getArgumentTypes(desc);
if(args.length>0 && args[args.length-1].equals(ITypeInternalName.CONTEXT))
return new RemoteMethodTransformer(originalMethod, className, name, desc);
else
return new MethodAdapter(originalMethod){
@Override
public AnnotationVisitor visitAnnotation(String desc, boolean visible) {
if(desc.equals(ITypeInternalName.REMOTE))
return null;
return super.visitAnnotation(desc, visible);