Class OperandRepresentationList
- All Implemented Interfaces:
Serializable, Cloneable, Iterable<Object>, Collection<Object>, List<Object>, RandomAccess, SequencedCollection<Object>
OperandRepresentation provides 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:
-
Field Summary
Fields inherited from class AbstractList
modCount -
Method Summary
Methods inherited from class 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 AbstractCollection
containsAllMethods inherited from interface Collection
parallelStream, stream, toArrayMethods inherited from interface List
containsAll, reversed
-
Method Details
-
isPrimaryReferenceHidden
public boolean isPrimaryReferenceHidden()Returns true if the primary reference is not reflected in the representation. -
hasError
public boolean hasError()Returns true if the representation encountered an error. Error will be reflected within the representation as a String. -
toString
Returns a formatted string representation of the specified code unit operand.- Overrides:
toStringin classAbstractCollection<Object>- Returns:
- formatted code unit representation
-