test_class.file: shared/src/test/java/org/eclipse/steady/shared/util/StringListTest.java
test_class.identifier: StringListTest
test_case.body: @Test
    public void testContains() {
      final String[] itemlist = new String[] {"foo.bar"};
  
      // Use as blacklist for classnames
      final StringList blacklist = new StringList(itemlist);
      assertTrue(blacklist.contains("foo.bar"));
      assertTrue(!blacklist.contains("FOO.bar"));
      assertTrue(
          blacklist.contains("FOO.bar", ComparisonMode.EQUALS, CaseSensitivity.CASE_INSENSITIVE));
      assertTrue(!blacklist.contains("top.down"));
  
      // Use as whitelist for packages
      final StringList whitelist = new StringList(itemlist);
      assertTrue(
          whitelist.contains(
              "foo.bar.Test", ComparisonMode.STARTSWITH, CaseSensitivity.CASE_SENSITIVE));
      assertTrue(
          whitelist.contains(
              "foo.BAR.Test", ComparisonMode.STARTSWITH, CaseSensitivity.CASE_INSENSITIVE));
      assertTrue(
          !whitelist.contains(
              "foo.BAR.Test", ComparisonMode.STARTSWITH, CaseSensitivity.CASE_SENSITIVE));
      assertTrue(
          !whitelist.contains(
              "top.down.Test", ComparisonMode.STARTSWITH, CaseSensitivity.CASE_SENSITIVE));
  
      // Use as blacklist for JAR file names
      final StringList jar_bl = new StringList(new String[] {"vulas-core-.*\\.jar"});
      assertTrue(
          jar_bl.contains(
              "vulas-core-1.1.0-SNAPSHOT-jar-with-dependencies.jar",
              ComparisonMode.PATTERN,
              CaseSensitivity.CASE_INSENSITIVE));
      assertTrue(
          !jar_bl.contains(
              "commons-fileupload-1.2.1.jar",
              ComparisonMode.PATTERN,
              CaseSensitivity.CASE_INSENSITIVE));
    }
