Package cool.klass.model.meta.domain
Class AbstractClassifier.ClassifierBuilder<BuiltElement extends AbstractClassifier>
java.lang.Object
cool.klass.model.meta.domain.AbstractElement.ElementBuilder<BuiltElement>
cool.klass.model.meta.domain.AbstractOrdinalElement.OrdinalElementBuilder<BuiltElement>
cool.klass.model.meta.domain.AbstractNamedElement.NamedElementBuilder<BuiltElement>
cool.klass.model.meta.domain.AbstractIdentifierElement.IdentifierElementBuilder<BuiltElement>
cool.klass.model.meta.domain.AbstractPackageableElement.PackageableElementBuilder<BuiltElement>
cool.klass.model.meta.domain.AbstractClassifier.ClassifierBuilder<BuiltElement>
- All Implemented Interfaces:
TopLevelElementWithSourceCode.TopLevelElementBuilderWithSourceCode,TopLevelElement.TopLevelElementBuilder,Type.TypeGetter
- Direct Known Subclasses:
InterfaceImpl.InterfaceBuilder,KlassImpl.KlassBuilder
- Enclosing class:
- AbstractClassifier
public abstract static class AbstractClassifier.ClassifierBuilder<BuiltElement extends AbstractClassifier>
extends AbstractPackageableElement.PackageableElementBuilder<BuiltElement>
implements Type.TypeGetter, TopLevelElementWithSourceCode.TopLevelElementBuilderWithSourceCode
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.eclipse.collections.api.list.ImmutableList<AssociationEndSignatureImpl.AssociationEndSignatureBuilder>protected org.eclipse.collections.api.list.ImmutableList<AbstractDataTypeProperty.DataTypePropertyBuilder<?,?, ?>> protected org.eclipse.collections.api.list.ImmutableList<InterfaceImpl.InterfaceBuilder>protected org.eclipse.collections.api.list.ImmutableList<ModifierImpl.ModifierBuilder>protected org.eclipse.collections.api.list.ImmutableList<AbstractProperty.PropertyBuilder<?,?, ?>> protected org.eclipse.collections.api.list.ImmutableList<ReferencePropertyImpl.ReferencePropertyBuilder<?,?, ?>> Fields inherited from class cool.klass.model.meta.domain.AbstractPackageableElement.PackageableElementBuilder
packageNameFields inherited from class cool.klass.model.meta.domain.AbstractNamedElement.NamedElementBuilder
nameContextFields inherited from class cool.klass.model.meta.domain.AbstractOrdinalElement.OrdinalElementBuilder
ordinalFields inherited from class cool.klass.model.meta.domain.AbstractElement.ElementBuilder
element, elementContext, macroElement, sourceCode -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedClassifierBuilder(org.antlr.v4.runtime.ParserRuleContext elementContext, Optional<AbstractElement.ElementBuilder<?>> macroElement, SourceCode.SourceCodeBuilder sourceCode, int ordinal, KlassParser.IdentifierContext nameContext, String packageName) -
Method Summary
Modifier and TypeMethodDescriptionvoidbuild2()voidbuild3()protected voidprotected org.eclipse.collections.api.list.ImmutableList<DataTypeProperty>protected org.eclipse.collections.api.list.ImmutableList<ReferenceProperty>abstract BuiltElementgetType()voidsetDeclaredAssociationEndSignatures(org.eclipse.collections.api.list.ImmutableList<AssociationEndSignatureImpl.AssociationEndSignatureBuilder> declaredAssociationEndSignatures) voidsetDeclaredDataTypeProperties(org.eclipse.collections.api.list.ImmutableList<AbstractDataTypeProperty.DataTypePropertyBuilder<?, ?, ?>> declaredDataTypeProperties) voidsetDeclaredInterfaces(org.eclipse.collections.api.list.ImmutableList<InterfaceImpl.InterfaceBuilder> declaredInterfaces) voidsetDeclaredModifiers(org.eclipse.collections.api.list.ImmutableList<ModifierImpl.ModifierBuilder> declaredModifiers) voidsetDeclaredProperties(org.eclipse.collections.api.list.ImmutableList<AbstractProperty.PropertyBuilder<?, ?, ?>> declaredProperties) voidsetDeclaredReferenceProperties(org.eclipse.collections.api.list.ImmutableList<ReferencePropertyImpl.ReferencePropertyBuilder<?, ?, ?>> declaredReferenceProperties) Methods inherited from class cool.klass.model.meta.domain.AbstractIdentifierElement.IdentifierElementBuilder
getNameContextMethods inherited from class cool.klass.model.meta.domain.AbstractElement.ElementBuilder
build, buildUnsafe, getElementMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface cool.klass.model.meta.domain.api.source.TopLevelElementWithSourceCode.TopLevelElementBuilderWithSourceCode
getElement
-
Field Details
-
declaredProperties
protected org.eclipse.collections.api.list.ImmutableList<AbstractProperty.PropertyBuilder<?,?, declaredProperties?>> -
declaredDataTypeProperties
protected org.eclipse.collections.api.list.ImmutableList<AbstractDataTypeProperty.DataTypePropertyBuilder<?,?, declaredDataTypeProperties?>> -
declaredAssociationEndSignatureBuilders
protected org.eclipse.collections.api.list.ImmutableList<AssociationEndSignatureImpl.AssociationEndSignatureBuilder> declaredAssociationEndSignatureBuilders -
declaredReferenceProperties
protected org.eclipse.collections.api.list.ImmutableList<ReferencePropertyImpl.ReferencePropertyBuilder<?,?, declaredReferenceProperties?>> -
declaredModifiers
protected org.eclipse.collections.api.list.ImmutableList<ModifierImpl.ModifierBuilder> declaredModifiers -
declaredInterfaces
protected org.eclipse.collections.api.list.ImmutableList<InterfaceImpl.InterfaceBuilder> declaredInterfaces
-
-
Constructor Details
-
ClassifierBuilder
protected ClassifierBuilder(@Nonnull org.antlr.v4.runtime.ParserRuleContext elementContext, @Nonnull Optional<AbstractElement.ElementBuilder<?>> macroElement, @Nullable SourceCode.SourceCodeBuilder sourceCode, int ordinal, @Nonnull KlassParser.IdentifierContext nameContext, @Nonnull String packageName)
-
-
Method Details
-
setDeclaredDataTypeProperties
public void setDeclaredDataTypeProperties(@Nonnull org.eclipse.collections.api.list.ImmutableList<AbstractDataTypeProperty.DataTypePropertyBuilder<?, ?, ?>> declaredDataTypeProperties) -
setDeclaredModifiers
public void setDeclaredModifiers(@Nonnull org.eclipse.collections.api.list.ImmutableList<ModifierImpl.ModifierBuilder> declaredModifiers) -
setDeclaredAssociationEndSignatures
public void setDeclaredAssociationEndSignatures(@Nonnull org.eclipse.collections.api.list.ImmutableList<AssociationEndSignatureImpl.AssociationEndSignatureBuilder> declaredAssociationEndSignatures) -
setDeclaredReferenceProperties
public void setDeclaredReferenceProperties(@Nonnull org.eclipse.collections.api.list.ImmutableList<ReferencePropertyImpl.ReferencePropertyBuilder<?, ?, ?>> declaredReferenceProperties) -
setDeclaredProperties
public void setDeclaredProperties(@Nonnull org.eclipse.collections.api.list.ImmutableList<AbstractProperty.PropertyBuilder<?, ?, ?>> declaredProperties) -
buildChildren
protected void buildChildren()- Overrides:
buildChildrenin classAbstractElement.ElementBuilder<BuiltElement extends AbstractClassifier>
-
setDeclaredInterfaces
public void setDeclaredInterfaces(org.eclipse.collections.api.list.ImmutableList<InterfaceImpl.InterfaceBuilder> declaredInterfaces) -
build2
public void build2() -
build3
public void build3() -
getDataTypeProperties
-
getReferenceProperties
protected org.eclipse.collections.api.list.ImmutableList<ReferenceProperty> getReferenceProperties() -
getType
- Specified by:
getTypein interfaceType.TypeGetter
-