Exemplo n.º 1
0
 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));
 }