Class DataTypeNamingUtil


  • public class DataTypeNamingUtil
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String setMangledAnonymousFunctionName​(FunctionDefinitionDataType functionDefinition, java.lang.String namePrefix)
      Generate a simple mangled function definition name and apply it to the specified functionDefinition.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • setMangledAnonymousFunctionName

        public static java.lang.String setMangledAnonymousFunctionName​(FunctionDefinitionDataType functionDefinition,
                                                                       java.lang.String namePrefix)
                                                                throws java.lang.IllegalArgumentException
        Generate a simple mangled function definition name and apply it to the specified functionDefinition.
        Parameters:
        functionDefinition - function definition whose name should be set
        namePrefix - prefix to be applied to generated name. An underscore will separate this prefix from the remainder of the mangled name. If null specified a prefix of "_function" will be used.
        Returns:
        name applied to functionDefinition
        Throws:
        java.lang.IllegalArgumentException - if generated name contains unsupported characters