当前位置: 首页>>代码示例>>Java>>正文


Java DebuggerUtilsEx.writeFilters方法代码示例

本文整理汇总了Java中com.intellij.debugger.impl.DebuggerUtilsEx.writeFilters方法的典型用法代码示例。如果您正苦于以下问题:Java DebuggerUtilsEx.writeFilters方法的具体用法?Java DebuggerUtilsEx.writeFilters怎么用?Java DebuggerUtilsEx.writeFilters使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在com.intellij.debugger.impl.DebuggerUtilsEx的用法示例。


在下文中一共展示了DebuggerUtilsEx.writeFilters方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: getState

import com.intellij.debugger.impl.DebuggerUtilsEx; //导入方法依赖的package包/类
@Nullable
@Override
public Element getState() {
  Element state = XmlSerializer.serialize(this, new SkipDefaultValuesSerializationFilters());
  try {
    DebuggerUtilsEx.writeFilters(state, "filter", mySteppingFilters);
  }
  catch (WriteExternalException e) {
    LOG.error(e);
    return null;
  }

  for (ContentState eachState : myContentStates.values()) {
    final Element content = new Element("content");
    if (eachState.write(content)) {
      state.addContent(content);
    }
  }
  return state;
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:21,代码来源:DebuggerSettings.java

示例2: writeExternal

import com.intellij.debugger.impl.DebuggerUtilsEx; //导入方法依赖的package包/类
@Override
@SuppressWarnings({"HardCodedStringLiteral"})
public void writeExternal(Element element)
{
	super.writeExternal(element);

	if(ON_DEMAND)
	{
		JDOMExternalizerUtil.writeField(element, "ON_DEMAND", "true");
	}
	if(USE_CLASS_FILTERS)
	{
		JDOMExternalizerUtil.writeField(element, "USE_CLASS_FILTERS", "true");
	}
	DebuggerUtilsEx.writeFilters(element, "filter", myClassFilters);
}
 
开发者ID:consulo,项目名称:consulo-java,代码行数:17,代码来源:ToStringRenderer.java

示例3: getState

import com.intellij.debugger.impl.DebuggerUtilsEx; //导入方法依赖的package包/类
@Nullable
@Override
public Element getState()
{
	Element state = XmlSerializer.serialize(this, new SkipDefaultsSerializationFilter());
	try
	{
		DebuggerUtilsEx.writeFilters(state, "filter", mySteppingFilters);
	}
	catch(WriteExternalException e)
	{
		LOG.error(e);
		return null;
	}

	for(ContentState eachState : myContentStates.values())
	{
		final Element content = new Element("content");
		if(eachState.write(content))
		{
			state.addContent(content);
		}
	}
	return state;
}
 
开发者ID:consulo,项目名称:consulo-java,代码行数:26,代码来源:DebuggerSettings.java

示例4: writeExternal

import com.intellij.debugger.impl.DebuggerUtilsEx; //导入方法依赖的package包/类
public void writeExternal(Element parentNode) throws WriteExternalException {
  DefaultJDOMExternalizer.writeExternal(this, parentNode);
  JDOMExternalizerUtil.writeField(parentNode, CONDITION_OPTION_NAME, getCondition().toExternalForm());
  DebuggerUtilsEx.writeFilters(parentNode, FILTER_OPTION_NAME, myClassFilters);
  DebuggerUtilsEx.writeFilters(parentNode, EXCLUSION_FILTER_OPTION_NAME, myClassExclusionFilters);
  DebuggerUtilsEx.writeFilters(parentNode, INSTANCE_ID_OPTION_NAME, InstanceFilter.createClassFilters(myInstanceFilters));
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:8,代码来源:FilteredRequestorImpl.java

示例5: writeExternal

import com.intellij.debugger.impl.DebuggerUtilsEx; //导入方法依赖的package包/类
@Override
public void writeExternal(Element parentNode) throws WriteExternalException
{
	DefaultJDOMExternalizer.writeExternal(this, parentNode);
	JDOMExternalizerUtil.writeField(parentNode, CONDITION_OPTION_NAME, getCondition().toExternalForm());
	DebuggerUtilsEx.writeFilters(parentNode, FILTER_OPTION_NAME, myClassFilters);
	DebuggerUtilsEx.writeFilters(parentNode, EXCLUSION_FILTER_OPTION_NAME, myClassExclusionFilters);
	DebuggerUtilsEx.writeFilters(parentNode, INSTANCE_ID_OPTION_NAME, InstanceFilter.createClassFilters(myInstanceFilters));
}
 
开发者ID:consulo,项目名称:consulo-java,代码行数:10,代码来源:FilteredRequestorImpl.java

示例6: writeExternal

import com.intellij.debugger.impl.DebuggerUtilsEx; //导入方法依赖的package包/类
@SuppressWarnings({"HardCodedStringLiteral"})
public void writeExternal(Element element) throws WriteExternalException {
  super.writeExternal(element);
  JDOMExternalizerUtil.writeField(element, "USE_CLASS_FILTERS", USE_CLASS_FILTERS? "true" : "false");
  DebuggerUtilsEx.writeFilters(element, "filter", myClassFilters);
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:7,代码来源:ToStringRenderer.java


注:本文中的com.intellij.debugger.impl.DebuggerUtilsEx.writeFilters方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。