@ Override public void visitCode ( Code obj ) { if ( Values . STATIC_INITIALIZER . equals ( getMethod ( ) . getName ( ) ) ) { state = State . SAW_NOTHING ; super . visitCode ( obj ) ; } }
implements the visitor to look for static initializers to find enum generation