Method Signature
Compile-time metadata describing the signature of an intercepted method.
A single MethodSignature instance is generated per intercepted function and stored as a static field in a synthetic inner object that the AspectK compiler plugin adds to the enclosing class or file. This ensures that signature metadata is allocated once per function definition, not once per invocation.
Generic type erasure: When a function's return type is a generic type parameter, returnType and returnTypeName are resolved to the upper bound at compile time.
Constructors
Properties
Metadata for all annotations present on the intercepted function.
The simple name of the intercepted function.
The ordered list of MethodParameter descriptors, one per parameter in declaration order.
The erased KClass of the function's return type.
The fully-qualified class name of the return type as a String.