com.sun.xml.bind.v2.model.annotation
public class LocatableAnnotation extends Object implements InvocationHandler, Locatable, Location
| Constructor Summary | |
|---|---|
| LocatableAnnotation(Annotation core, Locatable upstream) | |
| Method Summary | |
|---|---|
| static <A extends Annotation> A | create(A annotation, Locatable parentSourcePos)
Wraps the annotation into a proxy so that the returned object will also implement
Locatable. |
| Location | getLocation() |
| Locatable | getUpstream() |
| Object | invoke(Object proxy, Method method, Object[] args) |
| String | toString() |