Modifier and Type | Class and Description |
---|---|
(package private) class |
AnnotationTargetFilterCollection<T extends AnnotationTarget>
Iteratively filters a map of multiple annotation targets to the
instances with a specific target type.
|
Modifier and Type | Class and Description |
---|---|
class |
ClassExtendsTypeTarget
Represents a type annotation target which occurs in the extends or implements clause of an enclosing class.
|
class |
ClassInfo
Represents a class entry in an index.
|
class |
EmptyTypeTarget
Represents a type annotation target which occurs directly on a field type, a method return type, or a method receiver
type.
|
class |
FieldInfo
Represents a field.
|
class |
MethodInfo
Represents a Java method, constructor, or static initializer.
|
class |
MethodParameterInfo
Represents an individual Java method parameter that was annotated.
|
class |
MethodParameterTypeTarget
Represents a type annotation target which occurs within a method parameter type.
|
class |
PositionBasedTypeTarget
A common parent for type targets which provide a position.
|
class |
ThrowsTypeTarget
Represents a type annotation target which occurs within a throwable type on a method.
|
class |
TypeParameterBoundTypeTarget
Represents a type annotation target which occurs within a bound of type parameter type.
|
class |
TypeParameterTypeTarget
Represents a type annotation target which occurs within a type parameter type.
|
class |
TypeTarget
Represents a type that is the target of a type annotation.
|
Modifier and Type | Field and Description |
---|---|
private AnnotationTarget |
TypeTarget.enclosingTarget |
private AnnotationTarget |
AnnotationInstance.target |
Modifier and Type | Field and Description |
---|---|
private java.util.IdentityHashMap<AnnotationTarget,java.lang.Object> |
Indexer.signaturePresent |
private java.util.IdentityHashMap<AnnotationTarget,java.util.List<Indexer.TypeAnnotationState>> |
Indexer.typeAnnotations |
Modifier and Type | Method and Description |
---|---|
AnnotationTarget |
TypeTarget.enclosingTarget()
Returns the enclosing target that contains the type referred to by the
TypeTarget.target() method. |
private AnnotationTarget |
IndexReaderV2.readAnnotationTarget(PackedDataInputStream stream,
AnnotationTarget caller) |
AnnotationTarget |
AnnotationInstance.target()
The Java element that this annotation was declared on.
|
Modifier and Type | Method and Description |
---|---|
private void |
IndexWriterV2.addAnnotationTarget(AnnotationTarget target) |
private static Type[] |
Indexer.copyTypeParameters(AnnotationTarget target) |
static AnnotationInstance |
AnnotationInstance.create(DotName name,
AnnotationTarget target,
AnnotationValue[] values)
Construct a new mock annotation instance.
|
static AnnotationInstance |
AnnotationInstance.create(DotName name,
AnnotationTarget target,
java.util.List<AnnotationValue> values)
Construct a new mock annotation instance.
|
private static Type[] |
Indexer.getTypeParameters(AnnotationTarget target) |
private AnnotationInstance |
Indexer.processAnnotation(java.io.DataInputStream data,
AnnotationTarget target) |
private void |
Indexer.processAnnotations(java.io.DataInputStream data,
AnnotationTarget target) |
private void |
Indexer.processAttributes(java.io.DataInputStream data,
AnnotationTarget target) |
private void |
Indexer.processSignature(java.io.DataInputStream data,
AnnotationTarget target) |
private Indexer.TypeAnnotationState |
Indexer.processTypeAnnotation(java.io.DataInputStream data,
AnnotationTarget target) |
private void |
Indexer.processTypeAnnotations(java.io.DataInputStream data,
AnnotationTarget target) |
private AnnotationInstance |
IndexReaderV2.readAnnotationEntry(PackedDataInputStream stream,
AnnotationTarget caller) |
private AnnotationInstance[] |
IndexReaderV2.readAnnotations(PackedDataInputStream stream,
AnnotationTarget target) |
private AnnotationTarget |
IndexReaderV2.readAnnotationTarget(PackedDataInputStream stream,
AnnotationTarget caller) |
private void |
Indexer.resolveTypeAnnotation(AnnotationTarget target,
Indexer.TypeAnnotationState typeAnnotationState) |
(package private) void |
AnnotationInstance.setTarget(AnnotationTarget target) |
private void |
Indexer.setTypeParameters(AnnotationTarget target,
Type[] typeParameters) |
private void |
Indexer.updateTypeTarget(AnnotationTarget enclosingTarget,
Indexer.TypeAnnotationState typeAnnotationState) |
private void |
IndexWriterV2.writeAnnotationTarget(PackedDataOutputStream stream,
AnnotationTarget target) |