@ Override public void visitClassContext ( ClassContext classContext ) { try { queryLocations = new ArrayList <> ( ) ; loops = new ArrayList <> ( ) ; super . visitClassContext ( classContext ) ; } finally { queryLocations = null ; loops = null ; } }
implements the visitor to create and clear the query locations and loops collections