void (@NotNull Extension extension) { if (!getExtensions().contains(extension)) { List<Extension> extensions = new ArrayList<>(getExtensions()); extensions.add(extension); setExtensions(extensions); } }