Record Class SourceLanguageSpecExtension.SpecExtensionRule
java.lang.Object
java.lang.Record
ghidra.app.util.sourcelanguage.SourceLanguageSpecExtension.SpecExtensionRule
- Record Components:
processor- The name of the processor (required)endian- The processor endianness ("little" or "big") (could be empty/null for wildcard)size- The processor size (i.e., "32, "64", etc) (could be empty/null for wildcard)variant- The processor variant (could be empty/null for wildcard)formats- The names of the supported binary file formats (could be empty/null for wildcard)contents- The contents of theSpecExtension, which is currently always XML
- Enclosing interface:
SourceLanguageSpecExtension
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncontents()Returns the value of thecontentsrecord component.endian()Returns the value of theendianrecord component.final booleanIndicates whether some other object is "equal to" this one.formats()Returns the value of theformatsrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theprocessorrecord component.size()Returns the value of thesizerecord component.final StringtoString()Returns a string representation of this record class.variant()Returns the value of thevariantrecord component.
-
Constructor Details
-
SpecExtensionRule
public SpecExtensionRule(String processor, String endian, String size, String variant, List<String> formats, String contents) Creates an instance of aSpecExtensionRulerecord class.- Parameters:
processor- the value for theprocessorrecord componentendian- the value for theendianrecord componentsize- the value for thesizerecord componentvariant- the value for thevariantrecord componentformats- the value for theformatsrecord componentcontents- the value for thecontentsrecord component
-
-
Method Details
-
toString
-
hashCode
-
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). -
processor
-
endian
-
size
-
variant
-
formats
-
contents
-