test_class.file: decorator/src/test/java/org/apache/cxf/dosgi/dsw/decorator/DecorationParserTest.java
test_class.identifier: DecorationParserTest
test_case.body: @Test
      public void testGetDecorationForNull() throws JAXBException, IOException {
          List<ServiceDecorationType> elements = new DecorationParser().getDecorations(null);
          Assert.assertEquals(0, elements.size());
      }
test_case.class_method_signature: DecorationParserTest.testGetDecorationForNull()
test_case.full_signature: @Test public void testGetDecorationForNull()
test_case.identifier: testGetDecorationForNull
test_case.invocations: getDecorations assertEquals size
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetDecorationForNull()
focal_class.declarator: jaxbContext
focal_class.modifier: private
focal_class.original_string: private JAXBContext jaxbContext;
focal_class.type: JAXBContext
focal_class.var_name: jaxbContext
focal_class.declarator: schema
focal_class.modifier: private
focal_class.original_string: private Schema schema;
focal_class.type: Schema
focal_class.var_name: schema
focal_class.file: decorator/src/main/java/org/apache/cxf/dosgi/dsw/decorator/DecorationParser.java
focal_class.identifier: DecorationParser
focal_class.class_method_signature: DecorationParser.DecorationParser()
focal_class.full_signature:   DecorationParser()
focal_class.identifier: DecorationParser
focal_class.parameters: ()
focal_class.signature:  DecorationParser()
focal_class.class_method_signature: DecorationParser.getDecorations(URL resourceURL)
focal_class.full_signature:  List<ServiceDecorationType> getDecorations(URL resourceURL)
focal_class.identifier: getDecorations
focal_class.parameters: (URL resourceURL)
focal_class.return: List<ServiceDecorationType>
focal_class.signature: List<ServiceDecorationType> getDecorations(URL resourceURL)
focal_class.class_method_signature: DecorationParser.decorationType(URL resourceURL)
focal_class.full_signature: private boolean decorationType(URL resourceURL)
focal_class.identifier: decorationType
focal_class.modifiers: private
focal_class.parameters: (URL resourceURL)
focal_class.return: boolean
focal_class.signature: boolean decorationType(URL resourceURL)
focal_method.body: List<ServiceDecorationType> getDecorations(URL resourceURL) throws JAXBException, IOException {
          if (resourceURL == null || !decorationType(resourceURL)) {
              return new ArrayList<>();
          }
          Unmarshaller unmarshaller = jaxbContext.createUnmarshaller();
          unmarshaller.setSchema(schema);
          InputStream is = resourceURL.openStream();
          Source source = new StreamSource(is);
          JAXBElement<ServiceDecorationsType> jaxb = unmarshaller.unmarshal(source, ServiceDecorationsType.class);
          ServiceDecorationsType decorations = jaxb.getValue();
          return decorations.getServiceDecoration();
      }
focal_method.class_method_signature: DecorationParser.getDecorations(URL resourceURL)
focal_method.full_signature:  List<ServiceDecorationType> getDecorations(URL resourceURL)
focal_method.identifier: getDecorations
focal_method.invocations: decorationType createUnmarshaller setSchema openStream unmarshal getValue getServiceDecoration
focal_method.parameters: (URL resourceURL)
focal_method.return: List<ServiceDecorationType>
focal_method.signature: List<ServiceDecorationType> getDecorations(URL resourceURL)