def __init__(self, payload=None, package=None, language='java', **kwargs):

    payload = payload or Payload()
    payload.add_fields({
      'package': PrimitiveField(package),
      'jaxb_language': PrimitiveField(language),
    })
    super(JaxbLibrary, self).__init__(payload=payload, **kwargs)

    self.add_labels('codegen')
    self.add_labels('jaxb')

    if language != 'java':
      raise ValueError('Language "{lang}" not supported for {class_type}'
                       .format(lang=language, class_type=type(self).__name__))
ObserverTest: Test compareNotifyContext()
dataset/ETHPy150Open pantsbuild/pants/src/python/pants/backend/codegen/targets/jaxb_library.py/JaxbLibrary.__init__--crossover with--dataset/ETHPy150Open PureMVC/puremvc-python-standard-framework/tests/patterns/observer.py/ObserverTest.testCompareNotifyContext