boolean (StandardJavaFileManager fileManager, String locationId) { final JavaFileManager.Location location = StandardLocation.locationFor(locationId); return location != null && fileManager.hasLocation(location); }