Class AssemblyResolvedError
- java.lang.Object
-
- ghidra.app.plugin.assembler.sleigh.sem.AssemblyResolution
-
- ghidra.app.plugin.assembler.sleigh.sem.AssemblyResolvedError
-
- All Implemented Interfaces:
java.lang.Comparable<AssemblyResolution>
public class AssemblyResolvedError extends AssemblyResolution
AAssemblyResolutionindicating the occurrence of a (usually semantic) error The description should indicate where the error occurred. The error message should explain the actual error. To help the user diagnose the nature of the error, errors in sub-constructors should be placed as children of an error given by the parent constructor.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Stringerror-
Fields inherited from class ghidra.app.plugin.assembler.sleigh.sem.AssemblyResolution
children, description
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intcomputeHash()booleanequals(java.lang.Object obj)java.lang.StringgetError()Get a description of the errorbooleanisBackfill()Check if this record describes a backfillbooleanisError()Check if this record describes an errorjava.lang.StringlineToString()Display the resolution result in one line (omitting child details)-
Methods inherited from class ghidra.app.plugin.assembler.sleigh.sem.AssemblyResolution
backfill, childrenToString, compareTo, contextOnly, error, error, fromPattern, hasChildren, hashCode, instrOnly, nop, resolved, toString, toString
-
-
-
-
Method Detail
-
computeHash
protected int computeHash()
- Specified by:
computeHashin classAssemblyResolution
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
isError
public boolean isError()
Description copied from class:AssemblyResolutionCheck if this record describes an error- Specified by:
isErrorin classAssemblyResolution- Returns:
- true if the record is an error
-
isBackfill
public boolean isBackfill()
Description copied from class:AssemblyResolutionCheck if this record describes a backfill- Specified by:
isBackfillin classAssemblyResolution- Returns:
- true if the record is a backfill
-
getError
public java.lang.String getError()
Get a description of the error- Returns:
- the description
-
lineToString
public java.lang.String lineToString()
Description copied from class:AssemblyResolutionDisplay the resolution result in one line (omitting child details)- Specified by:
lineToStringin classAssemblyResolution- Returns:
- the display description
-
-