java.lang.Object
io.hotmoka.network.signatures.SignatureModel
- Direct Known Subclasses:
CodeSignatureModel,FieldSignatureModel
The model of the signature of a field, method or constructor.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe name of the class defining the field, method or constructor. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedSignatureModel(String definingClass) Builds the model of the signature of a field, method or constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected static StringnameOf(StorageType type) Yields a string representation of the given type.protected static StorageTypetypeWithName(String name) Yields the type with the given name.
-
Field Details
-
definingClass
The name of the class defining the field, method or constructor.
-
-
Constructor Details
-
SignatureModel
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
Yields a string representation of the given type.- Parameters:
type- the type- Returns:
- the string
-
typeWithName
Yields the type with the given name.- Parameters:
name- the name of the type- Returns:
- the type
-