Interface MetadataFactory
- All Known Implementing Classes:
TypeMetadataFactory
public interface MetadataFactory
Defines the methods used to create metadata for types.
-
Method Summary
Modifier and TypeMethodDescriptioncreateMetadataFrom(TypeMirror type) Creates type metadata for a type.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.
-
Method Details
-
createMetadataFrom
Creates type metadata for a type. If the type is a declared generic, the metadata will contain generic information according toDeclaredType.getTypeArguments().- Parameters:
type- - for which metadata will be generated- Returns:
- the type metadata
-
createMetadataFrom
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 generatedgenericTypeImplementations- - list of class names defining the concrete implementations for a generic- Returns:
- the type metadata
-