String[] (boolean aStatic, boolean aFinal) { List<String> list = new ArrayList<>(); list.add(PsiModifier.PRIVATE); if (aStatic) list.add(PsiModifier.STATIC); if (aFinal) list.add(PsiModifier.FINAL); return ArrayUtilRt.toStringArray(list); }