```java
        type.setDeclaredSuperTypeNames(new String[]{JcrConstants.NT_FOLDER});
```