Class DemangledUnknown

  • public class DemangledUnknown
    extends DemangledObject
    An interface to represent an unknown entity that we are demangling. We want to represent it in some sort of demangled form in a plate comment, but we do not know what to lay down yet, or we haven't yet engineered the item that can be laid down. If the entity has a variable name, then we would probably make it a DemangledVariable instead of a DemangledUnknown.
    • Constructor Detail

      • DemangledUnknown

        public DemangledUnknown()
      • DemangledUnknown

        public DemangledUnknown​(java.lang.String name)
    • Method Detail

      • getSignature

        public java.lang.String getSignature​(boolean format)
        Description copied from class: DemangledObject
        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 DemangledObject
        format - true if signature should be pretty printed
        a complete signature for the demangled symbol
      • getName

        public java.lang.String getName()
        Description copied from class: DemangledObject
        Returns the demangled name of this object. NOTE: unsupported symbol characters, like whitespace, will be converted to an underscore.
        getName in class DemangledObject
        name of this DemangledObject with unsupported characters converted to underscore