public static < P > DirectMetaProperty < P > ofReadWrite ( MetaBean metaBean , String propertyName , Class < ? > declaringType , Class < P > propertyType ) { Field field = findField ( metaBean , propertyName ) ; return new DirectMetaProperty <> ( metaBean , propertyName , declaringType , propertyType , PropertyStyle . READ_WRITE , field ) ; }
Factory to create a read - write meta - property avoiding duplicate generics .