org.springframework.core

## Interface ResolvableTypeProvider

- All Known Implementing Classes:
    PayloadApplicationEvent

      public interface ResolvableTypeProvider

  Any object can implement this interface to provide its actual `ResolvableType`.

  Such information is very useful when figuring out if the instance matches a generic signature as Java does not convey the signature at runtime.

  Users of this interface should be careful in complex hierarchy scenarios, especially when the generic type signature of the class changes in subclasses. It is always possible to return `null` to fallback on a default behavior.

  Since:
    4.2
  Author:
    Stephane Nicoll

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `ResolvableType` | `getResolvableType()` Return the `ResolvableType` describing this instance (or `null` if some sort of default should be applied instead).

- - ### Method Detail

    - #### getResolvableType

          @Nullable
          ResolvableType getResolvableType()

      Return the `ResolvableType` describing this instance (or `null` if some sort of default should be applied instead).