Class SignatureModel

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

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

    • definingClass

      public String definingClass
      The name of the class defining the field, method or constructor.
  • Constructor Details

    • SignatureModel

      protected SignatureModel(String definingClass)
      Builds the model of the signature of a field, method or constructor.
      Parameters:
      definingClass - the name of the class defining the field, method or constructor
    • SignatureModel

      protected SignatureModel()
  • Method Details

    • nameOf

      protected static String nameOf(StorageType type)
      Yields a string representation of the given type.
      Parameters:
      type - the type
      Returns:
      the string
    • typeWithName

      protected static StorageType typeWithName(String name)
      Yields the type with the given name.
      Parameters:
      name - the name of the type
      Returns:
      the type