if (property.getField() == null) { throw new PropertyPermissionException(propertyName, node.getPath(), obj.getClass(), "Unable to access field for collection type [" + value.getClass().getName() + "]"); } else { Type type = property.getField().getGenericType(); if (!(type instanceof ParameterizedType)) { throw new PropertyPermissionException(propertyName, node.getPath(), obj.getClass(), "Only collection types with a parameterized type are supported");