protected void _generate(SarlClass clazz, IExtraLanguageGeneratorContext context) {
final JvmDeclaredType jvmType = getJvmModelAssociations().getInferredType(clazz);
final PyAppendable appendable = createAppendable(jvmType, context);
if (generateTypeDeclaration(
this.qualifiedNameProvider.getFullyQualifiedName(clazz).toString(),
clazz.getName(), clazz.isAbstract(),
getSuperTypes(clazz.getExtends(), clazz.getImplements()),
getTypeBuilder().getDocumentation(clazz),
true,
clazz.getMembers(), appendable, context, null)) {
final QualifiedName name = getQualifiedNameProvider().getFullyQualifiedName(clazz);
writeFile(name, appendable, context);
}
}