Module io.github.mmm.bean.generator
Package io.github.mmm.bean.generator
Class BeanMethodContainerProperty
java.lang.Object
io.github.mmm.bean.generator.BeanMethodContainer
io.github.mmm.bean.generator.BeanMethodContainerProperty
BeanMethodContainer for a property access method.- Since:
- 1.0.0
-
Field Summary
Fields inherited from class io.github.mmm.bean.generator.BeanMethodContainer
method, propertyName -
Constructor Summary
ConstructorsConstructorDescriptionBeanMethodContainerProperty(Method method, String propertyName, Class<?> propertyType) The constructor. -
Method Summary
Modifier and TypeMethodDescriptionClass<?>protected voidWrites the method body (implementation).Methods inherited from class io.github.mmm.bean.generator.BeanMethodContainer
getMethod, getParameterName, getPropertyName, isSpecialized, of, write, writeParameters
-
Constructor Details
-
BeanMethodContainerProperty
The constructor.- Parameters:
method- themethod.propertyName- theproperty name.propertyType- theproperty type.
-
-
Method Details
-
writeBody
Description copied from class:BeanMethodContainerWrites the method body (implementation).- Specified by:
writeBodyin classBeanMethodContainer- Parameters:
writer- theWriter.- Throws:
IOException- on error.
-
getPropertyType
- Specified by:
getPropertyTypein classBeanMethodContainer- Returns:
- the
Classreflecting the {ReadablePropertytype of the property value(and not thepropertyitself).
-