Package ghidra.program.model.lang
Class Processor
- java.lang.Object
- 
- ghidra.program.model.lang.Processor
 
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(Processor p)booleanequals(java.lang.Object obj)static ProcessorfindOrPossiblyCreateProcessor(java.lang.String name)Use this method if you want to grab a reference to a Processor given its name, but if it doesn't exist go ahead and create it anyway and return the new instance.inthashCode()static ProcessortoProcessor(java.lang.String name)Use this method to look up a Processor from a String when you want a ProcessorNotFoundException thrown if the Processor isn't found.java.lang.StringtoString()
 
- 
- 
- 
Method Detail- 
findOrPossiblyCreateProcessorpublic static Processor findOrPossiblyCreateProcessor(java.lang.String name) Use this method if you want to grab a reference to a Processor given its name, but if it doesn't exist go ahead and create it anyway and return the new instance.- Parameters:
- name- the name of the Processor you're looking for/going to create
- Returns:
- the Processor
 
 - 
toProcessorpublic static Processor toProcessor(java.lang.String name) Use this method to look up a Processor from a String when you want a ProcessorNotFoundException thrown if the Processor isn't found.Warning: Use of this method depends upon languages being loaded. See DefaultLanguageService.- Parameters:
- name- the name of the Processor you're looking for
- Returns:
- the Processor
- Throws:
- ProcessorNotFoundException- if the processor doesn't exist yet
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
equalspublic boolean equals(java.lang.Object obj) - Overrides:
- equalsin class- java.lang.Object
 
 
- 
 
-