Package ghidra.app.plugin.assembler
Record Class AssemblySelector.Selection
java.lang.Object
java.lang.Record
ghidra.app.plugin.assembler.AssemblySelector.Selection
- Record Components:
ins
- the resolved instructions bytes, ideally with a full maskctx
- the resolved context bytes for compatibility checks
- Enclosing class:
AssemblySelector
public static record AssemblySelector.Selection(AssemblyPatternBlock ins, AssemblyPatternBlock ctx)
extends Record
A resolved selection from the results given to
AssemblySelector.select(AssemblyResolutionResults, AssemblyPatternBlock)
-
Constructor Summary
ConstructorDescriptionCreates an instance of aSelection
record class. -
Method Summary
Modifier and TypeMethodDescriptionctx()
Returns the value of thectx
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.ins()
Returns the value of theins
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
ins
Returns the value of theins
record component.- Returns:
- the value of the
ins
record component
-
ctx
Returns the value of thectx
record component.- Returns:
- the value of the
ctx
record component
-