Modifier and Type | Interface and Description |
---|---|
interface |
AnnotatedType
Represents an annotated type.
|
interface |
AnnotationTypeDoc
Represents an annotation type.
|
interface |
ClassDoc
Represents a java class or interface and provides access to
information about the class, the class's comment and tags, and the
members of the class.
|
interface |
ParameterizedType
Represents an invocation of a generic class or interface.
|
interface |
TypeVariable
Represents a type variable.
|
interface |
WildcardType
Represents a wildcard type argument.
|
Modifier and Type | Method and Description |
---|---|
Type[] |
TypeVariable.bounds()
Return the bounds of this type variable.
|
Type |
ParameterizedType.containingType()
Return the type that contains this type as a member.
|
Type |
ThrowsTag.exceptionType()
Return the type of the exception
associated with this
ThrowsTag . |
Type[] |
WildcardType.extendsBounds()
Return the upper bounds of this wildcard type argument
as given by the extends clause.
|
Type |
Type.getElementType()
If this type is an array type, return the element type of the
array.
|
Type[] |
ClassDoc.interfaceTypes()
Return interfaces implemented by this class or interfaces extended
by this interface.
|
Type[] |
ParameterizedType.interfaceTypes()
Return the interface types directly implemented by or extended by this
parameterized type.
|
Type |
MethodDoc.overriddenType()
Return the type containing the method that this method overrides.
|
Type |
ExecutableMemberDoc.receiverType()
Get the receiver type of this executable element.
|
Type |
MethodDoc.returnType()
Get return type.
|
Type[] |
WildcardType.superBounds()
Return the lower bounds of this wildcard type argument
as given by the super clause.
|
Type |
ClassDoc.superclassType()
Return the superclass of this class.
|
Type |
ParameterizedType.superclassType()
Return the class type that is a direct supertype of this one.
|
Type[] |
ExecutableMemberDoc.thrownExceptionTypes()
Return exceptions this method or constructor throws.
|
Type |
Parameter.type()
Get the type of this parameter.
|
Type |
FieldDoc.type()
Get type of this field.
|
Type[] |
ParameterizedType.typeArguments()
Return the actual type arguments of this type.
|
Type |
AnnotatedType.underlyingType() |
Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1993, 2015, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.