| Modifier and Type | Field and Description |
|---|---|
| private static final byte | |
| private static final byte | |
| private static final byte | |
| private static final byte | |
| private static final byte | |
| private static final byte | |
| private static final byte | |
| private static final TypeAnnotation[] | |
| private static final byte | |
| private static final byte | |
| private static final byte | |
| private static final byte | |
| private static final byte | |
| private static final byte | |
| private static final byte | |
| private static final byte | |
| private static final byte | |
| private static final byte | |
| private static final byte | |
| private static final byte | |
| private static final byte | |
| private static final byte | |
| private static final byte |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static AnnotatedType[] | buildAnnotatedInterfaces(byte[]
the byte[] encoding of all type annotations on this declaration rawAnnotations, ConstantPool the ConstantPool needed to parse the embedded Annotation cp, Class<?> the Class whose annotated implemented interfaces is being built decl)Build an array of AnnotatedTypes for the class decl's implemented interfaces. |
| public static AnnotatedType | buildAnnotatedSuperclass(byte[]
the byte[] encoding of all type annotations on this declaration rawAnnotations, ConstantPool the ConstantPool needed to parse the embedded Annotation cp, Class<?> the Class which annotated supertype is being built decl)Build an AnnotatedType for the class decl's supertype. |
| public static AnnotatedType | buildAnnotatedType(byte[]
the byte[] encoding of all type annotations on this declaration rawAnnotations, ConstantPool the ConstantPool needed to parse the embedded Annotation cp, AnnotatedElement the declaration this type annotation is on decl, Class<?> the Class this type annotation is on (may be the same as decl) container, Type the type the AnnotatedType corresponds to type, TypeAnnotation.the type annotation targets included in this AnnotatedType filterBuild an AnnotatedType from the parameters supplied. |
| public static AnnotatedType[] | buildAnnotatedTypes(byte[]
the byte[] encoding of all type annotations on this declaration rawAnnotations, ConstantPool the ConstantPool needed to parse the embedded Annotation cp, AnnotatedElement the declaration this type annotation is on decl, Class<?> the Class this type annotation is on (may be the same as decl) container, Type[] the Types the AnnotatedTypes corresponds to types, TypeAnnotation.the type annotation targets that included in this AnnotatedType filterBuild an array of AnnotatedTypes from the parameters supplied. |
| private static <D extends GenericDeclaration> List | |
| pack-priv static Map | |
| private static TypeAnnotation. | |
| pack-priv static TypeAnnotation[] | |
| public static <D extends GenericDeclaration> AnnotatedType[] | parseAnnotatedBounds(Type[]
the bounds corresponding to the annotated bounds bounds, D the declaration whose annotated bounds is being built decl, int the index of this type variable on the decl typeVarIndex)Build an array of AnnotatedTypes for the declaration decl's bounds. |
| private static <D extends GenericDeclaration> AnnotatedType[] | |
| private static TypeAnnotation. | |
| private static TypeAnnotation. | |
| private static TypeAnnotation | |
| private static TypeAnnotation[] | parseTypeAnnotations(byte[] rawAnnotations, ConstantPool cp, AnnotatedElement baseDecl, Class<?> container)
|
| public static <D extends GenericDeclaration> Annotation[] | parseTypeVariableAnnotations(D
the declaration declaring the type variable genericDecl, int the 0-based index of this type variable in the declaration typeVarIndex)Parse regular annotations on a TypeVariable declared on genericDecl. |
| CAST | back to summary |
|---|---|
| private static final byte CAST | |
| CLASS_EXTENDS | back to summary |
|---|---|
| private static final byte CLASS_EXTENDS | |
| CLASS_TYPE_PARAMETER | back to summary |
|---|---|
| private static final byte CLASS_TYPE_PARAMETER | |
| CLASS_TYPE_PARAMETER_BOUND | back to summary |
|---|---|
| private static final byte CLASS_TYPE_PARAMETER_BOUND | |
| CONSTRUCTOR_INVOCATION_TYPE_ARGUMENT | back to summary |
|---|---|
| private static final byte CONSTRUCTOR_INVOCATION_TYPE_ARGUMENT | |
| CONSTRUCTOR_REFERENCE | back to summary |
|---|---|
| private static final byte CONSTRUCTOR_REFERENCE | |
| CONSTRUCTOR_REFERENCE_TYPE_ARGUMENT | back to summary |
|---|---|
| private static final byte CONSTRUCTOR_REFERENCE_TYPE_ARGUMENT | |
| EMPTY_TYPE_ANNOTATION_ARRAY | back to summary |
|---|---|
| private static final TypeAnnotation[] EMPTY_TYPE_ANNOTATION_ARRAY | |
| EXCEPTION_PARAMETER | back to summary |
|---|---|
| private static final byte EXCEPTION_PARAMETER | |
| FIELD | back to summary |
|---|---|
| private static final byte FIELD | |
| INSTANCEOF | back to summary |
|---|---|
| private static final byte INSTANCEOF | |
| LOCAL_VARIABLE | back to summary |
|---|---|
| private static final byte LOCAL_VARIABLE | |
| METHOD_FORMAL_PARAMETER | back to summary |
|---|---|
| private static final byte METHOD_FORMAL_PARAMETER | |
| METHOD_INVOCATION_TYPE_ARGUMENT | back to summary |
|---|---|
| private static final byte METHOD_INVOCATION_TYPE_ARGUMENT | |
| METHOD_RECEIVER | back to summary |
|---|---|
| private static final byte METHOD_RECEIVER | |
| METHOD_REFERENCE | back to summary |
|---|---|
| private static final byte METHOD_REFERENCE | |
| METHOD_REFERENCE_TYPE_ARGUMENT | back to summary |
|---|---|
| private static final byte METHOD_REFERENCE_TYPE_ARGUMENT | |
| METHOD_RETURN | back to summary |
|---|---|
| private static final byte METHOD_RETURN | |
| METHOD_TYPE_PARAMETER | back to summary |
|---|---|
| private static final byte METHOD_TYPE_PARAMETER | |
| METHOD_TYPE_PARAMETER_BOUND | back to summary |
|---|---|
| private static final byte METHOD_TYPE_PARAMETER_BOUND | |
| NEW | back to summary |
|---|---|
| private static final byte NEW | |
| RESOURCE_VARIABLE | back to summary |
|---|---|
| private static final byte RESOURCE_VARIABLE | |
| THROWS | back to summary |
|---|---|
| private static final byte THROWS | |
| TypeAnnotationParser | back to summary |
|---|---|
| public TypeAnnotationParser() | |
| buildAnnotatedInterfaces | back to summary |
|---|---|
| public static AnnotatedType[] buildAnnotatedInterfaces(byte[] rawAnnotations, ConstantPool cp, Class<?> decl) Build an array of AnnotatedTypes for the class decl's implemented interfaces.
| |
| buildAnnotatedSuperclass | back to summary |
|---|---|
| public static AnnotatedType buildAnnotatedSuperclass(byte[] rawAnnotations, ConstantPool cp, Class<?> decl) Build an AnnotatedType for the class decl's supertype.
| |
| buildAnnotatedType | back to summary |
|---|---|
| public static AnnotatedType buildAnnotatedType(byte[] rawAnnotations, ConstantPool cp, AnnotatedElement decl, Class<?> container, Type type, TypeAnnotation. Build an AnnotatedType from the parameters supplied.
This method and
| |
| buildAnnotatedTypes | back to summary |
|---|---|
| public static AnnotatedType[] buildAnnotatedTypes(byte[] rawAnnotations, ConstantPool cp, AnnotatedElement decl, Class<?> container, Type[] types, TypeAnnotation. Build an array of AnnotatedTypes from the parameters supplied.
This method and
| |
| fetchBounds | back to summary |
|---|---|
| private static <D extends GenericDeclaration> List | |
| mapTypeAnnotations | back to summary |
|---|---|
| pack-priv static Map | |
| parse2ByteTarget | back to summary |
|---|---|
| private static TypeAnnotation. | |
| parseAllTypeAnnotations | back to summary |
|---|---|
| pack-priv static TypeAnnotation[] parseAllTypeAnnotations(AnnotatedElement decl) | |
| parseAnnotatedBounds | back to summary |
|---|---|
| public static <D extends GenericDeclaration> AnnotatedType[] parseAnnotatedBounds(Type[] bounds, D decl, int typeVarIndex) Build an array of AnnotatedTypes for the declaration decl's bounds.
| |
| parseAnnotatedBounds | back to summary |
|---|---|
| private static <D extends GenericDeclaration> AnnotatedType[] parseAnnotatedBounds(Type[] bounds, D decl, int typeVarIndex, TypeAnnotation. | |
| parseShortTarget | back to summary |
|---|---|
| private static TypeAnnotation. | |
| parseTargetInfo | back to summary |
|---|---|
| private static TypeAnnotation. | |
| parseTypeAnnotation | back to summary |
|---|---|
| private static TypeAnnotation parseTypeAnnotation(ByteBuffer buf, ConstantPool cp, AnnotatedElement baseDecl, Class<?> container) | |
| parseTypeAnnotations | back to summary |
|---|---|
| private static TypeAnnotation[] parseTypeAnnotations(byte[] rawAnnotations, ConstantPool cp, AnnotatedElement baseDecl, Class<?> container) | |
| parseTypeVariableAnnotations | back to summary |
|---|---|
| public static <D extends GenericDeclaration> Annotation[] parseTypeVariableAnnotations(D genericDecl, int typeVarIndex) Parse regular annotations on a TypeVariable declared on genericDecl. Regular Annotations on TypeVariables are stored in the type annotation byte[] in the class file.
| |