Package ghidra.program.model.lang
Class CompilerSpecID
java.lang.Object
ghidra.program.model.lang.CompilerSpecID
- All Implemented Interfaces:
Comparable<CompilerSpecID>
Represents an opinion's compiler (gcc, borlandcpp, etc).
-
Field Details
-
DEFAULT_ID
- See Also:
-
-
Constructor Details
-
CompilerSpecID
Creates a new compiler spec ID.- Parameters:
id
- The compiler ID (gcc, borlandcpp, etc) as defined in the appropriateLanguageDescription
. If null the value of "default" will be assumed.
-
-
Method Details
-
getIdAsString
Gets the compiler spec ID as a string.- Returns:
- The compilers spec ID as a string.
- Throws:
IllegalArgumentException
- if the compiler spec ID is null or empty.
-
hashCode
public int hashCode() -
equals
-
toString
-
compareTo
- Specified by:
compareTo
in interfaceComparable<CompilerSpecID>
-