protected ITreeAppendable _generateBody(final JvmGenericType it, final ITreeAppendable appendable, final GeneratorConfig config) {
ITreeAppendable _xblockexpression = null;
{
this.generateJavaDoc(it, appendable, config);
final ITreeAppendable childAppendable = appendable.trace(it);
this.generateAnnotations(it.getAnnotations(), childAppendable, true, config);
this.generateModifier(it, childAppendable, config);
boolean _isInterface = it.isInterface();
if (_isInterface) {
childAppendable.append("interface ");
} else {
childAppendable.append("class ");
}
this._treeAppendableUtil.traceSignificant(childAppendable, it).append(this.makeJavaIdentifier(it.getSimpleName()));
this.generateTypeParameterDeclaration(it, childAppendable, config);
boolean _isEmpty = it.getTypeParameters().isEmpty();
if (_isEmpty) {
childAppendable.append(" ");
}
this.generateExtendsClause(it, childAppendable, config);
this.generateMembersInBody(it, childAppendable, config);
ITreeAppendable _xifexpression = null;
if (((!it.isAnonymous()) && (!(it.eContainer() instanceof JvmType)))) {
_xifexpression = appendable.newLine();
}
_xblockexpression = _xifexpression;
}
return _xblockexpression;
}