public static ValueType describeReference( PropertyPath path, TypeDescriptor type, String alias, DescribeContext context) { IdentifiableType identifiableType = (IdentifiableType) context.describeNow(targetPath(alias).index(""), type); return new ReferenceType(identifiableType, targetPath(alias)); }