getPackage abstract method

Package? getPackage()

Gets the package metadata for this class.

Returns:

  • The Package containing this class
  • null for core types or unavailable packages

Implementation

Package? getPackage();