java.lang.Object
io.hotmoka.network.signatures.SignatureModel
io.hotmoka.network.signatures.CodeSignatureModel
io.hotmoka.network.signatures.MethodSignatureModel
The model of the signature of a method of a class.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe name of the method.The return type of the method, if any.Fields inherited from class io.hotmoka.network.signatures.CodeSignatureModel
formalsFields inherited from class io.hotmoka.network.signatures.SignatureModel
definingClass -
Constructor Summary
ConstructorsConstructorDescriptionMethodSignatureModel(MethodSignature method) Builds the model of the signature of a method. -
Method Summary
Modifier and TypeMethodDescriptiontoBean()Yields the method signature corresponding to this model.Methods inherited from class io.hotmoka.network.signatures.CodeSignatureModel
getFormalsAsTypesMethods inherited from class io.hotmoka.network.signatures.SignatureModel
nameOf, typeWithName
-
Field Details
-
methodName
The name of the method. -
returnType
The return type of the method, if any.
-
-
Constructor Details
-
MethodSignatureModel
Builds the model of the signature of a method.- Parameters:
method- the method original signature to copy
-
MethodSignatureModel
public MethodSignatureModel()
-
-
Method Details
-
toBean
Yields the method signature corresponding to this model.- Returns:
- the method signature
-