atPackageOrFirstDecl

fun atPackageOrFirstDecl(file: KtFile): Entity

Create an entity at the location of the package, first import or first declaration.