Use MethodNode instead of MethodVisitor