public static class SignatureAttribute.TypeArgument extends Object
Modifier and Type | Method and Description |
---|---|
char |
getKind()
Returns the kind of this type argument.
|
SignatureAttribute.ObjectType |
getType()
Returns the type represented by this argument
if the argument is not a wildcard type.
|
boolean |
isWildcard()
Returns true if this type argument is a wildcard type
such as
? , ? extends String , or ? super Integer . |
String |
toString()
Returns the string representation.
|
public char getKind()
' '
(not-wildcard), '*'
(wildcard), '+'
(wildcard with
upper bound), or '-'
(wildcard with lower bound).public boolean isWildcard()
?
, ? extends String
, or ? super Integer
.public SignatureAttribute.ObjectType getType()
Copyright © 2013. All rights reserved.