|
||||||||||
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
.
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()
|
|
Locatable |
getUpstream()
|
|
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
|
|
java.lang.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 |
Method Detail |
---|
public static <A extends java.lang.annotation.Annotation> A create(A annotation, Locatable parentSourcePos)
Locatable
.
public Locatable getUpstream()
public Location getLocation()
public java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args) throws java.lang.Throwable
invoke
in interface java.lang.reflect.InvocationHandler
java.lang.Throwable
public java.lang.String toString()
Location
toString
in interface Location
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |