本文整理匯總了Java中com.intellij.util.xmlb.XmlSerializerUtil.copyBean方法的典型用法代碼示例。如果您正苦於以下問題:Java XmlSerializerUtil.copyBean方法的具體用法?Java XmlSerializerUtil.copyBean怎麽用?Java XmlSerializerUtil.copyBean使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類com.intellij.util.xmlb.XmlSerializerUtil
的用法示例。
在下文中一共展示了XmlSerializerUtil.copyBean方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: loadState
import com.intellij.util.xmlb.XmlSerializerUtil; //導入方法依賴的package包/類
@Override
public void loadState(IdeaCurrencyConfig ideaCurrencyConfig) {
XmlSerializerUtil.copyBean(ideaCurrencyConfig, this);
for (String exchangeName : ideaCurrencyConfig.currencyPairByExchangeMap.keySet()) {
String currencyPairs = currencyPairByExchangeMap.get(exchangeName);
String[] split = currencyPairs.split(",");
Set<CurrencyPair> currencyPairSet = Lists.newArrayList(split).stream().map(CurrencyPair::new).collect(Collectors.toSet());
selectedExchangeCurrencyPairs.add(new SelectedExchangeCurrencyPair(exchangeName, currencyPairSet));
}
checkAndOptimizeReloadInterval(ideaCurrencyConfig.getReloadInterval());
}
示例2: loadState
import com.intellij.util.xmlb.XmlSerializerUtil; //導入方法依賴的package包/類
@Override
public void loadState(SettingManager formatSetting) {
XmlSerializerUtil.copyBean(formatSetting, this);
if (templates != null && templates.getRoots().size() == 0) {
templates.setRoots(Defaults.getDefaultTemplates());
}
if (variables != null && StringUtils.isBlank(variables.getIgnoreFields())) {
variables.setIgnoreFields("id,created_at,updated_at");
}
}
示例3: getState
import com.intellij.util.xmlb.XmlSerializerUtil; //導入方法依賴的package包/類
@Override
@NotNull
public JpsJavaCompilerOptions getState() {
JpsJavaCompilerOptions state = new JpsJavaCompilerOptions();
XmlSerializerUtil.copyBean(mySettings, state);
state.ADDITIONAL_OPTIONS_STRING = PathMacroManager.getInstance(myProject).collapsePathsRecursively(state.ADDITIONAL_OPTIONS_STRING);
return state;
}
示例4: loadState
import com.intellij.util.xmlb.XmlSerializerUtil; //導入方法依賴的package包/類
@Override
public void loadState(PersistProfileComponent state) {
XmlSerializerUtil.copyBean(state, this);
// Prevent loading a null map
if (userStatMap == null) {
userStatMap = new HashMap<>();
}
}
示例5: loadState
import com.intellij.util.xmlb.XmlSerializerUtil; //導入方法依賴的package包/類
@Override
public void loadState(KeyPromoterSettings keyPromoterSettings) {
XmlSerializerUtil.copyBean(keyPromoterSettings, this);
}
示例6: loadState
import com.intellij.util.xmlb.XmlSerializerUtil; //導入方法依賴的package包/類
@Override
public void loadState(CodeMakerSettings codeMakerSettings) {
XmlSerializerUtil.copyBean(codeMakerSettings, this);
}
示例7: loadState
import com.intellij.util.xmlb.XmlSerializerUtil; //導入方法依賴的package包/類
@Override
public void loadState(RNConsoleConfiguration freelineConfiguration) {
XmlSerializerUtil.copyBean(freelineConfiguration, this);
}
示例8: loadState
import com.intellij.util.xmlb.XmlSerializerUtil; //導入方法依賴的package包/類
@Override
public void loadState(KeyPromoterStatistics stats) {
XmlSerializerUtil.copyBean(stats, this);
}
示例9: loadState
import com.intellij.util.xmlb.XmlSerializerUtil; //導入方法依賴的package包/類
@Override
public void loadState(GravPersistentStateComponent state) {
XmlSerializerUtil.copyBean(state, this);
}
示例10: loadState
import com.intellij.util.xmlb.XmlSerializerUtil; //導入方法依賴的package包/類
@Override
public void loadState(Config gherkinConfig) {
XmlSerializerUtil.copyBean(gherkinConfig, this);
}
示例11: loadState
import com.intellij.util.xmlb.XmlSerializerUtil; //導入方法依賴的package包/類
@Override
public void loadState(PluginDataConfig pluginDataConfig) {
XmlSerializerUtil.copyBean(pluginDataConfig, this);
}
示例12: loadState
import com.intellij.util.xmlb.XmlSerializerUtil; //導入方法依賴的package包/類
public void loadState(KeyPromoterConfiguration state) {
XmlSerializerUtil.copyBean(state, this);
}
示例13: loadState
import com.intellij.util.xmlb.XmlSerializerUtil; //導入方法依賴的package包/類
@Override
public void loadState(final ArraySettings state) {
XmlSerializerUtil.copyBean(state, this);
}
示例14: loadState
import com.intellij.util.xmlb.XmlSerializerUtil; //導入方法依賴的package包/類
@Override
public void loadState(final @NotNull IntegerSettings state) {
XmlSerializerUtil.copyBean(state, this);
}
示例15: loadState
import com.intellij.util.xmlb.XmlSerializerUtil; //導入方法依賴的package包/類
@Override
public void loadState(final @NotNull StringSettings state) {
XmlSerializerUtil.copyBean(state, this);
}