SimpleName name = getObjectClassName();
NamedType objectType = (NamedType) importer.resolvePackageMember(
Models.append(factory, getClassName(), name));
List<TypeBodyDeclaration> members = createObjectMembers(objectType);
return factory.newClassDeclaration(
new JavadocBuilder(factory)
.inline(flowClass.getDocumentation())
.seeType(new Jsr269(factory).convert(environment.getErasure(flowClass.getElement().asType())))
.toJavadoc(),
new AttributeBuilder(factory)
.Public()