}
if (tokenTypeFactory != null) {
imports.add(StringUtil.getPackageName(tokenTypeFactory));
}
else {
<BUG>ContainerUtil.addIfNotNull(tokenTypeClass, imports);
</BUG>
}
if (G.generatePsi) imports.add(implPackage + ".*");
<BUG>generateClassHeader(className, imports, "", true);
</BUG>
if (G.generateElementTypes) {

}
else {
ContainerUtil.addIfNotNull(imports, elementTypeClass);
}
}
if (tokenTypeFactory != null) {
imports.add(StringUtil.getPackageName(tokenTypeFactory));
}
else {
ContainerUtil.addIfNotNull(imports, tokenTypeClass);
}
if (G.generatePsi) imports.add(implPackage + ".*");
generateClassHeader(className, imports, "", Java.INTERFACE);
if (G.generateElementTypes) {
