Optional<String> jarRoot(){
  return Optional.ofNullable(jarRoot);
}

Optional < String > jarRoot ( ) { return Optional . ofNullable ( jarRoot ) ; }
returns the path to the root directory of a web application inside a jar / war .
