code: def compiler_args(self, target):
      
      self._check_target(target)
      return target.compiler_args or self._default_compiler_args
docs: Returns the compiler_args used for Thrift generation.
  
      :param target: The target to extract the compiler args from.
      :type target: :class:`pants.backend.codegen.targets.java_thrift_library.JavaThriftLibrary`
      :returns: Extra arguments for the thrift compiler
      :rtype: list