test_class.file: com.gzoltar.core/src/test/java/com/gzoltar/core/TestAgentConfigs.java
test_class.identifier: TestAgentConfigs
test_case.body: @Test
    public void testPrependNullVMArguments() {
      AgentConfigs agentConfigs = new AgentConfigs();
      assertEquals("-javaagent:/tmp/foo=",
          agentConfigs.prependVMArguments(null, new File("/tmp/foo")));
    }
test_case.class_method_signature: TestAgentConfigs.testPrependNullVMArguments()
test_case.full_signature: @Test public void testPrependNullVMArguments()
test_case.identifier: testPrependNullVMArguments
test_case.invocations: assertEquals prependVMArguments
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testPrependNullVMArguments()
focal_class.declarator: BUILDLOCATION_KEY = "buildlocation"
focal_class.modifier: public static final
focal_class.original_string: public static final String BUILDLOCATION_KEY = "buildlocation";
focal_class.type: String
focal_class.var_name: BUILDLOCATION_KEY
focal_class.declarator: DEFAULT_BUILDLOCATION = ""
focal_class.modifier: public static final
focal_class.original_string: public static final String DEFAULT_BUILDLOCATION = "";
focal_class.type: String
focal_class.var_name: DEFAULT_BUILDLOCATION
focal_class.declarator: DESTFILE_KEY = "destfile"
focal_class.modifier: public static final
focal_class.original_string: public static final String DESTFILE_KEY = "destfile";
focal_class.type: String
focal_class.var_name: DESTFILE_KEY
focal_class.declarator: DEFAULT_DESTFILE = "gzoltar.ser"
focal_class.modifier: public static final
focal_class.original_string: public static final String DEFAULT_DESTFILE = "gzoltar.ser";
focal_class.type: String
focal_class.var_name: DEFAULT_DESTFILE
focal_class.declarator: INCLUDES_KEY = "includes"
focal_class.modifier: public static final
focal_class.original_string: public static final String INCLUDES_KEY = "includes";
focal_class.type: String
focal_class.var_name: INCLUDES_KEY
focal_class.declarator: DEFAULT_INCLUDES = "*"
focal_class.modifier: public static final
focal_class.original_string: public static final String DEFAULT_INCLUDES = "*";
focal_class.type: String
focal_class.var_name: DEFAULT_INCLUDES
focal_class.declarator: EXCLUDES_KEY = "excludes"
focal_class.modifier: public static final
focal_class.original_string: public static final String EXCLUDES_KEY = "excludes";
focal_class.type: String
focal_class.var_name: EXCLUDES_KEY
focal_class.declarator: DEFAULT_EXCLUDES = ""
focal_class.modifier: public static final
focal_class.original_string: public static final String DEFAULT_EXCLUDES = "";
focal_class.type: String
focal_class.var_name: DEFAULT_EXCLUDES
focal_class.declarator: EXCLCLASSLOADER_KEY = "exclclassloader"
focal_class.modifier: public static final
focal_class.original_string: public static final String EXCLCLASSLOADER_KEY = "exclclassloader";
focal_class.type: String
focal_class.var_name: EXCLCLASSLOADER_KEY
focal_class.declarator: DEFAULT_EXCLCLASSLOADER = "sun.reflect.DelegatingClassLoader"
focal_class.modifier: public static final
focal_class.original_string: public static final String DEFAULT_EXCLCLASSLOADER = "sun.reflect.DelegatingClassLoader";
focal_class.type: String
focal_class.var_name: DEFAULT_EXCLCLASSLOADER
focal_class.declarator: INCLNOLOCATIONCLASSES_KEY = "inclnolocationclasses"
focal_class.modifier: public static final
focal_class.original_string: public static final String INCLNOLOCATIONCLASSES_KEY = "inclnolocationclasses";
focal_class.type: String
focal_class.var_name: INCLNOLOCATIONCLASSES_KEY
focal_class.declarator: DEFAULT_INCLNOLOCATIONCLASSES = false
focal_class.modifier: public static final
focal_class.original_string: public static final boolean DEFAULT_INCLNOLOCATIONCLASSES = false;
focal_class.type: boolean
focal_class.var_name: DEFAULT_INCLNOLOCATIONCLASSES
focal_class.declarator: OUTPUT_KEY = "output"
focal_class.modifier: public static final
focal_class.original_string: public static final String OUTPUT_KEY = "output";
focal_class.type: String
focal_class.var_name: OUTPUT_KEY
focal_class.declarator: DEFAULT_OUTPUT = AgentOutput.FILE
focal_class.modifier: public static final
focal_class.original_string: public static final AgentOutput DEFAULT_OUTPUT = AgentOutput.FILE;
focal_class.type: AgentOutput
focal_class.var_name: DEFAULT_OUTPUT
focal_class.declarator: GRANULARITY_KEY = "granularity"
focal_class.modifier: public static final
focal_class.original_string: public static final String GRANULARITY_KEY = "granularity";
focal_class.type: String
focal_class.var_name: GRANULARITY_KEY
focal_class.declarator: DEFAULT_GRANULARITY = GranularityLevel.LINE
focal_class.modifier: public static final
focal_class.original_string: public static final GranularityLevel DEFAULT_GRANULARITY = GranularityLevel.LINE;
focal_class.type: GranularityLevel
focal_class.var_name: DEFAULT_GRANULARITY
focal_class.declarator: INCLPUBLICMETHODS_KEY = "inclpublicmethods"
focal_class.modifier: public static final
focal_class.original_string: public static final String INCLPUBLICMETHODS_KEY = "inclpublicmethods";
focal_class.type: String
focal_class.var_name: INCLPUBLICMETHODS_KEY
focal_class.declarator: DEFAULT_INCLPUBLICMETHODS = true
focal_class.modifier: public static final
focal_class.original_string: public static final boolean DEFAULT_INCLPUBLICMETHODS = true;
focal_class.type: boolean
focal_class.var_name: DEFAULT_INCLPUBLICMETHODS
focal_class.declarator: INCLSTATICCONSTRUCTORS_KEY = "inclstaticconstructors"
focal_class.modifier: public static final
focal_class.original_string: public static final String INCLSTATICCONSTRUCTORS_KEY = "inclstaticconstructors";
focal_class.type: String
focal_class.var_name: INCLSTATICCONSTRUCTORS_KEY
focal_class.declarator: DEFAULT_INCLSTATICCONSTRUCTORS = true
focal_class.modifier: public static final
focal_class.original_string: public static final boolean DEFAULT_INCLSTATICCONSTRUCTORS = true;
focal_class.type: boolean
focal_class.var_name: DEFAULT_INCLSTATICCONSTRUCTORS
focal_class.declarator: INCLDEPRECATEDMETHODS_KEY = "incldeprecatedmethods"
focal_class.modifier: public static final
focal_class.original_string: public static final String INCLDEPRECATEDMETHODS_KEY = "incldeprecatedmethods";
focal_class.type: String
focal_class.var_name: INCLDEPRECATEDMETHODS_KEY
focal_class.declarator: DEFAULT_INCLDEPRECATEDMETHODS = true
focal_class.modifier: public static final
focal_class.original_string: public static final boolean DEFAULT_INCLDEPRECATEDMETHODS = true;
focal_class.type: boolean
focal_class.var_name: DEFAULT_INCLDEPRECATEDMETHODS
focal_class.declarator: INSTRUMENTATION_LEVEL_KEY = "instrumentation_level"
focal_class.modifier: public static final
focal_class.original_string: public static final String INSTRUMENTATION_LEVEL_KEY = "instrumentation_level";
focal_class.type: String
focal_class.var_name: INSTRUMENTATION_LEVEL_KEY
focal_class.declarator: DEFAULT_INSTRUMENTATION_LEVEL = InstrumentationLevel.FULL
focal_class.modifier: public static final
focal_class.original_string: public static final InstrumentationLevel DEFAULT_INSTRUMENTATION_LEVEL = InstrumentationLevel.FULL;
focal_class.type: InstrumentationLevel
focal_class.var_name: DEFAULT_INSTRUMENTATION_LEVEL
focal_class.declarator: configs
focal_class.modifier: private final
focal_class.original_string: private final Map<String, String> configs;
focal_class.type: Map<String, String>
focal_class.var_name: configs
focal_class.declarator: VALID_CONFIGS =
        Arrays.asList(BUILDLOCATION_KEY, DESTFILE_KEY, INCLUDES_KEY, EXCLUDES_KEY,
            EXCLCLASSLOADER_KEY, INCLNOLOCATIONCLASSES_KEY, OUTPUT_KEY, GRANULARITY_KEY,
            INCLPUBLICMETHODS_KEY, INCLSTATICCONSTRUCTORS_KEY, INCLDEPRECATEDMETHODS_KEY)
