boolean (@NotNull IntentionAction action) { String familyName = action.getFamilyName(); return familyName.matches("(?i)Create \\w+ from usage") || familyName.equals("Create Constructor") || // Does not change file content familyName.equals("Rename File") || familyName.equals("Move file to a source root"); }