|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.tools.classfile.Annotation
public class Annotation
See JVMS3, section 4.8.16.
This is NOT part of any API supported by Sun Microsystems. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
| Nested Class Summary | |
|---|---|
static class |
Annotation.Annotation_element_value
|
static class |
Annotation.Array_element_value
|
static class |
Annotation.Class_element_value
|
static class |
Annotation.element_value
See JVMS3, section 4.8.16.1. |
static class |
Annotation.element_value_pair
|
static class |
Annotation.Enum_element_value
|
(package private) static class |
Annotation.InvalidAnnotation
|
static class |
Annotation.Primitive_element_value
|
| Field Summary | |
|---|---|
Annotation.element_value_pair[] |
element_value_pairs
|
int |
num_element_value_pairs
|
int |
type_index
|
| Constructor Summary | |
|---|---|
Annotation(ClassReader cr)
|
|
Annotation(ConstantPool constant_pool,
int type_index,
Annotation.element_value_pair[] element_value_pairs)
|
|
| Method Summary | |
|---|---|
int |
length()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final int type_index
public final int num_element_value_pairs
public final Annotation.element_value_pair[] element_value_pairs
| Constructor Detail |
|---|
Annotation(ClassReader cr)
throws java.io.IOException,
Annotation.InvalidAnnotation
java.io.IOException
Annotation.InvalidAnnotation
public Annotation(ConstantPool constant_pool,
int type_index,
Annotation.element_value_pair[] element_value_pairs)
| Method Detail |
|---|
public int length()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||