public abstract class AnnotationElement extends 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 |
---|---|
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 String |
positionToString(long pos) |
public static final long UNKNOWN_POSITION
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 String positionToString(long pos)
public void acceptVisitor(AnnotationElement.Visitor visitor)
Copyright © 2023 JBoss, a division of Red Hat. All rights reserved.