Interface ICodeClass

All Superinterfaces:
ICodeItem
All Known Subinterfaces:
IDexClass, INativeClassItem

public interface ICodeClass extends ICodeItem
A class object.
  • Method Details

    • getPackage

      ICodePackage getPackage()
      Get the package that contains this class.
      Returns:
      the package, possibly null if the class is not located in a package
    • getClassType

      ICodeType getClassType()
      Get the optional type implemented by this class item.
      Returns:
    • getSupertypes

      List<? extends ICodeType> getSupertypes()
      Get the list of super types for this class.
      Returns:
    • getImplementedInterfaces

      List<? extends ICodeType> getImplementedInterfaces()
      Get the list of implemented interface types for this class.
      Returns:
    • getMethods

      List<? extends ICodeMethod> getMethods()
      Get the list of methods that are defined in this class (super methods are not returned).
      Returns:
      a list of methods, possibly empty if this class has no implementation
    • getFields

      List<? extends ICodeField> getFields()
      Get the list of fields that are defined in this class (super fields are not returned).
      Returns:
      a list of fields, possibly empty if this class has no implementation