mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-05 04:40:28 +07:00
[java-rd] IDEA-339292 Move setting to fronback part to make them available for remote dev
Merge-request: IJ-MR-121171 Merged-by: Mikhail Pyltsin <Mikhail.Pyltsin@jetbrains.com> GitOrigin-RevId: ae28b85856cb723e7b51bea3e3cbef91e6de634d
This commit is contained in:
committed by
intellij-monorepo-bot
parent
8a5d6b6b75
commit
2e1c6343f2
@@ -0,0 +1,24 @@
|
||||
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.psi.codeStyle;
|
||||
|
||||
import com.intellij.openapi.project.Project;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
public final class JavaCodeStyleSettingsFacadeImpl extends JavaCodeStyleSettingsFacade {
|
||||
private final CodeStyleSettingsManager myManager;
|
||||
|
||||
public JavaCodeStyleSettingsFacadeImpl(@NotNull Project project) {
|
||||
myManager = CodeStyleSettingsManager.getInstance(project);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean useFQClassNames() {
|
||||
return myManager.getCurrentSettings().getCustomSettings(JavaCodeStyleSettings.class).USE_FQ_CLASS_NAMES;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isGenerateFinalParameters() {
|
||||
return myManager.getCurrentSettings().getCustomSettings(JavaCodeStyleSettings.class).GENERATE_FINAL_PARAMETERS;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user