public static Method getGetterMethod(Class<?> clazz, String propertyName) {
		String getterMethodName = GETTER_PREFIX + StringUtils.capitalize(propertyName);

		Method method = getMethod(clazz, getterMethodName);

		// retry on another name
		if (method == null) {
			getterMethodName = IS_PREFIX + StringUtils.capitalize(propertyName);
			method = getMethod(clazz, getterMethodName);
		}
		return method;
	}
public static Method getGetterMethod ( Class < ? > clazz , String propertyName ) { String getterMethodName = GETTER_PREFIX + StringUtils . capitalize ( propertyName ) ; Method method = getMethod ( clazz , getterMethodName ) ; if ( method == null ) { getterMethodName = IS_PREFIX + StringUtils . capitalize ( propertyName ) ; method = getMethod ( clazz , getterMethodName ) ; } return method ; }
循环遍历，按属性名获取前缀为get或is的函数，并设为可访问