Class JavaCommonsPreferences


  • public class JavaCommonsPreferences
    extends org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer
    • Field Detail

      • SYSTEM_EXIT_CONTROL_FLOW_REFINEMENT

        public static final java.lang.String SYSTEM_EXIT_CONTROL_FLOW_REFINEMENT
        Enable/disable System.exit() control flow refinement
        See Also:
        Constant Field Values
      • SYSTEM_EXIT_CONTROL_FLOW_REFINEMENT_DEFAULT

        public static final java.lang.Boolean SYSTEM_EXIT_CONTROL_FLOW_REFINEMENT_DEFAULT
      • THREAD_RUNNABLE_CALL_SUMMARY

        public static final java.lang.String THREAD_RUNNABLE_CALL_SUMMARY
        Enable/disable thread runnable call summary
        See Also:
        Constant Field Values
      • THREAD_RUNNABLE_CALL_SUMMARY_DEFAULT

        public static final java.lang.Boolean THREAD_RUNNABLE_CALL_SUMMARY_DEFAULT
    • Constructor Detail

      • JavaCommonsPreferences

        public JavaCommonsPreferences()
    • Method Detail

      • getPreferenceStore

        public static org.eclipse.jface.preference.IPreferenceStore getPreferenceStore()
        Returns the preference store used for these preferences
        Returns:
      • enableSystemExitControlFlowRefinement

        public static void enableSystemExitControlFlowRefinement​(boolean enabled)
        Configures System.exit() control flow refinement
      • isSystemExitControlFlowRefinementEnabled

        public static boolean isSystemExitControlFlowRefinementEnabled()
        Returns true if System.exit() control flow refinement is enabled
        Returns:
      • enableThreadRunnableCallSummary

        public static void enableThreadRunnableCallSummary​(boolean enabled)
        Configures whether or not to run thread runnable call summary
      • isThreadRunnableCallSummaryEnabled

        public static boolean isThreadRunnableCallSummaryEnabled()
        Returns true if thread runnable call summary is enabled
        Returns:
      • initializeDefaultPreferences

        public void initializeDefaultPreferences()
        Specified by:
        initializeDefaultPreferences in class org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer
      • restoreDefaults

        public static void restoreDefaults()
        Restores the default preferences
      • loadPreferences

        public static void loadPreferences()
        Loads or refreshes current preference values