Class SignatureHeaderTransformer
- java.lang.Object
-
- org.objectweb.asm.signature.SignatureVisitor
-
- es.bsc.dataclay.logic.classmgr.bytecode.java.headers.SignatureHeaderTransformer
-
public final class SignatureHeaderTransformer extends org.objectweb.asm.signature.SignatureVisitor
Signature visitor for renaming super class.
-
-
Constructor Summary
Constructors Constructor Description SignatureHeaderTransformer(org.objectweb.asm.signature.SignatureVisitor nextVs)
DataClaySignatureVisitor constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.objectweb.asm.signature.SignatureVisitor
visitArrayType()
Visits a signature corresponding to an array type.void
visitBaseType(char descriptor)
Visits a signature corresponding to a primitive type.org.objectweb.asm.signature.SignatureVisitor
visitClassBound()
Visits the class bound of the last visited formal type parameter.void
visitClassType(String name)
void
visitEnd()
Ends the visit of a signature corresponding to a class or interface type.org.objectweb.asm.signature.SignatureVisitor
visitExceptionType()
Visits the type of a method exception.void
visitFormalTypeParameter(String name)
Visits a formal type parameter.void
visitInnerClassType(String name)
Visits an inner class.org.objectweb.asm.signature.SignatureVisitor
visitInterface()
Visits the type of an interface implemented by the class.org.objectweb.asm.signature.SignatureVisitor
visitInterfaceBound()
Visits an interface bound of the last visited formal type parameter.org.objectweb.asm.signature.SignatureVisitor
visitParameterType()
Visits the type of a method parameter.org.objectweb.asm.signature.SignatureVisitor
visitReturnType()
Visits the return type of the method.org.objectweb.asm.signature.SignatureVisitor
visitSuperclass()
void
visitTypeArgument()
Visits an unbounded type argument of the last visited class or inner class type.org.objectweb.asm.signature.SignatureVisitor
visitTypeArgument(char wildcard)
Visits a type argument of the last visited class or inner class type.void
visitTypeVariable(String name)
Visits a signature corresponding to a type variable.
-
-
-
Method Detail
-
visitClassType
public void visitClassType(String name)
- Overrides:
visitClassType
in classorg.objectweb.asm.signature.SignatureVisitor
-
visitSuperclass
public org.objectweb.asm.signature.SignatureVisitor visitSuperclass()
- Overrides:
visitSuperclass
in classorg.objectweb.asm.signature.SignatureVisitor
-
visitFormalTypeParameter
public void visitFormalTypeParameter(String name)
Visits a formal type parameter.- Overrides:
visitFormalTypeParameter
in classorg.objectweb.asm.signature.SignatureVisitor
- Parameters:
name
- the name of the formal parameter.
-
visitClassBound
public org.objectweb.asm.signature.SignatureVisitor visitClassBound()
Visits the class bound of the last visited formal type parameter.- Overrides:
visitClassBound
in classorg.objectweb.asm.signature.SignatureVisitor
- Returns:
- a non null visitor to visit the signature of the class bound.
-
visitInterfaceBound
public org.objectweb.asm.signature.SignatureVisitor visitInterfaceBound()
Visits an interface bound of the last visited formal type parameter.- Overrides:
visitInterfaceBound
in classorg.objectweb.asm.signature.SignatureVisitor
- Returns:
- a non null visitor to visit the signature of the interface bound.
-
visitInterface
public org.objectweb.asm.signature.SignatureVisitor visitInterface()
Visits the type of an interface implemented by the class.- Overrides:
visitInterface
in classorg.objectweb.asm.signature.SignatureVisitor
- Returns:
- a non null visitor to visit the signature of the interface type.
-
visitParameterType
public org.objectweb.asm.signature.SignatureVisitor visitParameterType()
Visits the type of a method parameter.- Overrides:
visitParameterType
in classorg.objectweb.asm.signature.SignatureVisitor
- Returns:
- a non null visitor to visit the signature of the parameter type.
-
visitReturnType
public org.objectweb.asm.signature.SignatureVisitor visitReturnType()
Visits the return type of the method.- Overrides:
visitReturnType
in classorg.objectweb.asm.signature.SignatureVisitor
- Returns:
- a non null visitor to visit the signature of the return type.
-
visitExceptionType
public org.objectweb.asm.signature.SignatureVisitor visitExceptionType()
Visits the type of a method exception.- Overrides:
visitExceptionType
in classorg.objectweb.asm.signature.SignatureVisitor
- Returns:
- a non null visitor to visit the signature of the exception type.
-
visitBaseType
public void visitBaseType(char descriptor)
Visits a signature corresponding to a primitive type.- Overrides:
visitBaseType
in classorg.objectweb.asm.signature.SignatureVisitor
- Parameters:
descriptor
- the descriptor of the primitive type, or 'V' for void .
-
visitTypeVariable
public void visitTypeVariable(String name)
Visits a signature corresponding to a type variable.- Overrides:
visitTypeVariable
in classorg.objectweb.asm.signature.SignatureVisitor
- Parameters:
name
- the name of the type variable.
-
visitArrayType
public org.objectweb.asm.signature.SignatureVisitor visitArrayType()
Visits a signature corresponding to an array type.- Overrides:
visitArrayType
in classorg.objectweb.asm.signature.SignatureVisitor
- Returns:
- a non null visitor to visit the signature of the array element type.
-
visitInnerClassType
public void visitInnerClassType(String name)
Visits an inner class.- Overrides:
visitInnerClassType
in classorg.objectweb.asm.signature.SignatureVisitor
- Parameters:
name
- the local name of the inner class in its enclosing class.
-
visitTypeArgument
public void visitTypeArgument()
Visits an unbounded type argument of the last visited class or inner class type.- Overrides:
visitTypeArgument
in classorg.objectweb.asm.signature.SignatureVisitor
-
visitTypeArgument
public org.objectweb.asm.signature.SignatureVisitor visitTypeArgument(char wildcard)
Visits a type argument of the last visited class or inner class type.- Overrides:
visitTypeArgument
in classorg.objectweb.asm.signature.SignatureVisitor
- Parameters:
wildcard
- '+', '-' or '='.- Returns:
- a non null visitor to visit the signature of the type argument.
-
visitEnd
public void visitEnd()
Ends the visit of a signature corresponding to a class or interface type.- Overrides:
visitEnd
in classorg.objectweb.asm.signature.SignatureVisitor
-
-