annotations reformatted

This commit is contained in:
nik
2014-09-12 21:53:46 +04:00
parent 517fffe850
commit 12fc100bc8
27 changed files with 27 additions and 27 deletions
@@ -35,7 +35,7 @@ import java.util.List;
*/
@State(name = "ArtifactsWorkspaceSettings",
storages = {
@Storage( file = StoragePathMacros.WORKSPACE_FILE)
@Storage(file = StoragePathMacros.WORKSPACE_FILE)
})
public class ArtifactsWorkspaceSettings implements PersistentStateComponent<ArtifactsWorkspaceSettings.ArtifactsWorkspaceSettingsState> {
private ArtifactsWorkspaceSettingsState myState = new ArtifactsWorkspaceSettingsState();
@@ -23,7 +23,7 @@ import org.jetbrains.annotations.Nullable;
* @author Dmitry Avdeev
* Date: 10/9/12
*/
@State(name = "SelectProjectTemplateSettings", storages = {@Storage( file = StoragePathMacros.APP_CONFIG + "/other.xml")})
@State(name = "SelectProjectTemplateSettings", storages = {@Storage(file = StoragePathMacros.APP_CONFIG + "/other.xml")})
public class SelectTemplateSettings implements PersistentStateComponent<SelectTemplateSettings> {
public static SelectTemplateSettings getInstance() {
@@ -42,7 +42,7 @@ import java.util.*;
@State(
name = "EntryPointsManager",
storages = {@Storage( file = StoragePathMacros.PROJECT_FILE)}
storages = {@Storage(file = StoragePathMacros.PROJECT_FILE)}
)
public abstract class EntryPointsManagerBase extends EntryPointsManager implements PersistentStateComponent<Element> {
@NonNls private static final String[] STANDARD_ANNOS = {
@@ -39,7 +39,7 @@ import java.util.List;
@State(
name = "EntryPointsManager",
storages = {@Storage( file = StoragePathMacros.PROJECT_FILE)}
storages = {@Storage(file = StoragePathMacros.PROJECT_FILE)}
)
public class EntryPointsManagerImpl extends EntryPointsManagerBase implements PersistentStateComponent<Element> {
public EntryPointsManagerImpl(Project project) {
@@ -40,7 +40,7 @@ import java.util.regex.Pattern;
@State(
name = "SliceManager",
storages = {@Storage( file = StoragePathMacros.WORKSPACE_FILE)}
storages = {@Storage(file = StoragePathMacros.WORKSPACE_FILE)}
)
public class SliceManager implements PersistentStateComponent<SliceManager.StoredSettingsBean> {
private final Project myProject;
@@ -22,7 +22,7 @@ import org.jetbrains.annotations.NotNull;
@State(
name = "SliceToolwindowSettings",
storages = {@Storage( file = StoragePathMacros.WORKSPACE_FILE)}
storages = {@Storage(file = StoragePathMacros.WORKSPACE_FILE)}
)
public class SliceToolwindowSettings implements PersistentStateComponent<SliceToolwindowSettings> {
private boolean isPreview;
@@ -21,7 +21,7 @@ import com.intellij.openapi.components.StoragePathMacros;
@State(
name = "NullableNotNullManager",
storages = {@Storage( file = StoragePathMacros.PROJECT_FILE)}
storages = {@Storage(file = StoragePathMacros.PROJECT_FILE)}
)
public class NullableNotNullManagerImpl extends NullableNotNullManager {
}
@@ -36,7 +36,7 @@ import org.jetbrains.annotations.NotNull;
import java.util.*;
@State(name="HighlightingSettingsPerFile", storages = @Storage( file = StoragePathMacros.WORKSPACE_FILE))
@State(name="HighlightingSettingsPerFile", storages = @Storage(file = StoragePathMacros.WORKSPACE_FILE))
public class HighlightingSettingsPerFile extends HighlightingLevelManager implements PersistentStateComponent<Element> {
@NonNls private static final String SETTING_TAG = "setting";
@NonNls private static final String ROOT_ATT_PREFIX = "root";
@@ -27,7 +27,7 @@ import java.util.*;
/**
* @author peter
*/
@State(name="ConsoleFoldingSettings", storages=@Storage( file = StoragePathMacros.APP_CONFIG + "/consoleFolding.xml"))
@State(name="ConsoleFoldingSettings", storages=@Storage(file = StoragePathMacros.APP_CONFIG + "/consoleFolding.xml"))
public class ConsoleFoldingSettings implements PersistentStateComponent<ConsoleFoldingSettings.MyBean> {
private final List<String> myPositivePatterns = new ArrayList<String>();
private final List<String> myNegativePatterns = new ArrayList<String>();
@@ -52,7 +52,7 @@ import java.util.List;
@State(
name = "BookmarkManager",
storages = {
@Storage( file = StoragePathMacros.WORKSPACE_FILE)
@Storage(file = StoragePathMacros.WORKSPACE_FILE)
}
)
public class BookmarkManager extends AbstractProjectComponent implements PersistentStateComponent<Element> {
@@ -34,7 +34,7 @@ import com.intellij.ui.content.ContentManager;
*/
@State(
name = "DependenciesAnalyzeManager",
storages = {@Storage( file = StoragePathMacros.WORKSPACE_FILE)}
storages = {@Storage(file = StoragePathMacros.WORKSPACE_FILE)}
)
public class DependenciesAnalyzeManager implements PersistentStateComponent<DependenciesAnalyzeManager.State> {
private final Project myProject;
@@ -26,7 +26,7 @@ import com.intellij.openapi.vfs.VirtualFile;
/**
* @author Rustam Vishnyakov
*/
@State(name = "ProjectPlainTextFileTypeManager", storages = {@Storage( file = StoragePathMacros.PROJECT_FILE)})
@State(name = "ProjectPlainTextFileTypeManager", storages = {@Storage(file = StoragePathMacros.PROJECT_FILE)})
public class ProjectPlainTextFileTypeManager extends PersistentFileSetManager {
private final ProjectFileIndex myIndex;
@@ -44,7 +44,7 @@ import java.util.Map;
*/
@State(
name = "FileColors",
storages = {@Storage( file = StoragePathMacros.WORKSPACE_FILE)})
storages = {@Storage(file = StoragePathMacros.WORKSPACE_FILE)})
public class FileColorManagerImpl extends FileColorManager implements PersistentStateComponent<Element> {
public static final String FC_ENABLED = "FileColorsEnabled";
public static final String FC_TABS_ENABLED = "FileColorsForTabsEnabled";
@@ -36,7 +36,7 @@ import java.util.*;
* @author spleaner
*/
@State(name = "NotificationConfiguration",
storages = {@Storage( file = StoragePathMacros.APP_CONFIG + "/notifications.xml")})
storages = {@Storage(file = StoragePathMacros.APP_CONFIG + "/notifications.xml")})
public class NotificationsConfigurationImpl extends NotificationsConfiguration implements ExportableApplicationComponent,
PersistentStateComponent<Element> {
private static final Logger LOG = Logger.getInstance("#com.intellij.notification.impl.NotificationsConfiguration");
@@ -43,7 +43,7 @@ import java.util.*;
@State(
name = "IdeDocumentHistory",
storages = {@Storage( file = StoragePathMacros.WORKSPACE_FILE)}
storages = {@Storage(file = StoragePathMacros.WORKSPACE_FILE)}
)
public class IdeDocumentHistoryImpl extends IdeDocumentHistory implements ProjectComponent, PersistentStateComponent<IdeDocumentHistoryImpl.RecentlyChangedFilesState> {
private static final Logger LOG = Logger.getInstance("#com.intellij.openapi.fileEditor.impl.IdeDocumentHistoryImpl");
@@ -77,7 +77,7 @@ public class Configuration extends SimpleModificationTracker implements Persiste
@State(
name = Configuration.COMPONENT_NAME,
storages = {@Storage( file = StoragePathMacros.APP_CONFIG + "/IntelliLang.xml", scheme = StorageScheme.DIRECTORY_BASED)})
storages = {@Storage(file = StoragePathMacros.APP_CONFIG + "/IntelliLang.xml", scheme = StorageScheme.DIRECTORY_BASED)})
public static class App extends Configuration {
private final List<BaseInjection> myDefaultInjections;
@@ -11,7 +11,7 @@ import com.intellij.openapi.project.Project;
@State(
name = "CoverageOptionsProvider",
storages = {
@Storage( file = StoragePathMacros.WORKSPACE_FILE)
@Storage(file = StoragePathMacros.WORKSPACE_FILE)
}
)
public class CoverageOptionsProvider implements PersistentStateComponent<CoverageOptionsProvider.State> {
@@ -28,7 +28,7 @@ import java.util.Map;
*/
@State(
name = "CoverageViewManager",
storages = {@Storage( file = StoragePathMacros.WORKSPACE_FILE)}
storages = {@Storage(file = StoragePathMacros.WORKSPACE_FILE)}
)
public class CoverageViewManager implements PersistentStateComponent<CoverageViewManager.StateBean> {
private static final Logger LOG = Logger.getInstance("#" + CoverageViewManager.class.getName());
@@ -24,7 +24,7 @@ import org.jetbrains.annotations.NotNull;
*/
@State(
name = "GitRememberedInputs",
storages = @Storage( file = StoragePathMacros.APP_CONFIG + "/vcs.xml")
storages = @Storage(file = StoragePathMacros.APP_CONFIG + "/vcs.xml")
)
public class GitRememberedInputs extends DvcsRememberedInputs implements PersistentStateComponent<DvcsRememberedInputs.State> {
@@ -28,7 +28,7 @@ import org.jetbrains.jps.incremental.groovy.JpsGroovySettings;
/**
* @author peter
*/
@State(name = "GroovyCompilerConfiguration", storages = @Storage( file = StoragePathMacros.WORKSPACE_FILE))
@State(name = "GroovyCompilerConfiguration", storages = @Storage(file = StoragePathMacros.WORKSPACE_FILE))
public class GroovyCompilerWorkspaceConfiguration implements PersistentStateComponent<JpsGroovySettings>, Disposable {
String myHeapSize = JpsGroovySettings.DEFAULT_HEAP_SIZE;
boolean myInvokeDynamic = JpsGroovySettings.DEFAULT_INVOKE_DYNAMIC;
@@ -28,7 +28,7 @@ import java.util.Map;
@State(
name = "HgGlobalSettings",
storages = @Storage( file = StoragePathMacros.APP_CONFIG + "/vcs.xml")
storages = @Storage(file = StoragePathMacros.APP_CONFIG + "/vcs.xml")
)
public class HgGlobalSettings implements PersistentStateComponent<HgGlobalSettings.State> {
@@ -36,7 +36,7 @@ import org.jetbrains.idea.maven.utils.MavenLog;
import java.util.List;
@State(name = "MavenRunner", storages = {@Storage( file = StoragePathMacros.WORKSPACE_FILE)})
@State(name = "MavenRunner", storages = {@Storage(file = StoragePathMacros.WORKSPACE_FILE)})
public class MavenRunner implements PersistentStateComponent<MavenRunnerSettings> {
private static final Logger LOG = Logger.getInstance(MavenRunner.class);
@@ -63,7 +63,7 @@ import java.net.URL;
import java.util.Collections;
import java.util.List;
@State(name = "MavenProjectNavigator", storages = {@Storage( file = StoragePathMacros.WORKSPACE_FILE)})
@State(name = "MavenProjectNavigator", storages = {@Storage(file = StoragePathMacros.WORKSPACE_FILE)})
public class MavenProjectsNavigator extends MavenSimpleProjectComponent implements PersistentStateComponent<MavenProjectsNavigatorState> {
public static final String TOOL_WINDOW_ID = "Maven Projects";
@@ -20,7 +20,7 @@ import com.intellij.openapi.project.Project;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.idea.maven.model.MavenExplicitProfiles;
@State(name = "MavenImportPreferences", storages = {@Storage( file = StoragePathMacros.WORKSPACE_FILE)})
@State(name = "MavenImportPreferences", storages = {@Storage(file = StoragePathMacros.WORKSPACE_FILE)})
public class MavenWorkspaceSettingsComponent implements PersistentStateComponent<MavenWorkspaceSettings> {
private MavenWorkspaceSettings mySettings = new MavenWorkspaceSettings();
@@ -33,7 +33,7 @@ import java.util.List;
*/
@State(
name = "TaskProjectConfiguration",
storages = {@Storage( file = StoragePathMacros.PROJECT_FILE)})
storages = {@Storage(file = StoragePathMacros.PROJECT_FILE)})
public class TaskProjectConfiguration implements PersistentStateComponent<TaskProjectConfiguration> {
@Tag("server")
@@ -106,7 +106,7 @@ public class FileAssociationsConfigurable implements SearchableConfigurable, Con
}
@State(name = "XSLT-Support.FileAssociations.UIState",
storages = @Storage( file = StoragePathMacros.WORKSPACE_FILE)
storages = @Storage(file = StoragePathMacros.WORKSPACE_FILE)
)
public static class UIState implements PersistentStateComponent<TreeState> {
private TreeState state;
@@ -29,7 +29,7 @@ import java.util.Map;
*/
@State(name = "PyPackageService",
storages = {
@Storage( file = StoragePathMacros.APP_CONFIG + "/packages.xml")
@Storage(file = StoragePathMacros.APP_CONFIG + "/packages.xml")
}
)
public class PyPackageService implements