Add missing edge kinds to the Java schema library.
This change was constructed by running:
$ bazel run kythe/go/util/tools/extractschema \
-- -schema $(pwd)/kythe/docs/schema/schema.txt \
| jq -r '.edges[] | .kind' | sort
and manually adding all the ones that weren't already present.
@@ -22,6 +22,7 @@ public enum EdgeKind {
DEFINES_BINDING(true, "defines/binding"),
DOCUMENTS(true, "documents"),
TAGGED(true, "tagged"),
+ UNDEFINES(true, "undefines"),
// Edges from an anchor.
COMPLETES(true, "completes"),
@@ -29,23 +30,39 @@ public enum EdgeKind {
IMPUTES(true, "imputes"),
REF(true, "ref"),
REF_CALL(true, "ref/call"),
+ REF_CALL_IMPLICIT(true, "ref/call/implicit"),
REF_DOC(true, "ref/doc"),
+ REF_EXPANDS(true, "ref/expands"),
+ REF_EXPANDS_TRANSITIVE(true, "ref/expands/transitive"),
REF_FILE(true, "ref/file"),
+ REF_IMPLICIT(true, "ref/implicit"),
REF_IMPORTS(true, "ref/imports"),
+ REF_INCLUDES(true, "ref/includes"),
+ REF_INIT(true, "ref/init"),
+ REF_INIT_IMPLICIT(true, "ref/init/implicit"),
+ REF_QUERIES("ref/queries"),
ALIASES("aliases"),
+ ALIASES_ROOT("aliases/root"),
ANNOTATED_BY("annotatedby"),
BOUNDED_LOWER("bounded/lower"),
BOUNDED_UPPER("bounded/upper"),
CHILDOF("childof"),
+ CHILDOF_CONTEXT("childof/context"),
DEPENDS("depends"),
EXPORTS("exports"),
EXTENDS("extends"),
GENERATES("generates"),
+ INSTANTIATES("instantiates"),
+ INSTANTIATES_SPECULATIVE("instantiates/speculative"),
NAMED("named"),
OVERRIDES("overrides"),
+ OVERRIDES_ROOT("overrides/root"),
OVERRIDES_TRANSITIVE("overrides/transitive"),
PARAM("param"),
+ SATISFIES("satisfies"),
+ SPECIALIZES("specializes"),
+ SPECIALIZES_SPECULATIVE("specializes/speculative"),
TYPED("typed");
private static final String EDGE_PREFIX = "/kythe/edge/";
