Package util.demangler
Class GenericDemangledString
- java.lang.Object
-
- util.demangler.GenericDemangledObject
-
- util.demangler.GenericDemangledString
-
public class GenericDemangledString extends GenericDemangledObject
-
-
Field Summary
-
Fields inherited from class util.demangler.GenericDemangledObject
AT, basedName, EMPTY_STRING, isConst, isPointer64, isRestrict, isStatic, isStruct, isThunk, isUnaligned, isUnsigned, isVirtual, isVolatile, memberScope, name, namespace, NAMESPACE_SEPARATOR, originalMangled, SPACE, specialMidfix, specialPrefix, specialSuffix, storageClass, visibility
-
-
Constructor Summary
Constructors Constructor Description GenericDemangledString(java.lang.String string, int length, boolean unicode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetLength()Returns the length in bytes of the demangled string.java.lang.StringgetSignature(boolean format)Returns a complete signature for the demangled symbol.java.lang.StringgetString()Returns the demangled string.booleanisUnicode()Returns true if the demangled string is unicode.-
Methods inherited from class util.demangler.GenericDemangledObject
generatePlateComment, getBasedName, getMemberScope, getName, getNamespace, getOriginalMangled, getSpecialMidfix, getSpecialPrefix, getSpecialSuffix, getStorageClass, getVisibility, isConst, isPointer64, isRestrict, isStatic, isThunk, isUnaligned, isVirtual, isVolatile, pad, setBasedName, setConst, setMemberScope, setName, setNamespace, setOriginalMangled, setPointer64, setRestrict, setSignature, setSpecialMidfix, setSpecialPrefix, setSpecialSuffix, setStatic, setStorageClass, setStruct, setThunk, setUnaligned, setUnsigned, setVirtual, setVisibilty, setVolatile, toString
-
-
-
-
Method Detail
-
getSignature
public java.lang.String getSignature(boolean format)
Description copied from class:GenericDemangledObjectReturns 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:
getSignaturein classGenericDemangledObject- Parameters:
format- true if signature should be pretty printed- Returns:
- a complete signature for the demangled symbol
-
getString
public java.lang.String getString()
Returns the demangled string.- Returns:
- the demangled string
-
getLength
public int getLength()
Returns the length in bytes of the demangled string.- Returns:
- the length in bytes of the demangled string
-
isUnicode
public boolean isUnicode()
Returns true if the demangled string is unicode.- Returns:
- true if the demangled string is unicode
-
-