parameters: (self, native)
return_statement: return template.substitute(values)
docstring: Return the name of the stub function for this native method.
  
      Args:
        native: the native dictionary describing the method.
  
      Returns:
        A string with the stub function name (used by the JVM).
docstring_summary: Return the name of the stub function for this native method.
docstring_tokens: Return the name of the stub function for this native method .
function: def GetStubName(self, native):
      """Return the name of the stub function for this native method.
  
      Args:
        native: the native dictionary describing the method.
  
      Returns:
        A string with the stub function name (used by the JVM).
      """
      if native.is_proxy:
        method_name = EscapeClassName(native.proxy_name)
        return 'Java_%s_%s' % (EscapeClassName(
            ProxyHelpers.GetQualifiedClass(self.use_proxy_hash)), method_name)
  
      template = Template('Java_${JAVA_NAME}_native${NAME}')
  
      java_name = self.fully_qualified_class
      if native.java_class_name:
        java_name += '$' + native.java_class_name
  
      values = {'NAME': native.name, 'JAVA_NAME': EscapeClassName(java_name)}
      return template.substitute(values)
function_tokens: def GetStubName ( self , native ) : if native . is_proxy : method_name = EscapeClassName ( native . proxy_name ) return 'Java_%s_%s' % ( EscapeClassName ( ProxyHelpers . GetQualifiedClass ( self . use_proxy_hash ) ) , method_name ) template = Template ( 'Java_${JAVA_NAME}_native${NAME}' ) java_name = self . fully_qualified_class if native . java_class_name : java_name += '$' + native . java_class_name values = { 'NAME' : native . name , 'JAVA_NAME' : EscapeClassName ( java_name ) } return template . substitute ( values )