@Test public void testGetStringValue() throws Properties.NoSuchParameterException, IllegalAccessException { String value = CrashProperties.getInstance().getStringValue("D_OPT"); LOG.debug(value); }
public String getStringValue(String property) throws IllegalAccessException, Properties.NoSuchParameterException { if (Properties.hasParameter(property)) { return Properties.getStringValue(property); } else if (configFile.containsKey(property)) { return configFile.getProperty(property); } return null; }
CrashProperties { public String getStringValue(String property) throws IllegalAccessException, Properties.NoSuchParameterException { if (Properties.hasParameter(property)) { return Properties.getStringValue(property); } else if (configFile.containsKey(property)) { return configFile.getProperty(property); } return null; } }
CrashProperties { public String getStringValue(String property) throws IllegalAccessException, Properties.NoSuchParameterException { if (Properties.hasParameter(property)) { return Properties.getStringValue(property); } else if (configFile.containsKey(property)) { return configFile.getProperty(property); } return null; } private  CrashProperties(); }
CrashProperties { public String getStringValue(String property) throws IllegalAccessException, Properties.NoSuchParameterException { if (Properties.hasParameter(property)) { return Properties.getStringValue(property); } else if (configFile.containsKey(property)) { return configFile.getProperty(property); } return null; } private  CrashProperties(); static CrashProperties getInstance(); String getStringValue(String property); int getIntValue(String property); long getLongValue(String property); Boolean getBooleanValue(String property); void setupStackTrace(String stacktraceFile, int targetFrame); void setupStackTrace(StackTrace crash); void setClasspath(String projectClassPath); void setClasspath(String[] projectClassPath); String[] getProjectClassPaths(); StackTrace getStackTrace(int index); Properties.StoppingCondition getStoppingCondition(); Throwable getTargetException(int crashIndex); void resetStackTrace(int index); void clearStackTraceList(); List<String> getTargetClasses(int index); int getCrashesSize(); }
CrashProperties { public String getStringValue(String property) throws IllegalAccessException, Properties.NoSuchParameterException { if (Properties.hasParameter(property)) { return Properties.getStringValue(property); } else if (configFile.containsKey(property)) { return configFile.getProperty(property); } return null; } private  CrashProperties(); static CrashProperties getInstance(); String getStringValue(String property); int getIntValue(String property); long getLongValue(String property); Boolean getBooleanValue(String property); void setupStackTrace(String stacktraceFile, int targetFrame); void setupStackTrace(StackTrace crash); void setClasspath(String projectClassPath); void setClasspath(String[] projectClassPath); String[] getProjectClassPaths(); StackTrace getStackTrace(int index); Properties.StoppingCondition getStoppingCondition(); Throwable getTargetException(int crashIndex); void resetStackTrace(int index); void clearStackTraceList(); List<String> getTargetClasses(int index); int getCrashesSize(); static final String CONFIG_PROPERTIES_FILE_NAME; @Properties.Parameter(key = "SearchAlgorithm", group = "Crash reproduction", description = "Which search algorithm to use for crash reproduction")
    static CrashProperties.SearchAlgorithm searchAlgorithm; @Properties.Parameter(key = "FitnessFunctions", group = "Crash reproduction", description = "Which fitness function should be used for the GGA")
    static CrashProperties.FitnessFunction[] fitnessFunctions; @Parameter(key = "max_target_injection_tries", group = "Runtime", description = "The maximum number of times the search tries to generate an individuals with the target method.")
    static int max_target_injection_tries; @Parameter(key = "integration_testing", group = "Crash reproduction", description = "Use integration testing for reproduce the crash.")
    static boolean integrationTesting; @Parameter(key = "line_estimation", group = "Crash reproduction", description = "Detect Missing lines in the stack trace")
    static boolean lineEstimation; @Parameter(key = "io_diversity", group = "Crash reproduction", description = "Enables I/O diversity as extra goals to MOSA")
    static boolean IODiversity; }