本文整理汇总了Java中com.intellij.util.xmlb.annotations.OptionTag类的典型用法代码示例。如果您正苦于以下问题:Java OptionTag类的具体用法?Java OptionTag怎么用?Java OptionTag使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
OptionTag类属于com.intellij.util.xmlb.annotations包,在下文中一共展示了OptionTag类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: OptionTagBinding
import com.intellij.util.xmlb.annotations.OptionTag; //导入依赖的package包/类
public OptionTagBinding(@NotNull MutableAccessor accessor, @Nullable OptionTag optionTag) {
super(accessor, optionTag == null ? null : optionTag.value(), optionTag == null ? null : optionTag.converter());
if (optionTag == null) {
myTagName = Constants.OPTION;
myNameAttribute = Constants.NAME;
myValueAttribute = Constants.VALUE;
}
else {
myNameAttribute = optionTag.nameAttribute();
myValueAttribute = optionTag.valueAttribute();
String tagName = optionTag.tag();
if (StringUtil.isEmpty(myNameAttribute) && Constants.OPTION.equals(tagName)) {
tagName = myAccessor.getName();
}
myTagName = tagName;
}
}
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:20,代码来源:OptionTagBinding.java
示例2: OptionTagBinding
import com.intellij.util.xmlb.annotations.OptionTag; //导入依赖的package包/类
public OptionTagBinding(Accessor accessor, @Nullable OptionTag optionTag) {
this.accessor = accessor;
myBinding = XmlSerializerImpl.getBinding(accessor);
if (optionTag != null) {
String name = optionTag.value();
myName = name.isEmpty() ? accessor.getName() : name;
myTagName = optionTag.tag();
myNameAttribute = optionTag.nameAttribute();
myValueAttribute = optionTag.valueAttribute();
}
else {
myName = accessor.getName();
myTagName = Constants.OPTION;
myNameAttribute = Constants.NAME;
myValueAttribute = Constants.VALUE;
}
}
开发者ID:lshain-android-source,项目名称:tools-idea,代码行数:18,代码来源:OptionTagBinding.java
示例3: OptionTagBinding
import com.intellij.util.xmlb.annotations.OptionTag; //导入依赖的package包/类
public OptionTagBinding(@Nonnull MutableAccessor accessor, @Nullable OptionTag optionTag) {
super(accessor, optionTag == null ? null : optionTag.value(), optionTag == null ? null : optionTag.converter());
if (optionTag == null) {
myTagName = Constants.OPTION;
myNameAttribute = Constants.NAME;
myValueAttribute = Constants.VALUE;
}
else {
myNameAttribute = optionTag.nameAttribute();
myValueAttribute = optionTag.valueAttribute();
String tagName = optionTag.tag();
if (StringUtil.isEmpty(myNameAttribute) && Constants.OPTION.equals(tagName)) {
tagName = myAccessor.getName();
}
myTagName = tagName;
}
}
开发者ID:consulo,项目名称:consulo,代码行数:20,代码来源:OptionTagBinding.java
示例4: getName
import com.intellij.util.xmlb.annotations.OptionTag; //导入依赖的package包/类
@Override
@NotNull
// ugly name to preserve compatibility
@OptionTag("myName")
public String getName() {
return myName;
}
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:8,代码来源:ProfileEx.java
示例5: getName
import com.intellij.util.xmlb.annotations.OptionTag; //导入依赖的package包/类
@Override
@Nonnull
// ugly name to preserve compatibility
@OptionTag("myName")
public String getName() {
return myName;
}
开发者ID:consulo,项目名称:consulo,代码行数:8,代码来源:ProfileEx.java
示例6: getDebugPort
import com.intellij.util.xmlb.annotations.OptionTag; //导入依赖的package包/类
@Override
@OptionTag("DEBUG_PORT")
public String getDebugPort()
{
//noinspection deprecation
return DEBUG_PORT;
}
开发者ID:consulo,项目名称:consulo-java,代码行数:8,代码来源:GenericDebuggerRunnerSettings.java
示例7: getLambdaOrdinal
import com.intellij.util.xmlb.annotations.OptionTag; //导入依赖的package包/类
@OptionTag("lambda-ordinal")
public Integer getLambdaOrdinal() {
return myLambdaOrdinal;
}
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:5,代码来源:JavaLineBreakpointProperties.java
示例8: isCOUNT_FILTER_ENABLED
import com.intellij.util.xmlb.annotations.OptionTag; //导入依赖的package包/类
@OptionTag("count-filter-enabled")
public boolean isCOUNT_FILTER_ENABLED() {
return COUNT_FILTER_ENABLED;
}
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:5,代码来源:JavaBreakpointProperties.java
示例9: getCOUNT_FILTER
import com.intellij.util.xmlb.annotations.OptionTag; //导入依赖的package包/类
@OptionTag("count-filter")
public int getCOUNT_FILTER() {
return COUNT_FILTER;
}
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:5,代码来源:JavaBreakpointProperties.java
示例10: isCLASS_FILTERS_ENABLED
import com.intellij.util.xmlb.annotations.OptionTag; //导入依赖的package包/类
@OptionTag("class-filters-enabled")
public boolean isCLASS_FILTERS_ENABLED() {
return CLASS_FILTERS_ENABLED;
}
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:5,代码来源:JavaBreakpointProperties.java
示例11: isINSTANCE_FILTERS_ENABLED
import com.intellij.util.xmlb.annotations.OptionTag; //导入依赖的package包/类
@OptionTag("instance-filters-enabled")
public boolean isINSTANCE_FILTERS_ENABLED() {
return INSTANCE_FILTERS_ENABLED;
}
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:5,代码来源:JavaBreakpointProperties.java
示例12: getDebugPort
import com.intellij.util.xmlb.annotations.OptionTag; //导入依赖的package包/类
@Override
@OptionTag("DEBUG_PORT")
public String getDebugPort() {
//noinspection deprecation
return DEBUG_PORT;
}
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:7,代码来源:GenericDebuggerRunnerSettings.java
示例13: getProjectProfile
import com.intellij.util.xmlb.annotations.OptionTag; //导入依赖的package包/类
@Override
@OptionTag("PROJECT_PROFILE")
public synchronized String getProjectProfile() {
return myProjectProfile;
}
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:6,代码来源:DefaultProjectProfileManager.java
示例14: isSyncOnFrameActivation
import com.intellij.util.xmlb.annotations.OptionTag; //导入依赖的package包/类
@OptionTag("autoSyncFiles")
public boolean isSyncOnFrameActivation() {
return mySyncOnFrameActivation;
}
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:5,代码来源:GeneralSettings.java
示例15: isSaveOnFrameDeactivation
import com.intellij.util.xmlb.annotations.OptionTag; //导入依赖的package包/类
@OptionTag("autoSaveFiles")
public boolean isSaveOnFrameDeactivation() {
return mySaveOnFrameDeactivation;
}
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:5,代码来源:GeneralSettings.java
示例16: isImportHintEnabled
import com.intellij.util.xmlb.annotations.OptionTag; //导入依赖的package包/类
@OptionTag(value = "SHOW_ADD_IMPORT_HINTS")
public boolean isImportHintEnabled() {
return myShowAddImportHints;
}
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:5,代码来源:DaemonCodeAnalyzerSettings.java
示例17: isSuppressWarnings
import com.intellij.util.xmlb.annotations.OptionTag; //导入依赖的package包/类
@OptionTag(value = "SUPPRESS_WARNINGS")
public boolean isSuppressWarnings() {
return mySuppressWarnings;
}
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:5,代码来源:DaemonCodeAnalyzerSettings.java
示例18: getFormatName
import com.intellij.util.xmlb.annotations.OptionTag; //导入依赖的package包/类
@SuppressWarnings("unused")
@OptionTag("myDocStringFormat")
@NotNull
public String getFormatName() {
return myDocStringFormat.getName();
}
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:7,代码来源:PyDocumentationSettings.java
示例19: getEnabledProfilesForXmlSerializer
import com.intellij.util.xmlb.annotations.OptionTag; //导入依赖的package包/类
@Deprecated // Must be used by XML Serializer only!!!
@OptionTag("profiles")
public Collection<String> getEnabledProfilesForXmlSerializer() {
return myEnabledProfilesForXmlSerializer;
}
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:6,代码来源:MavenRunnerParameters.java
示例20: getProfilesMap
import com.intellij.util.xmlb.annotations.OptionTag; //导入依赖的package包/类
@OptionTag("profilesMap")
@MapAnnotation(sortBeforeSave = false)
public Map<String, Boolean> getProfilesMap() {
return myProfilesMap;
}
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:6,代码来源:MavenRunnerParameters.java
注:本文中的com.intellij.util.xmlb.annotations.OptionTag类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论