Interface AssemblyResolution
- All Superinterfaces:
Comparable<AssemblyResolution>
- All Known Subinterfaces:
AssemblyResolvedBackfill
,AssemblyResolvedError
,AssemblyResolvedPatterns
- All Known Implementing Classes:
AbstractAssemblyResolution
,DefaultAssemblyResolvedBackfill
,DefaultAssemblyResolvedError
,DefaultAssemblyResolvedPatterns
-
Method Summary
Modifier and TypeMethodDescriptionvoid
getRight()
boolean
Check if this record has childrenboolean
Check if this record describes a backfillboolean
isError()
Check if this record describes an errorDisplay the resolution result in one line (omitting child details)Get this same resolution, pushing its right siblings down to its childrenshift
(int amt) Shift the resolution's instruction pattern to the right, if applicabletoString()
Used only by parents: get a multi-line description of this record, indentedMethods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
toString
String toString()Describe this record including indented children, grandchildren, etc., each on its own line.
-
getDescription
String getDescription() -
getChildren
List<AssemblyResolution> getChildren() -
hasChildren
boolean hasChildren()Check if this record has childrenIf a subclass has another, possibly additional, notion of children that it would like to include in
toString()
, it must override this method to return true when such children are present.- Returns:
- true if this record has children
-
getRight
AssemblyResolution getRight() -
lineToString
String lineToString()Display the resolution result in one line (omitting child details)- Returns:
- the display description
-
isBackfill
boolean isBackfill()Check if this record describes a backfill- Returns:
- true if the record is a backfill
-
isError
boolean isError()Check if this record describes an error- Returns:
- true if the record is an error
-
shift
Shift the resolution's instruction pattern to the right, if applicableThis also shifts any backfill and forbidden pattern records.
- Parameters:
amt
- the number of bytes to shift.- Returns:
- the result
-
parent
Get this same resolution, pushing its right siblings down to its children -
collectAllRight
-
toString
Used only by parents: get a multi-line description of this record, indented- Parameters:
indent
- the current indentation- Returns:
- the indented description
-