Package org.instancio
Interface BindingTarget
-
public interface BindingTarget
A class for targeting fields and classes.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
BindingTarget.BindingType
Supported binding types.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getFieldName()
Returns the field to bind to.Class<?>
getTargetClass()
Returns the target class to bind to.BindingTarget.BindingType
getType()
Type of this binding target.
-
-
-
Method Detail
-
getType
BindingTarget.BindingType getType()
Type of this binding target.- Returns:
- binding type
-
getTargetClass
Class<?> getTargetClass()
Returns the target class to bind to.- Returns:
- target class
-
getFieldName
String getFieldName()
Returns the field to bind to.- Returns:
- target field name
-
-