Class TypeMetadata.TypeMetadataBuilder
java.lang.Object
de.floydkretschmar.fixturize.domain.TypeMetadata.TypeMetadataBuilder
- Enclosing class:
TypeMetadata
-
Method Summary
Modifier and TypeMethodDescriptionbuild()genericPart(String genericPart) Only the generic part of the class definition.genericTypeMap(Map<? extends TypeMirror, ? extends DeclaredType> genericTypeMap) The map that contains the relation between generic types and their concrete implementation for the type.packageName(String packageName) The name of the package of the type.qualifiedClassName(String qualifiedClassName) The fully qualified name of the type.qualifiedClassNameWithoutGeneric(String qualifiedClassNameWithoutGeneric) The fully qualified name of the type but with the generics erased.qualifiedFixtureClassName(String qualifiedFixtureClassName) The fully qualified name of the corresponding fixture class for the type.simpleClassName(String simpleClassName) The simple class name of the typesimpleClassNameWithoutGeneric(String simpleClassNameWithoutGeneric) The simple class name of the type but with the generics erased.toString()
-
Method Details
-
qualifiedClassName
The fully qualified name of the type.- Returns:
this.
-
qualifiedClassNameWithoutGeneric
public TypeMetadata.TypeMetadataBuilder qualifiedClassNameWithoutGeneric(String qualifiedClassNameWithoutGeneric) The fully qualified name of the type but with the generics erased.- Returns:
this.
-
simpleClassName
The simple class name of the type- Returns:
this.
-
simpleClassNameWithoutGeneric
public TypeMetadata.TypeMetadataBuilder simpleClassNameWithoutGeneric(String simpleClassNameWithoutGeneric) The simple class name of the type but with the generics erased.- Returns:
this.
-
packageName
The name of the package of the type. Empty if the class is located in the base package.- Returns:
this.
-
qualifiedFixtureClassName
The fully qualified name of the corresponding fixture class for the type.- Returns:
this.
-
genericPart
Only the generic part of the class definition. Empty if the type is not a generic.- Returns:
this.
-
genericTypeMap
public TypeMetadata.TypeMetadataBuilder genericTypeMap(Map<? extends TypeMirror, ? extends DeclaredType> genericTypeMap) The map that contains the relation between generic types and their concrete implementation for the type. Empty if the type is not a generic.- Returns:
this.
-
build
-
toString
-