|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Locatable
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.
Method Summary | |
---|---|
Location |
getLocation()
Gets the location object that this object points to. |
Locatable |
getUpstream()
Gets the upstream Location information. |
Method Detail |
---|
Locatable getUpstream()
Location
information.
Location getLocation()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |