public static boolean isPropertyGettable ( final Class < ? > clazz , final String propertyName ) { if ( clazz == null ) { throw new IllegalArgumentException ( "no class specified" ) ; } if ( propertyName == null ) { throw new IllegalArgumentException ( "no property specified" ) ; } PropertyAccessor accessor = _findAccessor ( clazz , propertyName ) ; return ( accessor == null ? false : accessor . isGettable ( ) ) ; }
Tests if the property value of the specified class can be got .