本文整理汇总了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;
}
示例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);
}
示例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;
}
示例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));
}
示例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));
}
示例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);
}