All Known Implementing Classes:
TypeMetadataFactory

public interface MetadataFactory
Defines the methods used to create metadata for types.
  • Method Details

    • createMetadataFrom

      TypeMetadata createMetadataFrom(TypeMirror type)
      Creates type metadata for a type. If the type is a declared generic, the metadata will contain generic information according to DeclaredType.getTypeArguments().
      Parameters:
      type - - for which metadata will be generated
      Returns:
      the type metadata
    • createMetadataFrom

      TypeMetadata createMetadataFrom(TypeMirror type, List<String> genericTypeImplementations)
      Creates type metadata for a type using the specified list of class names to use for the generic information.
      Parameters:
      type - - for which metadata will be generated
      genericTypeImplementations - - list of class names defining the concrete implementations for a generic
      Returns:
      the type metadata