def AnnotateParameter(self, method, parameter):
    super(GwtGenerator, self).AnnotateParameter(method, parameter)
    enum_type = parameter.values.get('enumType')
    if enum_type:
      # For generated enums, we need to qualify the parent class of the enum so
      # that two methods that take a similarly-named enum parameter don't get
      # confused.
      # TODO(user): This will fail when enums can be $refs. Get rid of all
      # special purpuse enum annotations and checks.
      name = '%s.%s' % (method.values['className'],
                        enum_type.values['className'])
      enum_type.SetTemplateValue('codeType', name)
Add GWT-specific annotations to parameter declaration.
dataset/ETHPy150Open google/apis-client-generator/src/googleapis/codegen/gwt_generator.py/GwtGenerator.AnnotateParameter