public static class SignatureAttribute.TypeArgument extends Object
SignatureAttribute.TypeParameter| Constructor and Description | 
|---|
| TypeArgument()Constructs a  TypeArgumentrepresenting<?>. | 
| TypeArgument(SignatureAttribute.ObjectType t)Constructs a  TypeArgument. | 
| 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. | 
| static SignatureAttribute.TypeArgument | subclassOf(SignatureAttribute.ObjectType t)A factory method constructing a  TypeArgumentwith an upper bound. | 
| static SignatureAttribute.TypeArgument | superOf(SignatureAttribute.ObjectType t)A factory method constructing a  TypeArgumentwith an lower bound. | 
| String | toString()Returns the string representation. | 
public TypeArgument(SignatureAttribute.ObjectType t)
TypeArgument.
 A type argument is <String>, <int[]>,
 or a type variable <T>, etc.t - a class type, an array type, or a type variable.public TypeArgument()
TypeArgument representing <?>.public static SignatureAttribute.TypeArgument subclassOf(SignatureAttribute.ObjectType t)
TypeArgument with an upper bound.
 It represents <? extends ... >t - an upper bound type.public static SignatureAttribute.TypeArgument superOf(SignatureAttribute.ObjectType t)
TypeArgument with an lower bound.
 It represents <? super ... >t - an lower bbound type.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 © 2016 Shigeru Chiba, www.javassist.org. All Rights Reserved.