Annotation that also implements Locatable.
| Modifier and Type | Field and Description |
|---|---|
| private final Annotation | |
| private static final Map | |
| private final Locatable |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public static <A extends Annotation> A | |
| public Location | getLocation()
Implements org. Gets the location object that this object points to. |
| public Locatable | getUpstream()
Implements org. Gets the upstream |
| public Object | invoke(Object proxy, Method method, Object[] args)
Implements java. Processes a method invocation on a proxy instance and returns the result. |
| public String | toString()
Overrides java. Implements org. Returns a human-readable string that represents this position. |
| core | back to summary |
|---|---|
| private final Annotation core | |
| quicks | back to summary |
|---|---|
| private static final Map<Class<T>, Quick> quicks List of | |
| upstream | back to summary |
|---|---|
| private final Locatable upstream | |
| LocatableAnnotation | back to summary |
|---|---|
| pack-priv LocatableAnnotation(Annotation core, Locatable upstream) | |
| create | back to summary |
|---|---|
| public static <A extends Annotation> A create(A annotation, Locatable parentSourcePos) Wraps the annotation into a proxy so that the returned object will also implement
| |
| getLocation | back to summary |
|---|---|
| public Location getLocation() Implements org. Doc from org. Gets the location object that this object points to. This operation could be inefficient and costly.
| |
| getUpstream | back to summary |
|---|---|
| public Locatable getUpstream() Implements org. Doc from org. Gets the upstream
| |
| invoke | back to summary |
|---|---|
| public Object invoke(Object proxy, Method method, Object[] args) throws Throwable Implements java. Doc from java. Processes a method invocation on a proxy instance and returns the result. This method will be invoked on an invocation handler when a method is invoked on a proxy instance that it is associated with.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Implements org. Doc from org. Returns a human-readable string that represents this position.
| |