public class State { @Tag("includeExplanation") public boolean includeExplanation = true; }
public class CompilerOptions { @Tag("useMixCompiler") public boolean useMixCompiler = true; @Tag("useDocs") public boolean attachDocsEnabled = true; @Tag("useDebugInfo") public boolean attachDebugInfoEnabled = true; @Tag("useWarningsAsErrors") public boolean warningsAsErrorsEnabled = false; @Tag("useIgnoreModuleConflict") public boolean ignoreModuleConflictEnabled = false; public CompilerOptions() { } public CompilerOptions(@NotNull CompilerOptions options){ useMixCompiler = options.useMixCompiler; attachDocsEnabled = options.attachDocsEnabled; attachDebugInfoEnabled = options.attachDebugInfoEnabled; warningsAsErrorsEnabled = options.warningsAsErrorsEnabled; ignoreModuleConflictEnabled = options.ignoreModuleConflictEnabled; } }
public class BallerinaSemanticAnalyzerSettings implements PersistentStateComponent<BallerinaSemanticAnalyzerSettings> { @Attribute private boolean myUseSemanticAnalyzer = false;
/** * Created by zyuyou on 2015/5/26. */ public class SettingsState { @Tag("mixPath") @NotNull private String myMixPath; private boolean supportsFormatterOption; SettingsState(){ myMixPath = ""; supportsFormatterOption = false; } SettingsState(SettingsState state){ myMixPath = state.myMixPath; supportsFormatterOption = state.supportsFormatterOption; } @Override public String toString() { return "SettingsState(mixPath='" + myMixPath + "')"; } }
implements PersistentStateComponent<BallerinaRecursiveReferenceSearchSettings> { @Attribute private boolean myUseRecursiveReferenceSearch = true;
@Tag("buildTags") public class GoBuildTargetSettings extends SimpleModificationTracker { public static final String ANY_COMPILER = "Any";
@Attribute("path") public String getPath() { return path; }
/** * @author Daniel Espendiller <daniel@espendiller.net> */ @Tag("routing_file") public class RoutingFile extends AbstractUiFilePath { public RoutingFile() { } public RoutingFile(@NotNull String path) { this.path = path; } }
@Attribute("IndexParameter") public int getIndexParameter() { return indexParameter; }
@Attribute("IndexParameter") public int getIndexParameter() { return indexParameter; }
@Attribute("MethodName") public String getMethodName() { return methodName; }
@Attribute("namespace") public String getNamespace() { return namespace; }
@Attribute("path") public String getPath() { return path; }
@Attribute("custom") public boolean isCustom() { return custom; }
@Attribute("MethodName") public String getMethodName() { return methodName; }
@Attribute("ReferenceProviderName") public String getReferenceProviderName() { return ReferenceProviderName; }
@Attribute("contributorName") public String getContributorName() { return contributorName; }
@Attribute("enabled") public boolean isEnabled() { return isEnabled; }