Class ClassID

java.lang.Object
ghidra.program.model.gclass.ClassID
All Implemented Interfaces:
Comparable<ClassID>

public class ClassID extends Object implements Comparable<ClassID>
Unique ID of a Program Class Type. Not sure if there will be different implementation for definition vs. compiled vs. program vs. debug.
  • Constructor Details

    • ClassID

      public ClassID(CategoryPath categoryPath, SymbolPath symbolPath)
      Constructor
      Parameters:
      categoryPath - the category path for the claass
      symbolPath - the symbol path for the class
  • Method Details

    • getCategoryPath

      public CategoryPath getCategoryPath()
      Returns the category path
      Returns:
      the category path
    • getSymbolPath

      public SymbolPath getSymbolPath()
      Returns the symbol path
      Returns:
      the symbol path
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • compareTo

      public int compareTo(ClassID o)
      Specified by:
      compareTo in interface Comparable<ClassID>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object