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


Java DebuggerUtilsEx.filterEquals方法代码示例

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


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

示例1: equals

import com.intellij.debugger.impl.DebuggerUtilsEx; //导入方法依赖的package包/类
public boolean equals(Object obj) {
  if (!(obj instanceof DebuggerSettings)) return false;
  DebuggerSettings secondSettings = (DebuggerSettings)obj;

  return
    TRACING_FILTERS_ENABLED == secondSettings.TRACING_FILTERS_ENABLED &&
    DEBUGGER_TRANSPORT == secondSettings.DEBUGGER_TRANSPORT &&
    StringUtil.equals(EVALUATE_FINALLY_ON_POP_FRAME, secondSettings.EVALUATE_FINALLY_ON_POP_FRAME) &&
    FORCE_CLASSIC_VM == secondSettings.FORCE_CLASSIC_VM &&
    DISABLE_JIT == secondSettings.DISABLE_JIT &&
    HOTSWAP_IN_BACKGROUND == secondSettings.HOTSWAP_IN_BACKGROUND &&
    SKIP_SYNTHETIC_METHODS == secondSettings.SKIP_SYNTHETIC_METHODS &&
    SKIP_CLASSLOADERS == secondSettings.SKIP_CLASSLOADERS &&
    SKIP_CONSTRUCTORS == secondSettings.SKIP_CONSTRUCTORS &&
    SKIP_GETTERS == secondSettings.SKIP_GETTERS &&
    COMPILE_BEFORE_HOTSWAP == secondSettings.COMPILE_BEFORE_HOTSWAP &&
    HOTSWAP_HANG_WARNING_ENABLED == secondSettings.HOTSWAP_HANG_WARNING_ENABLED &&
    (RUN_HOTSWAP_AFTER_COMPILE != null ? RUN_HOTSWAP_AFTER_COMPILE.equals(secondSettings.RUN_HOTSWAP_AFTER_COMPILE) : secondSettings.RUN_HOTSWAP_AFTER_COMPILE == null) &&
    DebuggerUtilsEx.filterEquals(mySteppingFilters, secondSettings.mySteppingFilters);
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:21,代码来源:DebuggerSettings.java

示例2: equals

import com.intellij.debugger.impl.DebuggerUtilsEx; //导入方法依赖的package包/类
public boolean equals(Object obj) {
  if (!(obj instanceof DebuggerSettings)) return false;
  DebuggerSettings secondSettings = (DebuggerSettings)obj;

  return
    TRACING_FILTERS_ENABLED == secondSettings.TRACING_FILTERS_ENABLED &&
    VALUE_LOOKUP_DELAY == secondSettings.VALUE_LOOKUP_DELAY &&
    DEBUGGER_TRANSPORT == secondSettings.DEBUGGER_TRANSPORT &&
    FORCE_CLASSIC_VM == secondSettings.FORCE_CLASSIC_VM &&
    DISABLE_JIT == secondSettings.DISABLE_JIT &&
    HIDE_DEBUGGER_ON_PROCESS_TERMINATION == secondSettings.HIDE_DEBUGGER_ON_PROCESS_TERMINATION &&
    HOTSWAP_IN_BACKGROUND == secondSettings.HOTSWAP_IN_BACKGROUND &&
    SKIP_SYNTHETIC_METHODS == secondSettings.SKIP_SYNTHETIC_METHODS &&
    SKIP_CLASSLOADERS == secondSettings.SKIP_CLASSLOADERS &&
    SKIP_CONSTRUCTORS == secondSettings.SKIP_CONSTRUCTORS &&
    SKIP_GETTERS == secondSettings.SKIP_GETTERS &&
    COMPILE_BEFORE_HOTSWAP == secondSettings.COMPILE_BEFORE_HOTSWAP &&
    HOTSWAP_HANG_WARNING_ENABLED == secondSettings.HOTSWAP_HANG_WARNING_ENABLED &&
    (RUN_HOTSWAP_AFTER_COMPILE != null ? RUN_HOTSWAP_AFTER_COMPILE.equals(secondSettings.RUN_HOTSWAP_AFTER_COMPILE) : secondSettings.RUN_HOTSWAP_AFTER_COMPILE == null) &&
    DebuggerUtilsEx.filterEquals(mySteppingFilters, secondSettings.mySteppingFilters);
}
 
开发者ID:lshain-android-source,项目名称:tools-idea,代码行数:22,代码来源:DebuggerSettings.java

示例3: equals

import com.intellij.debugger.impl.DebuggerUtilsEx; //导入方法依赖的package包/类
public boolean equals(Object obj)
{
	if(!(obj instanceof DebuggerSettings))
	{
		return false;
	}
	DebuggerSettings secondSettings = (DebuggerSettings) obj;

	return TRACING_FILTERS_ENABLED == secondSettings.TRACING_FILTERS_ENABLED && DEBUGGER_TRANSPORT == secondSettings.DEBUGGER_TRANSPORT && StringUtil.equals(EVALUATE_FINALLY_ON_POP_FRAME,
			secondSettings.EVALUATE_FINALLY_ON_POP_FRAME) && FORCE_CLASSIC_VM == secondSettings.FORCE_CLASSIC_VM && DISABLE_JIT == secondSettings.DISABLE_JIT && SHOW_ALTERNATIVE_SOURCE ==
			secondSettings.SHOW_ALTERNATIVE_SOURCE && KILL_PROCESS_IMMEDIATELY == secondSettings.KILL_PROCESS_IMMEDIATELY && HOTSWAP_IN_BACKGROUND == secondSettings.HOTSWAP_IN_BACKGROUND &&
			SKIP_SYNTHETIC_METHODS == secondSettings.SKIP_SYNTHETIC_METHODS && SKIP_CLASSLOADERS == secondSettings.SKIP_CLASSLOADERS && SKIP_CONSTRUCTORS == secondSettings.SKIP_CONSTRUCTORS &&
			SKIP_GETTERS == secondSettings.SKIP_GETTERS && RESUME_ONLY_CURRENT_THREAD == secondSettings.RESUME_ONLY_CURRENT_THREAD && COMPILE_BEFORE_HOTSWAP == secondSettings
			.COMPILE_BEFORE_HOTSWAP && HOTSWAP_HANG_WARNING_ENABLED == secondSettings.HOTSWAP_HANG_WARNING_ENABLED && (RUN_HOTSWAP_AFTER_COMPILE != null ? RUN_HOTSWAP_AFTER_COMPILE.equals
			(secondSettings.RUN_HOTSWAP_AFTER_COMPILE) : secondSettings.RUN_HOTSWAP_AFTER_COMPILE == null) && DebuggerUtilsEx.filterEquals(mySteppingFilters, secondSettings.mySteppingFilters) &&
			myCapturePoints.equals(((DebuggerSettings) obj).myCapturePoints);
}
 
开发者ID:consulo,项目名称:consulo-java,代码行数:18,代码来源:DebuggerSettings.java

示例4: areDefaultRenderersModified

import com.intellij.debugger.impl.DebuggerUtilsEx; //导入方法依赖的package包/类
private boolean areDefaultRenderersModified() {
  if (myArrayRendererConfigurable.isModified()) {
    return true;
  }
  final NodeRendererSettings rendererSettings = NodeRendererSettings.getInstance();

  final ClassRenderer classRenderer = rendererSettings.getClassRenderer();
  final boolean isClassRendererModified=
  (classRenderer.SORT_ASCENDING != myCbSort.isSelected()) ||
  (classRenderer.SHOW_STATIC != myCbShowStatic.isSelected()) ||
  (classRenderer.SHOW_STATIC_FINAL != myCbShowStaticFinalFields.isSelectedWhenSelectable()) ||
  (classRenderer.SHOW_SYNTHETICS != myCbShowSyntheticFields.isSelected()) ||
  (classRenderer.SHOW_VAL_FIELDS_AS_LOCAL_VARIABLES != myCbShowValFieldsAsLocalVariables.isSelectedWhenSelectable()) ||
  (classRenderer.SHOW_DECLARED_TYPE != myCbShowDeclaredType.isSelected()) ||
  (classRenderer.SHOW_FQ_TYPE_NAMES != myCbShowFQNames.isSelected()) ||
  (classRenderer.SHOW_OBJECT_ID != myCbShowObjectId.isSelected());
  if (isClassRendererModified) {
    return true;
  }

  final ToStringRenderer toStringRenderer = rendererSettings.getToStringRenderer();
  final boolean isToStringRendererModified =
    (toStringRenderer.isEnabled() != myCbEnableToString.isSelected()) ||
    (toStringRenderer.isUseClassFilters() != myRbFromList.isSelected()) ||
    (!DebuggerUtilsEx.filterEquals(toStringRenderer.getClassFilters(), myToStringFilterEditor.getFilters()));
  if (isToStringRendererModified) {
    return true;
  }

  if (rendererSettings.areAlternateCollectionViewsEnabled() != myCbEnableAlternateViews.isSelected()) {
    return true;
  }

  return false;
}
 
开发者ID:lshain-android-source,项目名称:tools-idea,代码行数:36,代码来源:DebuggerDataViewsConfigurable.java

示例5: areDefaultRenderersModified

import com.intellij.debugger.impl.DebuggerUtilsEx; //导入方法依赖的package包/类
private boolean areDefaultRenderersModified() {
  //if (myArrayRendererConfigurable.isModified()) {
  //  return true;
  //}

  final NodeRendererSettings rendererSettings = NodeRendererSettings.getInstance();

  final ClassRenderer classRenderer = rendererSettings.getClassRenderer();
  final boolean isClassRendererModified=
  (classRenderer.SHOW_STATIC != myCbShowStatic.isSelected()) ||
  (classRenderer.SHOW_STATIC_FINAL != myCbShowStaticFinalFields.isSelectedWhenSelectable()) ||
  (classRenderer.SHOW_SYNTHETICS != myCbShowSyntheticFields.isSelected()) ||
  (classRenderer.SHOW_VAL_FIELDS_AS_LOCAL_VARIABLES != myCbShowValFieldsAsLocalVariables.isSelectedWhenSelectable()) ||
  (classRenderer.SHOW_DECLARED_TYPE != myCbShowDeclaredType.isSelected()) ||
  (classRenderer.SHOW_FQ_TYPE_NAMES != myCbShowFQNames.isSelected()) ||
  (classRenderer.SHOW_OBJECT_ID != myCbShowObjectId.isSelected()) ||
  (classRenderer.SHOW_STRINGS_TYPE != myCbShowStringsType.isSelected());

  if (isClassRendererModified) {
    return true;
  }

  final ToStringRenderer toStringRenderer = rendererSettings.getToStringRenderer();
  final boolean isToStringRendererModified =
    (toStringRenderer.isEnabled() != myCbEnableToString.isSelected()) ||
    (toStringRenderer.isUseClassFilters() != myRbFromList.isSelected()) ||
    (!DebuggerUtilsEx.filterEquals(toStringRenderer.getClassFilters(), myToStringFilterEditor.getFilters()));
  if (isToStringRendererModified) {
    return true;
  }

  if (rendererSettings.areAlternateCollectionViewsEnabled() != myCbEnableAlternateViews.isSelected()) {
    return true;
  }

  PrimitiveRenderer primitiveRenderer = rendererSettings.getPrimitiveRenderer();
  if (primitiveRenderer.isShowHexValue() != myCbHexValue.isSelected()) {
    return true;
  }

  return false;
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:43,代码来源:DebuggerDataViewsConfigurable.java

示例6: areDefaultRenderersModified

import com.intellij.debugger.impl.DebuggerUtilsEx; //导入方法依赖的package包/类
private boolean areDefaultRenderersModified()
{
	//if (myArrayRendererConfigurable.isModified()) {
	//  return true;
	//}

	final NodeRendererSettings rendererSettings = NodeRendererSettings.getInstance();

	final ClassRenderer classRenderer = rendererSettings.getClassRenderer();
	final boolean isClassRendererModified =
			(classRenderer.SHOW_SYNTHETICS != myCbShowSyntheticFields.isSelected()) ||
			(classRenderer.SHOW_VAL_FIELDS_AS_LOCAL_VARIABLES != myCbShowValFieldsAsLocalVariables.isSelectedWhenSelectable()) ||
			(classRenderer.SHOW_DECLARED_TYPE != myCbShowDeclaredType.isSelected()) ||
			(classRenderer.SHOW_FQ_TYPE_NAMES != myCbShowFQNames.isSelected()) ||
			(classRenderer.SHOW_OBJECT_ID != myCbShowObjectId.isSelected()) ||
			(classRenderer.SHOW_STRINGS_TYPE != myCbShowStringsType.isSelected());

	if(isClassRendererModified)
	{
		return true;
	}

	final ToStringRenderer toStringRenderer = rendererSettings.getToStringRenderer();
	final boolean isToStringRendererModified = (toStringRenderer.isEnabled() != myCbEnableToString.isSelected()) ||
			(toStringRenderer.isUseClassFilters() != myRbFromList.isSelected()) ||
			(!DebuggerUtilsEx.filterEquals(toStringRenderer.getClassFilters(), myToStringFilterEditor.getFilters()));
	if(isToStringRendererModified)
	{
		return true;
	}

	if(rendererSettings.areAlternateCollectionViewsEnabled() != myCbEnableAlternateViews.isSelected())
	{
		return true;
	}

	PrimitiveRenderer primitiveRenderer = rendererSettings.getPrimitiveRenderer();
	if(primitiveRenderer.isShowHexValue() != myCbHexValue.isSelected())
	{
		return true;
	}

	return false;
}
 
开发者ID:consulo,项目名称:consulo-java,代码行数:45,代码来源:DebuggerDataViewsConfigurable.java


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