javassist.bytecode
Class SignatureAttribute.TypeParameter

java.lang.Object
  extended by javassist.bytecode.SignatureAttribute.TypeParameter
Enclosing class:
SignatureAttribute

public static class SignatureAttribute.TypeParameter
extends java.lang.Object

Formal type parameters.


Method Summary
 SignatureAttribute.ObjectType getClassBound()
          Returns the class bound of this parameter.
 SignatureAttribute.ObjectType[] getInterfaceBound()
          Returns the interface bound of this parameter.
 java.lang.String getName()
          Returns the name of the type parameter.
 java.lang.String toString()
          Returns the string representation.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getName

public java.lang.String getName()
Returns the name of the type parameter.


getClassBound

public SignatureAttribute.ObjectType getClassBound()
Returns the class bound of this parameter.

Returns:
null if the class bound is not specified.

getInterfaceBound

public SignatureAttribute.ObjectType[] getInterfaceBound()
Returns the interface bound of this parameter.

Returns:
a zero-length array if the interface bound is not specified.

toString

public java.lang.String toString()
Returns the string representation.

Overrides:
toString in class java.lang.Object


Javassist, a Java-bytecode translator toolkit.
Copyright (C) 1999-2008 Shigeru Chiba. All Rights Reserved.