public abstract class AnnotationElement
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AnnotationElement.Annotation |
static class |
AnnotationElement.Array |
static class |
AnnotationElement.Attribute |
static class |
AnnotationElement.Identifier |
static class |
AnnotationElement.Literal
A String, Character, Boolean or a Number.
|
static class |
AnnotationElement.Value |
static class |
AnnotationElement.Visitor |
| Modifier and Type | Field and Description |
|---|---|
private static long |
COLUMNMASK |
private static long |
LINESHIFT |
long |
position |
static long |
UNKNOWN_POSITION |
| Modifier | Constructor and Description |
|---|---|
protected |
AnnotationElement(long position) |
| Modifier and Type | Method and Description |
|---|---|
void |
acceptVisitor(AnnotationElement.Visitor visitor) |
static int |
column(long pos) |
static int |
line(long pos) |
static long |
makePosition(int line,
int column) |
static java.lang.String |
positionToString(long pos) |
public static final long UNKNOWN_POSITION
private static final long LINESHIFT
private static final long COLUMNMASK
public final long position
public static int line(long pos)
public static int column(long pos)
public static long makePosition(int line,
int column)
public static java.lang.String positionToString(long pos)
public void acceptVisitor(AnnotationElement.Visitor visitor)