javassist.bytecode

Class SignatureAttribute.ClassType

public static class SignatureAttribute.ClassType extends SignatureAttribute.ObjectType

Class types.
Method Summary
SignatureAttribute.ClassTypegetDeclaringClass()
If this class is a member of another class, returns the class in which this class is declared.
StringgetName()
Returns the class name.
SignatureAttribute.TypeArgument[]getTypeArguments()
Returns the type arguments.
StringtoString()
Returns the string representation.

Method Detail

getDeclaringClass

public SignatureAttribute.ClassType getDeclaringClass()
If this class is a member of another class, returns the class in which this class is declared.

Returns: null if this class is not a member of another class.

getName

public String getName()
Returns the class name.

getTypeArguments

public SignatureAttribute.TypeArgument[] getTypeArguments()
Returns the type arguments.

Returns: null if no type arguments are given to this class.

toString

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