java.lang.Object
io.github.sugarcubes.cloner.Toolset
Low-level tools of the reflection cloner: reflection, instance allocators and field adapters. The cloner asks them
how to create an instance and to read and write its fields, everything else is decided by the cloner.
Toolsets are created by the profiles of Toolsets or by ToolsetBuilder.
-
Method Summary
Modifier and TypeMethodDescriptionReturns instance allocator factory.Returns field adapter factory.Returns reflection.toString()Describes the chosen mechanisms, e.g.
-
Method Details
-
getReflection
Returns reflection.- Returns:
- reflection
-
getAllocatorFactory
Returns instance allocator factory.- Returns:
- instance allocator factory
-
getFieldAdapterFactory
Returns field adapter factory.- Returns:
- field adapter factory
-
toString
Describes the chosen mechanisms, e.g. for logging.
-