@ Override public void visit ( ClassOrInterfaceDeclaration declaration , ControllerModel controller ) { controller . setName ( declaration . getName ( ) ) ; LOGGER . info ( "[controller]Visit " + controller . getName ( ) ) ; //Go on with the methods and annotations super . visit ( declaration , controller ) ; }
Visit the class declaration this is the visitor entry point!