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 | Method and Description |
---|---|
AnnotationTarget |
TypeTarget.enclosingTarget()
Returns the enclosing target that contains the type referred to by the
TypeTarget.target() method. |
AnnotationTarget |
AnnotationInstance.target()
The Java element that this annotation was declared on.
|
Modifier and Type | Method and Description |
---|---|
static AnnotationInstance |
AnnotationInstance.create(DotName name,
AnnotationTarget target,
AnnotationValue[] values)
Construct a new mock annotation instance.
|
static AnnotationInstance |
AnnotationInstance.create(DotName name,
AnnotationTarget target,
List<AnnotationValue> values)
Construct a new mock annotation instance.
|
Constructor and Description |
---|
ClassExtendsTypeTarget(AnnotationTarget enclosingTarget,
Type target,
int position) |
Copyright © 2018 JBoss by Red Hat. All rights reserved.