| Location that is chained.
Locatable forms a tree structure, where each
Locatable points back to the upstream
Locatable .
For example, imagine
Locatable X that points to a particular annotation,
whose upstream is
Locatable Y, which points to a particular method
(on which the annotation is put), whose upstream is
Locatable Z,
which points to a particular class (in which the method is defined),
whose upstream is
Locatable W,
which points to another class (which refers to the class Z), and so on.
This chain will be turned into a list when we report the error to users.
This allows them to know where the error happened
and why that place became relevant.
author: Kohsuke Kawaguchi |