/** Generate the given object. * * @param constructor the constructor. * @param it the target for the generated content. * @param context the context. */ protected void _generate(SarlConstructor constructor, PyAppendable it, IExtraLanguageGeneratorContext context) { if (constructor.isStatic()) { generateExecutable("___static_init___", constructor, false, false, null, //$NON-NLS-1$ getTypeBuilder().getDocumentation(constructor), it, context); it.newLine().append("___static_init___()"); //$NON-NLS-1$ } else { generateExecutable("__init__", constructor, true, false, null, //$NON-NLS-1$ getTypeBuilder().getDocumentation(constructor), it, context); } }