Class CodeSignatureModel

java.lang.Object
io.hotmoka.network.signatures.SignatureModel
io.hotmoka.network.signatures.CodeSignatureModel
Direct Known Subclasses:
ConstructorSignatureModel, MethodSignatureModel

public abstract class CodeSignatureModel extends SignatureModel
The model of the signature of a method or constructor.
  • Field Details

    • formals

      public List<String> formals
      The formal arguments of the method or constructor.
  • Constructor Details

    • CodeSignatureModel

      protected CodeSignatureModel(CodeSignature signature)
      Builds the model of the signature of a method or constructor.
      Parameters:
      signature - the original signature to copy
    • CodeSignatureModel

      public CodeSignatureModel()
  • Method Details

    • getFormalsAsTypes

      protected final StorageType[] getFormalsAsTypes()
      Yields the storage types of the formal arguments of this method or constructor.
      Returns:
      the storage types