Package groovy.util
Class ObjectGraphBuilder.ReflectionClassNameResolver
java.lang.Object
groovy.util.ObjectGraphBuilder.ReflectionClassNameResolver
- All Implemented Interfaces:
ObjectGraphBuilder.ClassNameResolver
- Enclosing class:
- ObjectGraphBuilder
public class ObjectGraphBuilder.ReflectionClassNameResolver extends Object implements ObjectGraphBuilder.ClassNameResolver
Build objects using reflection to resolve class names.
-
Constructor Summary
Constructors Constructor Description ReflectionClassNameResolver(String root)
-
Method Summary
Modifier and Type Method Description String
resolveClassname(String classname)
-
Constructor Details
-
ReflectionClassNameResolver
- Parameters:
root
- package where the graph root class is located
-
-
Method Details
-
resolveClassname
- Specified by:
resolveClassname
in interfaceObjectGraphBuilder.ClassNameResolver
- Parameters:
classname
- the node name as written on the building code
-