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 |
EmptyTypeTarget
Represents a type annotation target 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 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.
|
Modifier and Type | Method and Description |
---|---|
TypeTarget |
AnnotationTarget.asType()
Casts and returns this target as a
TypeTarget if it is of kind TYPE |
TypeTarget |
ClassInfo.asType() |
TypeTarget |
TypeTarget.asType() |
TypeTarget |
FieldInfo.asType() |
TypeTarget |
MethodInfo.asType() |
TypeTarget |
MethodParameterInfo.asType() |
Copyright © 2018 JBoss by Red Hat. All rights reserved.