public static class SignatureAttribute.TypeVariable extends SignatureAttribute.ObjectType
Modifier and Type | Field and Description |
---|---|
(package private) java.lang.String |
name |
Constructor and Description |
---|
TypeVariable(java.lang.String name)
Constructs a
TypeVariable . |
TypeVariable(java.lang.String sig,
int begin,
int end) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
encode(java.lang.StringBuffer sb) |
java.lang.String |
getName()
Returns the variable name.
|
java.lang.String |
toString()
Returns the string representation.
|
encode
toString
TypeVariable(java.lang.String sig, int begin, int end)
public TypeVariable(java.lang.String name)
TypeVariable
.name
- the name of a type variable.public java.lang.String getName()
public java.lang.String toString()
toString
in class java.lang.Object
void encode(java.lang.StringBuffer sb)
encode
in class SignatureAttribute.Type