Class TypeMetadataFactory
java.lang.Object
de.floydkretschmar.fixturize.stategies.constants.metadata.TypeMetadataFactory
- All Implemented Interfaces:
MetadataFactory
Creates metadata for
TypeMirrors.-
Constructor Summary
Constructors -
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.
-
Constructor Details
-
TypeMetadataFactory
-
-
Method Details
-
createMetadataFrom
Description copied from interface:MetadataFactoryCreates type metadata for a type. If the type is a declared generic, the metadata will contain generic information according toDeclaredType.getTypeArguments().- Specified by:
createMetadataFromin interfaceMetadataFactory- Parameters:
type- - for which metadata will be generated- Returns:
- the type metadata
-
createMetadataFrom
Description copied from interface:MetadataFactoryCreates type metadata for a type using the specified list of class names to use for the generic information.- Specified by:
createMetadataFromin interfaceMetadataFactory- Parameters:
type- - for which metadata will be generatedgenericTypeImplementations- - list of class names defining the concrete implementations for a generic- Returns:
- the type metadata
-