Package org.mapstruct.ap.internal.util
Class ValueProvider
- java.lang.Object
-
- org.mapstruct.ap.internal.util.ValueProvider
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetValue()static ValueProviderof(Accessor accessor)Creates aValueProviderfrom the providedaccessor.StringtoString()
-
-
-
Method Detail
-
getValue
public String getValue()
-
of
public static ValueProvider of(Accessor accessor)
Creates aValueProviderfrom the providedaccessor. The base value isAccessor.getSimpleName(). If theaccessoris for an executable, then()is appended.- Parameters:
accessor- that provides the value- Returns:
- a
ValueProvidertha provides a read value for theaccessor
-
-