Record Class ManagedMethod
java.lang.Object
java.lang.Record
org.j7m.middleware.application.api.ManagedMethod
- Record Components:
declaringType- declaring binary type namename- method nameparameterTypes- ordered erased binary names, including JVM array namesreturnType- erased binary return name
public record ManagedMethod(String declaringType, String name, List<String> parameterTypes, String returnType)
extends Record
Internal component Java method signature emitted in a versioned component index.
The index format version is not a service contract version. This record alone is not a wire
identity: bind it to an explicit contract ID and contract version before wire or durable use.
The A00 preflight Report supplies that envelope; managed hosting supplies verified export metadata.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedeclaringTyperecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.Returns the value of theparameterTypesrecord component.Returns the value of thereturnTyperecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ManagedMethod
public ManagedMethod(String declaringType, String name, List<String> parameterTypes, String returnType) Validates bounded immutable signature metadata.- Parameters:
declaringType- nonblank binary namename- nonblank method nameparameterTypes- at most64 nonblank binary namesreturnType- nonblank return name- Throws:
IllegalArgumentException- for malformed metadata
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
declaringType
Returns the value of thedeclaringTyperecord component.- Returns:
- the value of the
declaringTyperecord component
-
name
-
parameterTypes
Returns the value of theparameterTypesrecord component.- Returns:
- the value of the
parameterTypesrecord component
-
returnType
Returns the value of thereturnTyperecord component.- Returns:
- the value of the
returnTyperecord component
-