Package ghidra.program.model.lang
Class LanguageID
java.lang.Object
ghidra.program.model.lang.LanguageID
- All Implemented Interfaces:
 Comparable<LanguageID>
Represents an opinion's processor language (x86:LE:32:default, 8051:BE:16:default, etc).
- 
Constructor Details
- 
LanguageID
Creates a new language ID.- Parameters:
 id- The language ID (x86:LE:32:default, 8051:BE:16:default, etc).- Throws:
 IllegalArgumentException- if the language ID is null or empty.
 
 - 
 - 
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 not null or empty.
 - 
hashCode
public int hashCode() - 
equals
 - 
toString
 - 
compareTo
- Specified by:
 compareToin interfaceComparable<LanguageID>
 
 -