private @NotNull JavaCodeStyleSettings getJavaSettings() {
    return CodeStyle.getSettings(myProject).getCustomSettings(JavaCodeStyleSettings.class);
  }
private @NotNull JavaCodeStyleSettings getJavaSettings()