functions
KlasseConstructor

This class represents a constructor of class. A constructor is a function which is called during the instantiation of a class.

Attribute
<Primitive Type> Boolean initializer initializer

This property is true if this method represents an initializer.

<Class> GASTClass surroundingClass surroundingClass

This property represents a reference to the class which this constructor belongs to.

!!TableHeading.InheritedAttributes!!gast::types::Member gast::types::Member
visibility visibility, overriddenMember overriddenMember, abstract abstract, extern extern, final final, internal internal, introspectable introspectable, override override, static static, typeParameterClassMember typeParameterClassMember, virtual virtual

!!TableHeading.InheritedAttributes!!gast::functions::Function gast::functions::Function
throwTypeAccesses throwTypeAccesses, accesses accesses, numberOfStatements numberOfStatements, maximumNestingLevel maximumNestingLevel, linesOfComments linesOfComments, linesOfCode linesOfCode, numberOfEdgesInCFG numberOfEdgesInCFG, numberOfNodesInCFG numberOfNodesInCFG, operator operator, formalParameters formalParameters, body body, localVariables localVariables, localClasses localClasses, catchParameters catchParameters, returnTypeDeclaration returnTypeDeclaration

!!TableHeading.InheritedAttributes!!gast::core::SourceEntity gast::core::SourceEntity
position position

!!TableHeading.InheritedAttributes!!gast::core::NamedModelElement gast::core::NamedModelElement
simpleName simpleName

!!TableHeading.InheritedAttributes!!gast::core::ModelElement gast::core::ModelElement
annotations annotations, status status, uniqueId uniqueId

!!TableHeading.InheritedOperations!!gast::types::Member gast::types::Member
getSurroundingClass getSurroundingClass

!!TableHeading.InheritedOperations!!gast::functions::Function gast::functions::Function

!!TableHeading.InheritedOperations!!gast::core::SourceEntity gast::core::SourceEntity

!!TableHeading.InheritedOperations!!gast::core::NamedModelElement gast::core::NamedModelElement

!!TableHeading.InheritedOperations!!gast::core::ModelElement gast::core::ModelElement

Eigenschaften:

Alias
Classifier Behavior
Is Abstractfalse
Is Activefalse
Is Leaffalse
Keywords
NameConstructor
Name Expression
Namespace<<ePackage>> <Package> functions
Owned Template Signature
Owner<<ePackage>> <Package> functions
Owning Template Parameter
Package<<ePackage>> <Package> functions
Qualified Namegast::functions::Constructor
Representation
Stereotype
Template Parameter
VisibilityPublic

Details für Attribute

 initializer
Public <Primitive Type> Boolean initializer

This property is true if this method represents an initializer.

Eigenschaften:

AggregationNone
Alias
Association
Association End
Class<Class> Constructor
Datatype
Default
Default Value
Is Compositefalse
Is Derivedfalse
Is Derived Unionfalse
Is Leaffalse
Is Orderedfalse
Is Read Onlyfalse
Is Staticfalse
Is Uniquetrue
Keywords
Lower1
Lower Value
Multiplicity1
Nameinitializer
Name Expression
Namespace<Class> Constructor
Opposite
Owned Template Signature
Owner<Class> Constructor
Owning Association
Owning Template Parameter
Qualified Namegast::functions::Constructor::initializer
Stereotype
Template Parameter
Type<Primitive Type> Boolean
Upper1
Upper Value
VisibilityPublic


 surroundingClass
Public <Class> GASTClass surroundingClass

This property represents a reference to the class which this constructor belongs to.

Eigenschaften:

AggregationNone
Alias
Association<Association> A_constructors_surroundingClass
Association End
Class<Class> Constructor
Datatype
Default
Default Value
Is Compositefalse
Is Derivedfalse
Is Derived Unionfalse
Is Leaffalse
Is Orderedfalse
Is Read Onlyfalse
Is Staticfalse
Is Uniquetrue
Keywords
Lower1
Lower Value
Multiplicity1
NamesurroundingClass
Name Expression
Namespace<Class> Constructor
Opposite<Property> constructors : Constructor [0..*]
Owned Template Signature
Owner<Class> Constructor
Owning Association
Owning Template Parameter
Qualified Namegast::functions::Constructor::surroundingClass
Stereotype
Template Parameter
Type<Class> GASTClass
Upper1
Upper Value
VisibilityPublic