From 80354aa600f7bc87029a0aa26f7a384f222638ea Mon Sep 17 00:00:00 2001 From: Vincent Rasquier Date: Fri, 15 Dec 2017 13:10:26 +0100 Subject: [PATCH] Remove useless lines in main --- main.go | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/main.go b/main.go index 54c7cf3..dc048b6 100644 --- a/main.go +++ b/main.go @@ -28,19 +28,12 @@ func main() { } reader.Accept(&helper.ClassVisitor{ - OnVisit: func(version, access int, name, signature, superName string, interfaces []string) { - }, - OnVisitField: func(access int, name, descriptor, signature string, value interface{}) asm.FieldVisitor { - return nil - }, OnVisitMethod: func(access int, name, descriptor, signature string, exceptions []string) asm.MethodVisitor { return &helper.MethodVisitor{ OnVisitLineNumber: func(line int, start *asm.Label) { - fmt.Println(line) + fmt.Println(name, line) }, } }, - OnVisitEnd: func() { - }, }, 0) }