Annotation Type SubGraph


@Retention(RUNTIME)
public @interface SubGraph
Annotates single member variables of supertype Node or a collection of nodes to be part of the a sub-graph of the current Node. This is used to iterate over all AST sub-nodes with SubgraphWalkers.getASTChildren. Could be replaced with @Relationship{sub-graph:'ast'} if switching to an OGM that supports relationship properties.
  • Required Element Summary

    Required Elements
    Modifier and Type Required Element Description
    java.lang.String[] value  
  • Element Details

    • value

      java.lang.String[] value