Interface Signature<T>
- All Known Implementing Classes:
Signature
@NonExtendable
@Internal
@Experimental
public interface Signature<T>
Represents a function signature.
This interface should only be extended by
This interface should only be extended by Signature.
It will contain methods when Signature has been properly reworked.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddCall(FunctionReference<?> reference) Adds a reference to the clearing list.contract()default booleanisSingle()@UnmodifiableView @NotNull Parameters
-
Method Details
-
returnType
- Returns:
- The type of this parameter.
-
parameters
- Returns:
- An unmodifiable view of all the parameters that this signature has.
-
contract
- Returns:
- The contract of this signature.
-
addCall
Adds a reference to the clearing list.- Parameters:
reference- The reference.
-
isSingle
default boolean isSingle()- Returns:
- Whether this signature returns single values.
-