Class GenericDemangledFunction

    • Method Detail

      • setReturnType

        public void setReturnType​(GenericDemangledDataType returnType)
        Sets the function return type.
        Parameters:
        returnType - the function return type
      • setCallingConvention

        public void setCallingConvention​(java.lang.String callingConvention)
        Sets the function calling convention. For example, "__cdecl".
        Parameters:
        callingConvention - the function calling convention
      • setThisPassedOnStack

        public void setThisPassedOnStack​(boolean thisPassedOnStack)
        'this' is passed on the stack or false if in a register
      • isPassedOnStack

        public boolean isPassedOnStack()
      • setVirtual

        public void setVirtual()
      • setOverloadedOperator

        public void setOverloadedOperator​(boolean isOverloadedOperator)
        Sets whether this demangled function represents an overloaded operator. For example, "operator+()".
        Parameters:
        isOverloadedOperator - true if overloaded operator
      • isOverloadedOperator

        public boolean isOverloadedOperator()
      • getReturnType

        public GenericDemangledDataType getReturnType()
        Returns the return type or null, if unspecified.
        Returns:
        the return type or null, if unspecified
      • getCallingConvention

        public java.lang.String getCallingConvention()
        Returns the calling convention or null, if unspecified.
        Returns:
        the calling convention or null, if unspecified
      • setTemplatedConstructorType

        public void setTemplatedConstructorType​(java.lang.String type)
        Special constructor where it has a templated type before the parameter list
      • getSignature

        public java.lang.String getSignature​(boolean format)
        Description copied from class: GenericDemangledObject
        Returns a complete signature for the demangled symbol. For example: "unsigned long foo" "unsigned char * ClassA::getFoo(float, short *)" "void * getBar(int **, MyStruct &)" Note: based on the underlying mangling scheme, the return type may or may not be specified in the signature.
        Specified by:
        getSignature in class GenericDemangledObject
        Parameters:
        format - true if signature should be pretty printed
        Returns:
        a complete signature for the demangled symbol
      • getParameterString

        public java.lang.String getParameterString()