public List<?> getModifiers(BodyDeclaration body){...}
and
   public List<?> getAnnotations(PackageDeclaration pkg){...}