Skip to content

Commit

Permalink
Add field to test
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent Rasquier committed Dec 14, 2017
1 parent fc95a96 commit 3dd9c42
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ func main() {
OnVisit: func(version, access int, name, signature, superName string, interfaces []string) {
fmt.Println(name, signature, superName, interfaces)
},
OnVisitField: func(access int, name, descriptor, signature string, value interface{}) asm.FieldVisitor {
fmt.Println(name)
return nil
},
OnVisitMethod: func(access int, name, descriptor, signature string, exceptions []string) asm.MethodVisitor {
fmt.Println(name)
return nil
Expand Down

0 comments on commit 3dd9c42

Please sign in to comment.