Java 类com.intellij.util.xmlb.annotations.MapAnnotation 实例源码

项目:intellij-ce-playground    文件:ChromeSettings.java   
@Override
@NotNull
@Tag("environment-variables")
@MapAnnotation(surroundWithTag = false, surroundKeyWithTag = false, surroundValueWithTag = false)
public Map<String, String> getEnvironmentVariables() {
  return myEnvironmentVariables;
}
项目:intellij-ce-playground    文件:ConfigurationStateManager.java   
@Tag("layouts")
@Property(surroundWithTag = false)
@MapAnnotation(surroundWithTag = false, surroundValueWithTag = false, surroundKeyWithTag = false,
               keyAttributeName = "url", entryTagName = "layout")
public Map<String, ConfigurationFileState> getUrlToStateMap() {
  return myUrlToStateMap;
}
项目:intellij-ce-playground    文件:SSHConnectionSettings.java   
/**
 * @return the last successful authentications
 */
@Property(surroundWithTag = false)
@MapAnnotation(surroundKeyWithTag = false, surroundValueWithTag = false, surroundWithTag = false,
               entryTagName = "successfulAuthentication", keyAttributeName = "user", valueAttributeName = "method")
public Map<String, String> getLastSuccessful() {
  return myLastSuccessful;
}
项目:tools-idea    文件:MapBinding.java   
public MapBinding(ParameterizedType type, Accessor accessor) {
  Type[] arguments = type.getActualTypeArguments();
  Type keyType = arguments[0];
  Type valueType = arguments[1];

  myKeyBinding = XmlSerializerImpl.getBinding(keyType);
  myValueBinding = XmlSerializerImpl.getBinding(valueType);
  myMapAnnotation = XmlSerializerImpl.findAnnotation(accessor.getAnnotations(), MapAnnotation.class);
}
项目:tools-idea    文件:SSHConnectionSettings.java   
/**
 * @return the last successful authentications
 */
@Property(surroundWithTag = false)
@MapAnnotation(surroundKeyWithTag = false, surroundValueWithTag = false, surroundWithTag = false,
               entryTagName = "successfulAuthentication", keyAttributeName = "user", valueAttributeName = "method")
public Map<String, String> getLastSuccessful() {
  return myLastSuccessful;
}
项目:cordovastudio    文件:ConfigurationStateManager.java   
@Tag("layouts")
@Property(surroundWithTag = false)
@MapAnnotation(surroundWithTag = false, surroundValueWithTag = false, surroundKeyWithTag = false,
               keyAttributeName = "url", entryTagName = "layout")
public Map<String, RenderConfigurationFileState> getUrlToStateMap() {
  return myUrlToStateMap;
}
项目:consulo-tasks    文件:YouTrackRepository.java   
@Tag("customStates")
@Property(surroundWithTag = false)
@MapAnnotation(
  surroundWithTag = false,
  keyAttributeName = "state",
  valueAttributeName = "name",
  surroundKeyWithTag = false,
  surroundValueWithTag = false
)

public Map<TaskState, String> getCustomStateNames() {
  return myCustomStateNames;
}
项目:intellij-ce-playground    文件:FacetEditorsStateManagerImpl.java   
@Property(surroundWithTag = false)
@MapAnnotation(surroundKeyWithTag = false, surroundWithTag = false, surroundValueWithTag = false, entryTagName = "facet-type-state", keyAttributeName = "type")
public Map<String, FacetTypeStateBean> getFacetTypeElements() {
  return myFacetTypeElements;
}
项目:intellij-ce-playground    文件:TestHistoryConfiguration.java   
@Property(surroundWithTag = false)
@MapAnnotation(surroundKeyWithTag = false, surroundWithTag = false, surroundValueWithTag = false, entryTagName = "history-entry", keyAttributeName = "file")
public Map<String, ConfigurationBean> getHistoryElements() {
  return myHistoryElements;
}
项目:intellij-ce-playground    文件:ExternalProjectsState.java   
@Property(surroundWithTag = false)
@MapAnnotation(surroundWithTag = false, surroundValueWithTag = false, surroundKeyWithTag = false,
  keyAttributeName = "id", entryTagName = "system")
public Map<String, State> getExternalSystemsState() {
  return myExternalSystemsState;
}
项目:intellij-ce-playground    文件:ExternalProjectsState.java   
@Property(surroundWithTag = false)
@MapAnnotation(keyAttributeName = "path", entryTagName = "task",
  surroundWithTag = false, surroundValueWithTag = false, surroundKeyWithTag = false, sortBeforeSave = false)
