
return options.get(optionName);
</BUG>
}
<BUG>@Nullable
public static PantsOptions getPantsOptions(final Project myProject) {

VirtualFile pantsExecutable = PantsUtil.findPantsExecutable(myProject);
if (pantsExecutable == null) {
return null;
}
return getPantsOptions(pantsExecutable.getPath());</BUG>
}

options = parseOptions(rawOutput);
}
public boolean has(String optionName) {
return options.containsKey(optionName);
}
public Optional<String> get(String optionName) {
return Optional.ofNullable(options.get(optionName));
}
public static Optional<PantsOptions> getPantsOptions(final Project myProject) {
return PantsUtil.findPantsExecutable(myProject).map(file -> getPantsOptions(file.getPath()));
}
