|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.xml.bind.v2.model.annotation.LocatableAnnotation
public class LocatableAnnotation
Annotation
that also implements Locatable
.
Constructor Summary | |
---|---|
LocatableAnnotation(Annotation core,
Locatable upstream)
|
Method Summary | ||
---|---|---|
static
|
create(A annotation,
Locatable parentSourcePos)
Wraps the annotation into a proxy so that the returned object will also implement Locatable . |
|
Location |
getLocation()
Gets the location object that this object points to. |
|
Locatable |
getUpstream()
Gets the upstream Location information. |
|
Object |
invoke(Object proxy,
Method method,
Object[] args)
|
|
String |
toString()
Returns a human-readable string that represents this position. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
LocatableAnnotation(Annotation core, Locatable upstream)
Method Detail |
---|
public static <A extends Annotation> A create(A annotation, Locatable parentSourcePos)
Locatable
.
public Locatable getUpstream()
Locatable
Location
information.
getUpstream
in interface Locatable
public Location getLocation()
Locatable
getLocation
in interface Locatable
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
invoke
in interface InvocationHandler
Throwable
public String toString()
Location
toString
in interface Location
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |