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.SignatureVisitorSignature 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.SignatureVisitorvisitArrayType()Visits a signature corresponding to an array type.voidvisitBaseType(char descriptor)Visits a signature corresponding to a primitive type.org.objectweb.asm.signature.SignatureVisitorvisitClassBound()Visits the class bound of the last visited formal type parameter.voidvisitClassType(String name)voidvisitEnd()Ends the visit of a signature corresponding to a class or interface type.org.objectweb.asm.signature.SignatureVisitorvisitExceptionType()Visits the type of a method exception.voidvisitFormalTypeParameter(String name)Visits a formal type parameter.voidvisitInnerClassType(String name)Visits an inner class.org.objectweb.asm.signature.SignatureVisitorvisitInterface()Visits the type of an interface implemented by the class.org.objectweb.asm.signature.SignatureVisitorvisitInterfaceBound()Visits an interface bound of the last visited formal type parameter.org.objectweb.asm.signature.SignatureVisitorvisitParameterType()Visits the type of a method parameter.org.objectweb.asm.signature.SignatureVisitorvisitReturnType()Visits the return type of the method.org.objectweb.asm.signature.SignatureVisitorvisitSuperclass()voidvisitTypeArgument()Visits an unbounded type argument of the last visited class or inner class type.org.objectweb.asm.signature.SignatureVisitorvisitTypeArgument(char wildcard)Visits a type argument of the last visited class or inner class type.voidvisitTypeVariable(String name)Visits a signature corresponding to a type variable.
-
-
-
Method Detail
-
visitClassType
public void visitClassType(String name)
- Overrides:
visitClassTypein classorg.objectweb.asm.signature.SignatureVisitor
-
visitSuperclass
public org.objectweb.asm.signature.SignatureVisitor visitSuperclass()
- Overrides:
visitSuperclassin classorg.objectweb.asm.signature.SignatureVisitor
-
visitFormalTypeParameter
public void visitFormalTypeParameter(String name)
Visits a formal type parameter.- Overrides:
visitFormalTypeParameterin 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:
visitClassBoundin 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:
visitInterfaceBoundin 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:
visitInterfacein 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:
visitParameterTypein 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:
visitReturnTypein 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:
visitExceptionTypein 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:
visitBaseTypein 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:
visitTypeVariablein 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:
visitArrayTypein 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:
visitInnerClassTypein 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:
visitTypeArgumentin 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:
visitTypeArgumentin 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:
visitEndin classorg.objectweb.asm.signature.SignatureVisitor
-
-