test_class.declarator: converter
test_class.modifier: private
test_class.original_string: private StringToOpenTypeConverter converter;
test_class.type: StringToOpenTypeConverter
test_class.var_name: converter
test_class.file: agent/core/src/test/java/org/jolokia/converter/object/StringToOpenTypeConverterTest.java
test_class.identifier: StringToOpenTypeConverterTest
test_case.body: @Test(expectedExceptions = UnsupportedOperationException.class,expectedExceptionsMessageRegExp = ".*Unsupported.*")
      public void arrayTypeWithWrongElementType() throws OpenDataException {
          TabularTypeAndJson taj = new TabularTypeAndJson(
                  new String[] { "verein" },
                  new CompositeTypeAndJson(
                     STRING,"verein","fcn",
                     BOOLEAN,"absteiger",false
                  )
          );
          JSONArray array = new JSONArray();
          array.add(taj.getJson());
          converter.convertToObject(new ArrayType(2, taj.getType()),array);
      }
test_case.class_method_signature: StringToOpenTypeConverterTest.arrayTypeWithWrongElementType()
test_case.full_signature: @Test(expectedExceptions = UnsupportedOperationException.class,expectedExceptionsMessageRegExp = ".*Unsupported.*") public void arrayTypeWithWrongElementType()
test_case.identifier: arrayTypeWithWrongElementType
test_case.invocations: add getJson convertToObject getType
test_case.modifiers: @Test(expectedExceptions = UnsupportedOperationException.class,expectedExceptionsMessageRegExp = ".*Unsupported.*") public
test_case.parameters: ()
test_case.return: void
test_case.signature: void arrayTypeWithWrongElementType()
focal_class.declarator: converters
focal_class.modifier: private
focal_class.original_string: private List<OpenTypeConverter<? extends OpenType>> converters;
focal_class.type: List<OpenTypeConverter<? extends OpenType>>
focal_class.var_name: converters
focal_class.file: agent/core/src/main/java/org/jolokia/converter/object/StringToOpenTypeConverter.java
focal_class.identifier: StringToOpenTypeConverter
focal_class.class_method_signature: StringToOpenTypeConverter.StringToOpenTypeConverter(StringToObjectConverter pStringToObjectConverter)
focal_class.full_signature: public  StringToOpenTypeConverter(StringToObjectConverter pStringToObjectConverter)
focal_class.identifier: StringToOpenTypeConverter
focal_class.modifiers: public
focal_class.parameters: (StringToObjectConverter pStringToObjectConverter)
focal_class.signature:  StringToOpenTypeConverter(StringToObjectConverter pStringToObjectConverter)
focal_class.class_method_signature: StringToOpenTypeConverter.convertToObject(OpenType openType, Object pValue)
focal_class.full_signature: @SuppressWarnings("unchecked") @Override public Object convertToObject(OpenType openType, Object pValue)
focal_class.identifier: convertToObject
focal_class.modifiers: @SuppressWarnings("unchecked") @Override public
focal_class.parameters: (OpenType openType, Object pValue)
focal_class.return: Object
focal_class.signature: Object convertToObject(OpenType openType, Object pValue)
focal_class.class_method_signature: StringToOpenTypeConverter.canConvert(OpenType pType)
focal_class.full_signature: @Override boolean canConvert(OpenType pType)
focal_class.identifier: canConvert
focal_class.modifiers: @Override
focal_class.parameters: (OpenType pType)
focal_class.return: boolean
focal_class.signature: boolean canConvert(OpenType pType)
focal_class.class_method_signature: StringToOpenTypeConverter.makeForgiving()
focal_class.full_signature: public StringToOpenTypeConverter makeForgiving()
focal_class.identifier: makeForgiving
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: StringToOpenTypeConverter
focal_class.signature: StringToOpenTypeConverter makeForgiving()
focal_class.superclass: extends OpenTypeConverter
focal_method.body: @SuppressWarnings("unchecked")
      @Override
  	public Object convertToObject(OpenType openType, Object pValue) {
          if (pValue == null) {
              return null;
          } else {
              for (OpenTypeConverter converter : converters) {
                  if (converter.canConvert(openType)) {
                      return converter.convertToObject(openType,pValue);
                  }
              }
              throw new IllegalArgumentException(
                      "Cannot convert " + pValue + " to " + openType + ": " + "No converter could be found");
          }
  	}
focal_method.class_method_signature: StringToOpenTypeConverter.convertToObject(OpenType openType, Object pValue)
focal_method.full_signature: @SuppressWarnings("unchecked") @Override public Object convertToObject(OpenType openType, Object pValue)
focal_method.identifier: convertToObject
focal_method.invocations: canConvert convertToObject
focal_method.modifiers: @SuppressWarnings("unchecked") @Override public
focal_method.parameters: (OpenType openType, Object pValue)
focal_method.return: Object
focal_method.signature: Object convertToObject(OpenType openType, Object pValue)