def _Int(self, data_value):
    """Convert provided int to language specific literal."""
    # Available types can be found in class variables
    code_types = {
        'Short': '%s',
        'Integer': '%s',
        'Long': '%sL',
        }
    try:
      return code_types[data_value.code_type] % long(data_value.value)
    except __HOLE__:
      raise ValueError(
          ('Provided DataValue (%s) does not present an appropriate Java '
           'annotated code type (%s).') %
          (data_value.value, data_value.code_type))
dataset/ETHPy150Open google/apis-client-generator/src/googleapis/codegen/java_generator.py/JavaLanguageModel._Int