test_case.class_method_signature: StringListTest.testContains()
test_case.full_signature: @Test public void testContains()
test_case.identifier: testContains
test_case.invocations: assertTrue contains assertTrue contains assertTrue contains assertTrue contains assertTrue contains assertTrue contains assertTrue contains assertTrue contains assertTrue contains assertTrue contains
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testContains()
focal_class.declarator: itemlist = new HashSet<String>()
focal_class.modifier: private
focal_class.original_string: private Set<String> itemlist = new HashSet<String>();
focal_class.type: Set<String>
focal_class.var_name: itemlist
focal_class.file: shared/src/main/java/org/eclipse/steady/shared/util/StringList.java
focal_class.identifier: StringList
focal_class.interfaces: implements Iterable<String>
focal_class.class_method_signature: StringList.StringList()
focal_class.full_signature: public  StringList()
focal_class.identifier: StringList
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  StringList()
focal_class.class_method_signature: StringList.StringList(String[] _itemlist)
focal_class.full_signature: public  StringList(String[] _itemlist)
focal_class.identifier: StringList
focal_class.modifiers: public
focal_class.parameters: (String[] _itemlist)
focal_class.signature:  StringList(String[] _itemlist)
focal_class.class_method_signature: StringList.addAll(String[] _itemlist)
focal_class.full_signature: public StringList addAll(String[] _itemlist)
focal_class.identifier: addAll
focal_class.modifiers: public
focal_class.parameters: (String[] _itemlist)
focal_class.return: StringList
focal_class.signature: StringList addAll(String[] _itemlist)
focal_class.class_method_signature: StringList.addAll(String[] _itemlist, boolean _trim)
focal_class.full_signature: public StringList addAll(String[] _itemlist, boolean _trim)
focal_class.identifier: addAll
focal_class.modifiers: public
focal_class.parameters: (String[] _itemlist, boolean _trim)
focal_class.return: StringList
focal_class.signature: StringList addAll(String[] _itemlist, boolean _trim)
focal_class.class_method_signature: StringList.addAll(String _itemlist, String _separator, boolean _trim)
focal_class.full_signature: public StringList addAll(String _itemlist, String _separator, boolean _trim)
focal_class.identifier: addAll
focal_class.modifiers: public
focal_class.parameters: (String _itemlist, String _separator, boolean _trim)
focal_class.return: StringList
focal_class.signature: StringList addAll(String _itemlist, String _separator, boolean _trim)
focal_class.class_method_signature: StringList.add(String _item)
focal_class.full_signature: public StringList add(String _item)
focal_class.identifier: add
focal_class.modifiers: public
focal_class.parameters: (String _item)
focal_class.return: StringList
focal_class.signature: StringList add(String _item)
focal_class.class_method_signature: StringList.add(String _item, boolean _trim)
focal_class.full_signature: public StringList add(String _item, boolean _trim)
focal_class.identifier: add
focal_class.modifiers: public
focal_class.parameters: (String _item, boolean _trim)
focal_class.return: StringList
focal_class.signature: StringList add(String _item, boolean _trim)
focal_class.class_method_signature: StringList.iterator()
focal_class.full_signature: public Iterator<String> iterator()
focal_class.identifier: iterator
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Iterator<String>
focal_class.signature: Iterator<String> iterator()
focal_class.class_method_signature: StringList.contains(String _value)
focal_class.full_signature: public boolean contains(String _value)
focal_class.identifier: contains
focal_class.modifiers: public
focal_class.parameters: (String _value)
focal_class.return: boolean
focal_class.signature: boolean contains(String _value)
focal_class.class_method_signature: StringList.contains(String _value, ComparisonMode _mode, CaseSensitivity _case_sensitivity)
focal_class.full_signature: public boolean contains(String _value, ComparisonMode _mode, CaseSensitivity _case_sensitivity)
focal_class.identifier: contains
focal_class.modifiers: public
focal_class.parameters: (String _value, ComparisonMode _mode, CaseSensitivity _case_sensitivity)
focal_class.return: boolean
focal_class.signature: boolean contains(String _value, ComparisonMode _mode, CaseSensitivity _case_sensitivity)
focal_class.class_method_signature: StringList.isEmpty()
focal_class.full_signature: public boolean isEmpty()
focal_class.identifier: isEmpty
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isEmpty()
focal_class.class_method_signature: StringList.toString()
focal_class.full_signature: public String toString()
focal_class.identifier: toString
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.class_method_signature: StringList.toString(String _sep)
focal_class.full_signature: public String toString(String _sep)
focal_class.identifier: toString
focal_class.modifiers: public
focal_class.parameters: (String _sep)
focal_class.return: String
focal_class.signature: String toString(String _sep)
focal_class.class_method_signature: StringList.filter(
        Map<String, String> _in,
        boolean _keep_matches,
        ComparisonMode _mode,
        CaseSensitivity _case_sensitivity)
focal_class.full_signature: public HashMap<String, String> filter(
        Map<String, String> _in,
        boolean _keep_matches,
        ComparisonMode _mode,
        CaseSensitivity _case_sensitivity)
focal_class.identifier: filter
focal_class.modifiers: public
focal_class.parameters: (
        Map<String, String> _in,
        boolean _keep_matches,
        ComparisonMode _mode,
        CaseSensitivity _case_sensitivity)
focal_class.return: HashMap<String, String>
focal_class.signature: HashMap<String, String> filter(
        Map<String, String> _in,
        boolean _keep_matches,
        ComparisonMode _mode,
        CaseSensitivity _case_sensitivity)
focal_method.body: public boolean contains(String _value) {
      return this.contains(_value, ComparisonMode.EQUALS, CaseSensitivity.CASE_SENSITIVE);
    }
focal_method.class_method_signature: StringList.contains(String _value)
focal_method.full_signature: public boolean contains(String _value)
focal_method.identifier: contains
focal_method.invocations: contains
focal_method.modifiers: public
focal_method.parameters: (String _value)
focal_method.return: boolean
focal_method.signature: boolean contains(String _value)