Interface IMethodSignature

All Superinterfaces:
IGenericContext, IGenericParameterProvider
All Known Implementing Classes:
CoreMetadataFactory.MethodSignature, GenericMethodInstance, MetadataParser.UnresolvedMethod, MethodDefinition, MethodReference, RawMethod, RecordTypeDefinition.RecordMethod

public interface IMethodSignature extends IGenericParameterProvider, IGenericContext
  • Method Details

    • hasParameters

      boolean hasParameters()
    • getParameters

      List<ParameterDefinition> getParameters()
    • getReturnType

      TypeReference getReturnType()
    • getThrownTypes

      List<TypeReference> getThrownTypes()
    • getSignature

      String getSignature()
    • getErasedSignature

      String getErasedSignature()
    • invalidateSignature

      void invalidateSignature()
      Invalidate any signature information. This is not guaranteed to be thread-safe, should only be called when a partially constructed method definition changes, e.g., by changing the return type or parameter types.