if it is a BodyDeclaration type then it returns the live ordered list of modifiers and annotations of this declaration 
But for PackageDeclaration it return only annotations

So the method could be named getModifiersOrAnnotations ...