- }
-
- public AbstractGeneratedType(final Type parent, final String packageName, final String name, final TypeComment comment,
- final List<AnnotationTypeBuilder> annotationBuilders, final boolean isAbstract,
- final List<Type> implementsTypes, final List<GeneratedTypeBuilder> enclosedGenTypeBuilders,
- final List<GeneratedTOBuilder> enclosedGenTOBuilders, final List<EnumBuilder> enumBuilders,
- final List<Constant> constants, final List<MethodSignatureBuilder> methodBuilders,
- final List<GeneratedPropertyBuilder> propertyBuilders, final Type parentTypeForBuilder) {
- //TODO: not called by actual codebase, fix this up (provide context) if needed - 07/20/2017
- super(packageName, name, null);
- this.parent = parent;
- this.parentTypeForBuilder = parentTypeForBuilder;
- this.comment = comment;
- this.annotations = toUnmodifiableAnnotations(annotationBuilders);
- this.implementsTypes = makeUnmodifiable(implementsTypes);
- this.constants = makeUnmodifiable(constants);
- this.enumerations = toUnmodifiableEnumerations(enumBuilders);
- this.methodSignatures = toUnmodifiableMethods(methodBuilders);
- this.enclosedTypes = toUnmodifiableEnclosedTypes(enclosedGenTypeBuilders, enclosedGenTOBuilders);
- this.properties = toUnmodifiableProperties(propertyBuilders);
- this.isAbstract = isAbstract;
- this.definition = null;