Package ghidra.program.model.listing
Class OperandRepresentationList
- java.lang.Object
- 
- java.util.AbstractCollection<E>
- 
- java.util.AbstractList<E>
- 
- java.util.ArrayList<java.lang.Object>
- 
- ghidra.program.model.listing.OperandRepresentationList
 
 
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Cloneable,- java.lang.Iterable<java.lang.Object>,- java.util.Collection<java.lang.Object>,- java.util.List<java.lang.Object>,- java.util.RandomAccess
 
 public class OperandRepresentationList extends java.util.ArrayList<java.lang.Object>OperandRepresentationprovides a list for operand sub-elements. The number of elements are expected to remain constant for a given code unit operand regardless of its format.
 The list may contain various Objects including any combination of Character, String, VariableOffset, Register, Address, Scalar, LabelString, and nesting of other OperandRepresentationList objects.
 All objects returned must support the toString() method for producing an appropriate listing representation.- See Also:
- Serialized Form
 
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasError()Returns true if the representation encountered an error.booleanisPrimaryReferenceHidden()Returns true if the primary reference is not reflected in the representation.java.lang.StringtoString()Returns a formatted string representation of the specified code unit operand.- 
Methods inherited from class java.util.ArrayListadd, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
 
- 
 
- 
- 
- 
Method Detail- 
isPrimaryReferenceHiddenpublic boolean isPrimaryReferenceHidden() Returns true if the primary reference is not reflected in the representation.
 - 
hasErrorpublic boolean hasError() Returns true if the representation encountered an error. Error will be reflected within the representation as a String.
 - 
toStringpublic java.lang.String toString() Returns a formatted string representation of the specified code unit operand.- Overrides:
- toStringin class- java.util.AbstractCollection<java.lang.Object>
- Parameters:
- cu- code unit
- opIndex-
- Returns:
- formatted code unit representation
 
 
- 
 
-