Package ghidra.app.services
Record Class StringValidatorQuery
java.lang.Object
java.lang.Record
ghidra.app.services.StringValidatorQuery
-
Constructor Summary
ConstructorDescriptionStringValidatorQuery
(String stringValue) StringValidatorQuery
(String stringValue, ghidra.app.plugin.core.strings.StringInfo stringCharInfo) Creates an instance of aStringValidatorQuery
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.ghidra.app.plugin.core.strings.StringInfo
Returns the value of thestringCharInfo
record component.Returns the value of thestringValue
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
StringValidatorQuery
-
StringValidatorQuery
public StringValidatorQuery(String stringValue, ghidra.app.plugin.core.strings.StringInfo stringCharInfo) Creates an instance of aStringValidatorQuery
record class.- Parameters:
stringValue
- the value for thestringValue
record componentstringCharInfo
- the value for thestringCharInfo
record component
-
-
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)
. -
stringValue
Returns the value of thestringValue
record component.- Returns:
- the value of the
stringValue
record component
-
stringCharInfo
public ghidra.app.plugin.core.strings.StringInfo stringCharInfo()Returns the value of thestringCharInfo
record component.- Returns:
- the value of the
stringCharInfo
record component
-