private String generateFilename ( ) { String counter = "" ; if ( capabilities . getInstance ( ) > 0 ) { counter = "_" + capabilities . getInstance ( ) ; } return test + counter ; }
Generates a unique filename based on the package class method name and invocation count