Package ghidra.app.util.demangler
Class DemangledList
- All Implemented Interfaces:
Demangled,Serializable,Cloneable,Iterable<Demangled>,Collection<Demangled>,List<Demangled>,RandomAccess,SequencedCollection<Demangled>
- See Also:
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount -
Constructor Summary
ConstructorsConstructorDescriptionDemangledList(List<Demangled> demangledList) Creates aDemangledListand adds the givenListto it -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns true if this contains anynullelements; otherwise, false.Returns the unmodified demangled name of this object.Returns the original mangled stringgetName()Returns the demangled name of this object.Returns the namespace containing this demangled objectReturns this object's namespace name without the fully-qualified parent path.Returns a representation of this object as fully-qualified namespace.Returns the original demangled string returned by the demangling serviceGenerates a complete representation of this object to include all know attributes of this objectvoidSets the name for this objectvoidSets the namespace of this demangled objectMethods inherited from class java.util.ArrayList
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, ensureCapacity, equals, forEach, get, getFirst, getLast, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeFirst, removeIf, removeLast, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeMethods inherited from class java.util.AbstractCollection
containsAll, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, stream, toArrayMethods inherited from interface ghidra.app.util.demangler.Demangled
getMangledContext, setMangledContextMethods inherited from interface java.util.List
containsAll, reversed
-
Constructor Details
-
DemangledList
Creates aDemangledListand adds the givenListto it
-
-
Method Details
-
containsNull
public boolean containsNull()Returns true if this contains anynullelements; otherwise, false.- Returns:
- true if this contains any
nullelements; otherwise, false
-
getMangledString
Description copied from interface:DemangledReturns the original mangled string- Specified by:
getMangledStringin interfaceDemangled- Returns:
- the string
-
getOriginalDemangled
Description copied from interface:DemangledReturns the original demangled string returned by the demangling service- Specified by:
getOriginalDemangledin interfaceDemangled- Returns:
- the original demangled string
-
getName
Description copied from interface:DemangledReturns the demangled name of this object. NOTE: unsupported symbol characters, like whitespace, will be converted to an underscore. -
setName
Description copied from interface:DemangledSets the name for this object -
getDemangledName
Description copied from interface:DemangledReturns the unmodified demangled name of this object. This name may contain whitespace and other characters not supported for symbol or data type creation. SeeDemangled.getName()for the same name modified for use within Ghidra.- Specified by:
getDemangledNamein interfaceDemangled- Returns:
- name of this DemangledObject
-
getNamespace
Description copied from interface:DemangledReturns the namespace containing this demangled object- Specified by:
getNamespacein interfaceDemangled- Returns:
- the namespace containing this demangled object
-
setNamespace
Description copied from interface:DemangledSets the namespace of this demangled object- Specified by:
setNamespacein interfaceDemangled- Parameters:
ns- the namespace
-
getNamespaceString
Description copied from interface:DemangledReturns a representation of this object as fully-qualified namespace. The value returned here may have had some special characters replaced, such as ' ' replaced with '_' and '::' replaced with '--'.- Specified by:
getNamespaceStringin interfaceDemangled- Returns:
- the full namespace
-
getNamespaceName
Description copied from interface:DemangledReturns this object's namespace name without the fully-qualified parent path. The value returned here may have had some special characters replaced, such as ' ' replaced with '_' and '::' replaced with '--'.- Specified by:
getNamespaceNamein interfaceDemangled- Returns:
- the name
-
getSignature
Description copied from interface:DemangledGenerates a complete representation of this object to include all know attributes of this object- Specified by:
getSignaturein interfaceDemangled- Returns:
- the signature
-