javassist.bytecode

Class SignatureAttribute.TypeParameter

public static class SignatureAttribute.TypeParameter extends Object

Formal type parameters.
Method Summary
SignatureAttribute.ObjectTypegetClassBound()
Returns the class bound of this parameter.
SignatureAttribute.ObjectType[]getInterfaceBound()
Returns the interface bound of this parameter.
StringgetName()
Returns the name of the type parameter.
StringtoString()
Returns the string representation.

Method Detail

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.

getName

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

toString

public String toString()
Returns the string representation.
Javassist, a Java-bytecode translator toolkit.
Copyright (C) 1999-2006 Shigeru Chiba. All Rights Reserved.