Interface ModelIntrospector

All Known Implementing Classes:
ObjectMapperModelIntrospector

public interface ModelIntrospector
Introspects models based on the underlying serialization configuration.
  • Method Details

    • introspectClassForType

      Type introspectClassForType(Class<?> cls)
      Introspects the supplied Class<?> for the supplied model.
      Parameters:
      cls - the class
      Returns:
      the Type
    • introspectClassForModel

      Model introspectClassForModel(Class<?> cls, RemoteScope remoteScope)
      Introspects the given Class<?>, converting the types using the supplied CodeStyle.
      Parameters:
      cls - the Class<?> to introspect
      remoteScope - the remote scope
      Returns:
      the introspection result
    • introspectClassForModelName

      String introspectClassForModelName(Class<?> cls, RemoteScope remoteScope)
      Introspects the class for the model name, but does not generate the whole model.
      Parameters:
      cls - the Class<?> to introspect
      remoteScope - the remote scope
      Returns:
      the model name