private static Object generateKey(final Object[] args){
  if (args == null)   return Collections.emptyList();
  Object[] copyOfArgs=copyOf(args,args.length);
  return asList(copyOfArgs);
}

private static Object generateKey ( final Object [ ] args ) { if ( args == null ) return Collections . emptyList ( ) ; Object [ ] copyOfArgs = copyOf ( args , args . length ) ; return asList ( copyOfArgs ) ; }
creates a key to use in the memoize cache
