Interface Locatable
-
- All Known Subinterfaces:
ArrayInfo<T,C>
,BuiltinLeafInfo<T,C>
,CClass
,CElement
,ClassInfo<T,C>
,CNonElement
,CTypeInfo
,Element<T,C>
,ElementInfo<T,C>
,EnumLeafInfo<T,C>
,LeafInfo<T,C>
,MaybeElement<T,C>
,NonElement<T,C>
,RuntimeArrayInfo
,RuntimeBuiltinLeafInfo
,RuntimeClassInfo
,RuntimeElement
,RuntimeElementInfo
,RuntimeEnumLeafInfo
,RuntimeLeafInfo
,RuntimeNonElement
,RuntimeTypeInfo
,TypeInfo<T,C>
,WildcardTypeInfo<T,C>
- All Known Implementing Classes:
ArrayInfoImpl
,BuiltinLeafInfoImpl
,CArrayInfo
,CBuiltinLeafInfo
,CClassInfo
,CClassRef
,CElementInfo
,CEnumLeafInfo
,ClassInfoImpl
,ClassLocatable
,CWildcardTypeInfo
,FieldLocatable
,LocatableAnnotation
,MethodLocatable
,Quick
,RuntimeBuiltinLeafInfoImpl
public interface Locatable
Location
that is chained.Locatable
forms a tree structure, where eachLocatable
points back to the upstreamLocatable
. For example, imagineLocatable
X that points to a particular annotation, whose upstream isLocatable
Y, which points to a particular method (on which the annotation is put), whose upstream isLocatable
Z, which points to a particular class (in which the method is defined), whose upstream isLocatable
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
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Location
getLocation()
Gets the location object that this object points to.Locatable
getUpstream()
Gets the upstreamLocation
information.
-