List<String> (PsiModifierList modifierList) { return Stream.of(modifierList.getChildren()) .filter(e -> e instanceof PsiJavaToken || e instanceof PsiAnnotation) .map(PsiElement::getText) .collect(Collectors.toList()); }