X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=binding%2Fmdsal-binding-generator%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fmdsal%2Fbinding%2Fgenerator%2Fimpl%2Freactor%2FGenerator.java;h=99580eddbb6be3a64ca67088059ff21b259c7291;hb=51e77ede7295527329c81c7abf2cb71e637fd1a7;hp=7f639216a2bdec24210932ffa86c2c8ab4c065e8;hpb=128c1abfb15284e16cdb471bcaacdf7cf6a60eb1;p=mdsal.git diff --git a/binding/mdsal-binding-generator/src/main/java/org/opendaylight/mdsal/binding/generator/impl/reactor/Generator.java b/binding/mdsal-binding-generator/src/main/java/org/opendaylight/mdsal/binding/generator/impl/reactor/Generator.java index 7f639216a2..99580eddbb 100644 --- a/binding/mdsal-binding-generator/src/main/java/org/opendaylight/mdsal/binding/generator/impl/reactor/Generator.java +++ b/binding/mdsal-binding-generator/src/main/java/org/opendaylight/mdsal/binding/generator/impl/reactor/Generator.java @@ -52,6 +52,14 @@ import org.opendaylight.yangtools.yang.model.util.SchemaInferenceStack; /** * A single node in generator tree. Each node will eventually resolve to a generated Java class. Each node also can have * a number of children, which are generators corresponding to the YANG subtree of this node. + * + *

+ * Each tree is rooted in a {@link ModuleGenerator} and its organization follows roughly YANG {@code schema tree} + * layout, but with a twist coming from the reuse of generated interfaces from a {@code grouping} in the location of + * every {@code uses} encountered and also the corresponding backwards propagation of {@code augment} effects. + * + *

+ * Overall the tree layout guides the allocation of Java package and top-level class namespaces. */ public abstract class Generator implements Iterable { private static final JavaTypeName DEPRECATED_ANNOTATION = JavaTypeName.create(Deprecated.class);