AnnotatedWildcardType represents the potentially annotated use of a
wildcard type argument, whose upper or lower bounds may themselves represent
annotated uses of types.
| Modifier and Type | Method and Description |
|---|---|
| public AnnotatedType[] | Returns: the potentially annotated lower bounds of this wildcard type or an empty array if no lower bound is explicitly declared.Returns the potentially annotated lower bounds of this wildcard type. |
| public AnnotatedType | Returns: nullRedeclares as abstract: java. Returns the potentially annotated type that this type is a member of, if this type represents a nested type. |
| public AnnotatedType[] | Returns: the potentially annotated upper bounds of this wildcard typeReturns the potentially annotated upper bounds of this wildcard type. |
| getAnnotatedLowerBounds | back to summary |
|---|---|
| public AnnotatedType[] getAnnotatedLowerBounds() Returns the potentially annotated lower bounds of this wildcard type. If no lower bound is explicitly declared, the lower bound is the type of null. In this case, a zero length array is returned. API Note While to date a wildcard may have at most one lower bound, callers of this method should be written to accommodate multiple bounds.
| |
| getAnnotatedOwnerType | back to summary |
|---|---|
| public AnnotatedType getAnnotatedOwnerType() Redeclares as abstract: java. Returns the potentially annotated type that this type is a member of, if
this type represents a nested type. For example, if this type is
Returns
| |
| getAnnotatedUpperBounds | back to summary |
|---|---|
| public AnnotatedType[] getAnnotatedUpperBounds() Returns the potentially annotated upper bounds of this wildcard type.
If no upper bound is explicitly declared, the upper bound is
unannotated API Note While to date a wildcard may have at most one upper bound, callers of this method should be written to accommodate multiple bounds.
| |