| Modifier and Type | Class and Description |
|---|---|
class |
ClassExtendsTypeTarget
Represents a target of type annotation which occurs in the
extends or implements clause
of an enclosing class. |
class |
EmptyTypeTarget
Represents a target of type annotation which occurs directly on a field type, a method return type,
or a method receiver type.
|
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 target of type annotation which occurs in the
throws clause of an enclosing method. |
class |
TypeParameterBoundTypeTarget
Represents a target of type annotation which occurs within a bound of type parameter.
|
class |
TypeParameterTypeTarget
Represents a target of type annotation which occurs within a type parameter.
|
| Modifier and Type | Method and Description |
|---|---|
TypeTarget |
MethodParameterInfo.asType() |
TypeTarget |
MethodInfo.asType() |
TypeTarget |
RecordComponentInfo.asType() |
TypeTarget |
TypeTarget.asType() |
TypeTarget |
AnnotationTarget.asType()
Casts and returns this target as a
TypeTarget if it is of kind TYPE |
TypeTarget |
FieldInfo.asType() |
TypeTarget |
ClassInfo.asType() |
| Modifier and Type | Method and Description |
|---|---|
static EquivalenceKey.TypeEquivalenceKey |
EquivalenceKey.of(TypeTarget typeTarget)
Returns an equivalence key for given type annotation target.
|
Copyright © 2018–2022. All rights reserved.