functions
KlasseMethod

This class represents a methods of a class. Constructors and destructors are modelled explicitly.

Attribute
<Primitive Type> Boolean propertyMethod propertyMethod

This property is true if this method represents a property accessor method.

<Class> Property surroundingProperty surroundingProperty

If this method is a property method this property represents a reference to the property. Otherwise it is "null".

<Class> GASTClass surroundingClass surroundingClass

This property represents a reference to the class which contains this method.

!!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
allStatements allStatements, 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, sissyId sissyId

!!TableHeading.InheritedAttributes!!gast::core::Identifier gast::core::Identifier
id id

!!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

!!TableHeading.InheritedOperations!!gast::core::Identifier gast::core::Identifier

Eigenschaften:

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

Details für Attribute

 propertyMethod
Public <Primitive Type> Boolean propertyMethod

This property is true if this method represents a property accessor method.

Eigenschaften:

AggregationNone
Alias
Association
Association End
attributeNamepropertyMethod
Class<Class> Method
Datatype
Default
Default Value
Is Compositefalse
Is Derivedtrue
Is Derived Unionfalse
Is Leaffalse
Is Orderedfalse
Is Read Onlytrue
Is Staticfalse
Is Uniquetrue
isIDFalse
isTransientTrue
isUnsettableFalse
isVolatileTrue
Keywords
Lower1
Lower Value
Multiplicity1
NamepropertyMethod
Name Expression
Namespace<Class> Method
Opposite
Owned Template Signature
Owner<Class> Method
Owning Association
Owning Template Parameter
Qualified Namegast::functions::Method::propertyMethod
StereotypeeAttribute
Template Parameter
Type<Primitive Type> Boolean
Upper1
Upper Value
visibility2 - ReadOnly
VisibilityPublic
xmlFeatureKind0 - Unspecified
xmlName
xmlNamespace


 surroundingClass
Public <Class> GASTClass surroundingClass

This property represents a reference to the class which contains this method.

Eigenschaften:

AggregationNone
Alias
Association<Association> A_methods_surroundingClass
Association End
Class<Class> Method
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> Method
Opposite<Property> methods : Method [0..*]
Owned Template Signature
Owner<Class> Method
Owning Association
Owning Template Parameter
Qualified Namegast::functions::Method::surroundingClass
Stereotype
Template Parameter
Type<Class> GASTClass
Upper1
Upper Value
VisibilityPublic


 surroundingProperty
Public <Class> Property surroundingProperty

If this method is a property method this property represents a reference to the property. Otherwise it is "null".

Eigenschaften:

AggregationNone
Alias
Association
Association End
Class<Class> Method
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
NamesurroundingProperty
Name Expression
Namespace<Class> Method
Opposite
Owned Template Signature
Owner<Class> Method
Owning Association
Owning Template Parameter
Qualified Namegast::functions::Method::surroundingProperty
Stereotype
Template Parameter
Type<Class> Property
Upper1
Upper Value
VisibilityPublic