public Class getType ( ) { if ( type == null ) { if ( fieldDescriptor != null ) { type = fieldDescriptor . getRawType ( ) ; } else if ( readMethodDescriptor != null ) { type = getGetter ( true ) . getGetterRawType ( ) ; //type = readMethodDescriptor.getGetterRawType(); } else if ( writeMethodDescriptor != null ) { type = getSetter ( true ) . getSetterRawType ( ) ; //type = writeMethodDescriptor.getSetterRawType(); } } return type ; }
Returns property type . Raw types are detected .