Package spoon.metamodel
Class MMMethod
java.lang.Object
spoon.metamodel.MMMethod
Represents a method used to get or set a
MetamodelProperty
of a MetamodelConcept
.-
Method Details
-
getActualCtMethod
-
getName
-
getSignature
- Returns:
- signature of this method, without the declaring type
-
getKind
- Returns:
- kind of this method. Getter, setter, ...
-
overrides
- Parameters:
method
-- Returns:
- true of this
MMMethod
overrides `method`. In different words, if it represents the same method
-
getProperty
- Returns:
- the
MetamodelProperty
which is get or set by thisMMMethod
-
getOwner
- Returns:
MetamodelConcept
where thisMMMethod
belongs to
-
getDeclaredMethods
- Returns:
CtMethod
s, which are declared in theMetamodelConcept
or in the hierarchy, that have the same role andMMMethodKind
.
-
getReturnType
- Returns:
- the type returned by this method
-
getValueType
- Returns:
- a value type of this method
-
toString
-