focal_class.modifier: private static final
focal_class.original_string: private static final Collection<String> VALID_CONFIGS =
        Arrays.asList(BUILDLOCATION_KEY, DESTFILE_KEY, INCLUDES_KEY, EXCLUDES_KEY,
            EXCLCLASSLOADER_KEY, INCLNOLOCATIONCLASSES_KEY, OUTPUT_KEY, GRANULARITY_KEY,
            INCLPUBLICMETHODS_KEY, INCLSTATICCONSTRUCTORS_KEY, INCLDEPRECATEDMETHODS_KEY);
focal_class.type: Collection<String>
focal_class.var_name: VALID_CONFIGS
focal_class.declarator: CONFIG_SPLIT = Pattern.compile(",(?=[a-zA-Z0-9_\\-]+=)")
focal_class.modifier: private static final
focal_class.original_string: private static final Pattern CONFIG_SPLIT = Pattern.compile(",(?=[a-zA-Z0-9_\\-]+=)");
focal_class.type: Pattern
focal_class.var_name: CONFIG_SPLIT
focal_class.file: com.gzoltar.core/src/main/java/com/gzoltar/core/AgentConfigs.java
focal_class.identifier: AgentConfigs
focal_class.class_method_signature: AgentConfigs.AgentConfigs()
focal_class.full_signature: public  AgentConfigs()
focal_class.identifier: AgentConfigs
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  AgentConfigs()
focal_class.class_method_signature: AgentConfigs.AgentConfigs(final String agentConfigs)
focal_class.full_signature: public  AgentConfigs(final String agentConfigs)
focal_class.identifier: AgentConfigs
focal_class.modifiers: public
focal_class.parameters: (final String agentConfigs)
focal_class.signature:  AgentConfigs(final String agentConfigs)
focal_class.class_method_signature: AgentConfigs.AgentConfigs(final Properties properties)
focal_class.full_signature: public  AgentConfigs(final Properties properties)
focal_class.identifier: AgentConfigs
focal_class.modifiers: public
focal_class.parameters: (final Properties properties)
focal_class.signature:  AgentConfigs(final Properties properties)
focal_class.class_method_signature: AgentConfigs.setConfig(final String key, final String value)
focal_class.full_signature: private void setConfig(final String key, final String value)
focal_class.identifier: setConfig
focal_class.modifiers: private
focal_class.parameters: (final String key, final String value)
focal_class.return: void
focal_class.signature: void setConfig(final String key, final String value)
focal_class.class_method_signature: AgentConfigs.getConfig(final String key, final String defaultValue)
focal_class.full_signature: private String getConfig(final String key, final String defaultValue)
focal_class.identifier: getConfig
focal_class.modifiers: private
focal_class.parameters: (final String key, final String defaultValue)
focal_class.return: String
focal_class.signature: String getConfig(final String key, final String defaultValue)
focal_class.class_method_signature: AgentConfigs.setConfig(final String key, final boolean value)
focal_class.full_signature: private void setConfig(final String key, final boolean value)
focal_class.identifier: setConfig
focal_class.modifiers: private
focal_class.parameters: (final String key, final boolean value)
focal_class.return: void
focal_class.signature: void setConfig(final String key, final boolean value)
focal_class.class_method_signature: AgentConfigs.getConfig(final String key, final boolean defaultValue)
focal_class.full_signature: private boolean getConfig(final String key, final boolean defaultValue)
focal_class.identifier: getConfig
focal_class.modifiers: private
focal_class.parameters: (final String key, final boolean defaultValue)
focal_class.return: boolean
focal_class.signature: boolean getConfig(final String key, final boolean defaultValue)
focal_class.class_method_signature: AgentConfigs.getBuildLocation()
focal_class.full_signature: public String getBuildLocation()
focal_class.identifier: getBuildLocation
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getBuildLocation()
focal_class.class_method_signature: AgentConfigs.setBuildLocation(final String buildLocation)
focal_class.full_signature: public void setBuildLocation(final String buildLocation)
focal_class.identifier: setBuildLocation
focal_class.modifiers: public
focal_class.parameters: (final String buildLocation)
focal_class.return: void
focal_class.signature: void setBuildLocation(final String buildLocation)
focal_class.class_method_signature: AgentConfigs.getDestfile()
focal_class.full_signature: public String getDestfile()
focal_class.identifier: getDestfile
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getDestfile()
focal_class.class_method_signature: AgentConfigs.setDestfile(final String destfile)
focal_class.full_signature: public void setDestfile(final String destfile)
focal_class.identifier: setDestfile
focal_class.modifiers: public
focal_class.parameters: (final String destfile)
focal_class.return: void
focal_class.signature: void setDestfile(final String destfile)
focal_class.class_method_signature: AgentConfigs.getIncludes()
focal_class.full_signature: public String getIncludes()
focal_class.identifier: getIncludes
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getIncludes()
focal_class.class_method_signature: AgentConfigs.setIncludes(final String includes)
focal_class.full_signature: public void setIncludes(final String includes)
focal_class.identifier: setIncludes
focal_class.modifiers: public
focal_class.parameters: (final String includes)
focal_class.return: void
focal_class.signature: void setIncludes(final String includes)
focal_class.class_method_signature: AgentConfigs.getExcludes()
focal_class.full_signature: public String getExcludes()
focal_class.identifier: getExcludes
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getExcludes()
focal_class.class_method_signature: AgentConfigs.setExcludes(final String excludes)
focal_class.full_signature: public void setExcludes(final String excludes)
focal_class.identifier: setExcludes
focal_class.modifiers: public
focal_class.parameters: (final String excludes)
focal_class.return: void
focal_class.signature: void setExcludes(final String excludes)
focal_class.class_method_signature: AgentConfigs.getExclClassloader()
focal_class.full_signature: public String getExclClassloader()
focal_class.identifier: getExclClassloader
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getExclClassloader()
focal_class.class_method_signature: AgentConfigs.setExclClassloader(final String expression)
focal_class.full_signature: public void setExclClassloader(final String expression)
focal_class.identifier: setExclClassloader
focal_class.modifiers: public
focal_class.parameters: (final String expression)
focal_class.return: void
focal_class.signature: void setExclClassloader(final String expression)
focal_class.class_method_signature: AgentConfigs.getInclNoLocationClasses()
focal_class.full_signature: public boolean getInclNoLocationClasses()
focal_class.identifier: getInclNoLocationClasses
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean getInclNoLocationClasses()
focal_class.class_method_signature: AgentConfigs.setInclNoLocationClasses(final boolean include)
focal_class.full_signature: public void setInclNoLocationClasses(final boolean include)
focal_class.identifier: setInclNoLocationClasses
focal_class.modifiers: public
focal_class.parameters: (final boolean include)
focal_class.return: void
focal_class.signature: void setInclNoLocationClasses(final boolean include)
focal_class.class_method_signature: AgentConfigs.getOutput()
focal_class.full_signature: public AgentOutput getOutput()
focal_class.identifier: getOutput
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: AgentOutput
focal_class.signature: AgentOutput getOutput()
focal_class.class_method_signature: AgentConfigs.setOutput(final String output)
focal_class.full_signature: public void setOutput(final String output)
focal_class.identifier: setOutput
focal_class.modifiers: public
focal_class.parameters: (final String output)
focal_class.return: void
focal_class.signature: void setOutput(final String output)
focal_class.class_method_signature: AgentConfigs.setOutput(final AgentOutput output)
focal_class.full_signature: public void setOutput(final AgentOutput output)
focal_class.identifier: setOutput
focal_class.modifiers: public
focal_class.parameters: (final AgentOutput output)
focal_class.return: void
focal_class.signature: void setOutput(final AgentOutput output)
focal_class.class_method_signature: AgentConfigs.getGranularity()
focal_class.full_signature: public GranularityLevel getGranularity()
focal_class.identifier: getGranularity
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: GranularityLevel
focal_class.signature: GranularityLevel getGranularity()
focal_class.class_method_signature: AgentConfigs.setGranularity(final String granularity)
focal_class.full_signature: public void setGranularity(final String granularity)
focal_class.identifier: setGranularity
focal_class.modifiers: public
focal_class.parameters: (final String granularity)
focal_class.return: void
focal_class.signature: void setGranularity(final String granularity)
focal_class.class_method_signature: AgentConfigs.setGranularity(final GranularityLevel granularity)
focal_class.full_signature: public void setGranularity(final GranularityLevel granularity)
focal_class.identifier: setGranularity
focal_class.modifiers: public
focal_class.parameters: (final GranularityLevel granularity)
focal_class.return: void
focal_class.signature: void setGranularity(final GranularityLevel granularity)
focal_class.class_method_signature: AgentConfigs.getInclPublicMethods()
focal_class.full_signature: public Boolean getInclPublicMethods()
focal_class.identifier: getInclPublicMethods
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Boolean
focal_class.signature: Boolean getInclPublicMethods()
focal_class.class_method_signature: AgentConfigs.setInclPublicMethods(final boolean inclPublicMethods)
focal_class.full_signature: public void setInclPublicMethods(final boolean inclPublicMethods)
focal_class.identifier: setInclPublicMethods
focal_class.modifiers: public
focal_class.parameters: (final boolean inclPublicMethods)
focal_class.return: void
focal_class.signature: void setInclPublicMethods(final boolean inclPublicMethods)
focal_class.class_method_signature: AgentConfigs.getInclStaticConstructors()
focal_class.full_signature: public Boolean getInclStaticConstructors()
focal_class.identifier: getInclStaticConstructors
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Boolean
focal_class.signature: Boolean getInclStaticConstructors()
focal_class.class_method_signature: AgentConfigs.setInclStaticConstructors(final boolean inclStaticConstructors)
focal_class.full_signature: public void setInclStaticConstructors(final boolean inclStaticConstructors)
focal_class.identifier: setInclStaticConstructors
focal_class.modifiers: public
focal_class.parameters: (final boolean inclStaticConstructors)
focal_class.return: void
focal_class.signature: void setInclStaticConstructors(final boolean inclStaticConstructors)
focal_class.class_method_signature: AgentConfigs.getInclDeprecatedMethods()
focal_class.full_signature: public Boolean getInclDeprecatedMethods()
focal_class.identifier: getInclDeprecatedMethods
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Boolean
focal_class.signature: Boolean getInclDeprecatedMethods()
focal_class.class_method_signature: AgentConfigs.setInclDeprecatedMethods(final boolean inclDeprecatedMethods)
focal_class.full_signature: public void setInclDeprecatedMethods(final boolean inclDeprecatedMethods)
focal_class.identifier: setInclDeprecatedMethods
focal_class.modifiers: public
focal_class.parameters: (final boolean inclDeprecatedMethods)
focal_class.return: void
focal_class.signature: void setInclDeprecatedMethods(final boolean inclDeprecatedMethods)
focal_class.class_method_signature: AgentConfigs.getInstrumentationLevel()
focal_class.full_signature: public InstrumentationLevel getInstrumentationLevel()
focal_class.identifier: getInstrumentationLevel
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: InstrumentationLevel
focal_class.signature: InstrumentationLevel getInstrumentationLevel()
focal_class.class_method_signature: AgentConfigs.setInstrumentationLevel(final String instrumentationLevel)
focal_class.full_signature: public void setInstrumentationLevel(final String instrumentationLevel)
focal_class.identifier: setInstrumentationLevel
focal_class.modifiers: public
focal_class.parameters: (final String instrumentationLevel)
focal_class.return: void
focal_class.signature: void setInstrumentationLevel(final String instrumentationLevel)
focal_class.class_method_signature: AgentConfigs.setInstrumentationLevel(final InstrumentationLevel instrumentationLevel)
focal_class.full_signature: public void setInstrumentationLevel(final InstrumentationLevel instrumentationLevel)
focal_class.identifier: setInstrumentationLevel
focal_class.modifiers: public
focal_class.parameters: (final InstrumentationLevel instrumentationLevel)
focal_class.return: void
focal_class.signature: void setInstrumentationLevel(final InstrumentationLevel instrumentationLevel)
focal_class.class_method_signature: AgentConfigs.getVMArgument(final File agentJarFile)
focal_class.full_signature: public String getVMArgument(final File agentJarFile)
focal_class.identifier: getVMArgument
focal_class.modifiers: public
focal_class.parameters: (final File agentJarFile)
focal_class.return: String
focal_class.signature: String getVMArgument(final File agentJarFile)
focal_class.class_method_signature: AgentConfigs.getQuotedVMArgument(final File agentJarFile)
focal_class.full_signature: public String getQuotedVMArgument(final File agentJarFile)
focal_class.identifier: getQuotedVMArgument
focal_class.modifiers: public
focal_class.parameters: (final File agentJarFile)
focal_class.return: String
focal_class.signature: String getQuotedVMArgument(final File agentJarFile)
focal_class.class_method_signature: AgentConfigs.prependVMArguments(final String arguments, final File agentJarFile)
focal_class.full_signature: public String prependVMArguments(final String arguments, final File agentJarFile)
focal_class.identifier: prependVMArguments
focal_class.modifiers: public
focal_class.parameters: (final String arguments, final File agentJarFile)
focal_class.return: String
focal_class.signature: String prependVMArguments(final String arguments, final File agentJarFile)
focal_class.class_method_signature: AgentConfigs.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_method.body: public String prependVMArguments(final String arguments, final File agentJarFile) {
      final List<String> args = CommandLineSupport.split(arguments);
      final String plainAgent = format("-javaagent:%s", agentJarFile);
      for (final Iterator<String> i = args.iterator(); i.hasNext();) {
        if (i.next().startsWith(plainAgent)) {
          i.remove();
        }
      }
      args.add(0, getVMArgument(agentJarFile));
      return CommandLineSupport.quote(args);
    }
focal_method.class_method_signature: AgentConfigs.prependVMArguments(final String arguments, final File agentJarFile)
focal_method.full_signature: public String prependVMArguments(final String arguments, final File agentJarFile)
focal_method.identifier: prependVMArguments
focal_method.invocations: split format iterator hasNext startsWith next remove add getVMArgument quote
focal_method.modifiers: public
focal_method.parameters: (final String arguments, final File agentJarFile)
focal_method.return: String
focal_method.signature: String prependVMArguments(final String arguments, final File agentJarFile)