void (@NotNull GrPackageDefinition packageDefinition) { final GrModifierList modifierList = packageDefinition.getAnnotationList(); checkAnnotationList(myHolder, modifierList, GroovyBundle.message("package.definition.cannot.have.modifiers")); }