public Map<String, TaskActivationState> getExternalSystemsTaskActivation() {
  return myExternalSystemsTaskActivation;
}
项目:intellij-ce-playground    文件:FileEditorProviderManagerImpl.java   
@MapAnnotation(surroundKeyWithTag = false, surroundValueWithTag = false)
public Map<String, String> getSelectedProviders() {
  return mySelectedProviders;
}
项目:intellij-ce-playground    文件:MapBinding.java   
public MapBinding(@NotNull MutableAccessor accessor) {
  super(accessor);

  myMapAnnotation = accessor.getAnnotation(MapAnnotation.class);
}
项目:intellij-ce-playground    文件:PostfixTemplatesSettings.java   
@NotNull
@MapAnnotation(entryTagName = "disabled-postfix-templates", keyAttributeName = "lang", surroundWithTag = false)
public Map<String, Set<String>> getLangDisabledTemplates() {
  return myLangToDisabledTemplates;
}
项目:intellij-ce-playground    文件:ProjectFacetManagerImpl.java   
@Tag("default-configurations")
@MapAnnotation(surroundWithTag = false, surroundKeyWithTag = false, surroundValueWithTag = false, //entryTagName = "default-configuration",
               keyAttributeName = "facet-type")
public Map<String, DefaultFacetConfigurationState> getDefaultConfigurations() {
  return myDefaultConfigurations;
}
项目:intellij-ce-playground    文件:AndroidExternalApklibDependenciesManager.java   
@Tag("resolved-infos")
@MapAnnotation(surroundWithTag = false)
public Map<String, MavenArtifactResolvedInfo> getResolvedInfoMap() {
  return myResolvedInfoMap;
}
项目:intellij-ce-playground    文件:AndroidExternalApklibDependenciesManager.java   
@Tag("artifacts")
@MapAnnotation(surroundWithTag = false)
public Map<String, String> getArtifactFilesMap() {
  return myArtifactFilesMap;
}
项目:intellij-ce-playground    文件:MavenRunnerParameters.java   
@OptionTag("profilesMap")
@MapAnnotation(sortBeforeSave = false)
public Map<String, Boolean> getProfilesMap() {
  return myProfilesMap;
}
项目:intellij    文件:BlazeWizardUserSettings.java   
@SuppressWarnings("unused")
@Tag("settings")
@MapAnnotation(surroundWithTag = false)
public Map<String, String> getValues() {
  return values;
}
项目:tools-idea    文件:FacetEditorsStateManagerImpl.java   
@Property(surroundWithTag = false)
@MapAnnotation(surroundKeyWithTag = false, surroundWithTag = false, surroundValueWithTag = false, entryTagName = "facet-type-state", keyAttributeName = "type")
public Map<String, FacetTypeStateBean> getFacetTypeElements() {
  return myFacetTypeElements;
}
项目:tools-idea    文件:FileEditorProviderManagerImpl.java   
@MapAnnotation(surroundKeyWithTag = false, surroundValueWithTag = false)
public Map<String, String> getSelectedProviders() {
  return mySelectedProviders;
}
项目:tools-idea    文件:ProjectFacetManagerImpl.java   
@Tag("default-configurations")
@MapAnnotation(surroundWithTag = false, surroundKeyWithTag = false, surroundValueWithTag = false, //entryTagName = "default-configuration",
               keyAttributeName = "facet-type")
public Map<String, DefaultFacetConfigurationState> getDefaultConfigurations() {
  return myDefaultConfigurations;
}
项目:tools-idea    文件:MavenRunnerParameters.java   
@OptionTag("profilesMap")
@MapAnnotation(sortBeforeSave = false)
public Map<String, Boolean> getProfilesMap() {
  return myProfilesMap;
}
项目:consulo    文件:TestHistoryConfiguration.java   
@Property(surroundWithTag = false)
@MapAnnotation(surroundKeyWithTag = false, surroundWithTag = false, surroundValueWithTag = false, entryTagName = "history-entry", keyAttributeName = "file")
public Map<String, ConfigurationBean> getHistoryElements() {
  return myHistoryElements;
}
项目:consulo    文件:FileEditorProviderManagerImpl.java   
@MapAnnotation(surroundKeyWithTag = false, surroundValueWithTag = false)
public Map<String, String> getSelectedProviders() {
  return mySelectedProviders;
}
项目:consulo    文件:MapBinding.java   
public MapBinding(@Nonnull MutableAccessor accessor) {
  super(accessor);

  myMapAnnotation = accessor.getAnnotation(MapAnnotation.class);
}
项目:consulo    文件:PostfixTemplatesSettings.java   
@Nonnull
@MapAnnotation(entryTagName = "disabled-postfix-templates", keyAttributeName = "lang", surroundWithTag = false)
public Map<String, Set<String>> getLangDisabledTemplates() {
  return myLangToDisabledTemplates;
}