ActivationFile (MavenProfileActivationFile file) { if (file == null) return null; ActivationFile result = new ActivationFile(); result.setExists(file.getExists()); result.setMissing(file.getMissing()); return result; }