A SignatureVisitor that generates signature literals, as defined in the Java Virtual Machine
Specification (JVMS).
public | Constructs a new SignatureWriter. |
public String | toString() Returns the signature that was built by this signature writer. |
public SignatureVisitor | Visits a signature corresponding to an array type. |
public void | visitBaseType( Visits a signature corresponding to a primitive type. |
public SignatureVisitor | Visits the class bound of the last visited formal type parameter. |
public void | visitClassType( Starts the visit of a signature corresponding to a class or interface type. |
public void | visitEnd() Ends the visit of a signature corresponding to a class or interface type. |
public SignatureVisitor | Visits the type of a method exception. |
public void | Visits a formal type parameter. |
public void | visitInnerClassType( Visits an inner class. |
public SignatureVisitor | Visits the type of an interface implemented by the class. |
public SignatureVisitor | Visits an interface bound of the last visited formal type parameter. |
public SignatureVisitor | Visits the type of a method parameter. |
public SignatureVisitor | Visits the return type of the method. |
public SignatureVisitor | Visits the type of the super class. |
public void | Visits an unbounded type argument of the last visited class or inner class type. |
public SignatureVisitor | visitTypeArgument( Visits a type argument of the last visited class or inner class type. |
public void | visitTypeVariable( Visits a signature corresponding to a type variable. |
Constructs a new SignatureWriter.
Returns the signature that was built by this signature writer.
the signature that was built by this signature writer.
Overridden from: SignatureVisitor
Visits a signature corresponding to an array type.
a non null visitor to visit the signature of the array element type.
Overridden from: SignatureVisitor
Visits a signature corresponding to a primitive type.
descriptorthe descriptor of the primitive type, or 'V' for
void
.Overridden from: SignatureVisitor
Visits the class bound of the last visited formal type parameter.
a non null visitor to visit the signature of the class bound.
Overridden from: SignatureVisitor
Starts the visit of a signature corresponding to a class or interface type.
namethe internal name of the class or interface.
Overridden from: SignatureVisitor
Ends the visit of a signature corresponding to a class or interface type.
Overridden from: SignatureVisitor
Visits the type of a method exception.
a non null visitor to visit the signature of the exception type.
Overridden from: SignatureVisitor
Visits a formal type parameter.
namethe name of the formal parameter.
Overridden from: SignatureVisitor
Visits an inner class.
namethe local name of the inner class in its enclosing class.
Overridden from: SignatureVisitor
Visits the type of an interface implemented by the class.
a non null visitor to visit the signature of the interface type.
Overridden from: SignatureVisitor
Visits an interface bound of the last visited formal type parameter.
a non null visitor to visit the signature of the interface bound.
Overridden from: SignatureVisitor
Visits the type of a method parameter.
a non null visitor to visit the signature of the parameter type.
Overridden from: SignatureVisitor
Visits the return type of the method.
a non null visitor to visit the signature of the return type.
Overridden from: SignatureVisitor
Visits the type of the super class.
a non null visitor to visit the signature of the super class type.
Overridden from: SignatureVisitor
Visits an unbounded type argument of the last visited class or inner class type.
Overridden from: SignatureVisitor
Visits a type argument of the last visited class or inner class type.
wildcard'+', '-' or '='.
a non null visitor to visit the signature of the type argument.
Overridden from: SignatureVisitor
Visits a signature corresponding to a type variable.
namethe name of the type variable.