imports.addAll(Arrays.asList("java.util.List",
"org.jetbrains.annotations.*",
PSI_ELEMENT_CLASS));
imports.addAll(psiSupers);
imports.addAll(getRuleMethodTypesToImport(rule));
<BUG>generateClassHeader(psiClass, imports, "", true, ArrayUtil.toStringArray(psiSupers));
</BUG>
generatePsiClassMethods(rule, true);
out("}");
}

imports.addAll(Arrays.asList("java.util.List",
"org.jetbrains.annotations.*",
PSI_ELEMENT_CLASS));
imports.addAll(psiSupers);
imports.addAll(getRuleMethodTypesToImport(rule));
generateClassHeader(psiClass, imports, "", Java.INTERFACE, ArrayUtil.toStringArray(psiSupers));
generatePsiClassMethods(rule, true);
out("}");
}
