Class RemappingSignatureAdapter
java.lang.Object
org.objectweb.asm.commons.RemappingSignatureAdapter
- All Implemented Interfaces:
SignatureVisitor
A
SignatureVisitor adapter for type mapping.- Author:
- Eugene Kuleshov
-
Field Summary
Fields inherited from interface SignatureVisitor
EXTENDS, INSTANCEOF, SUPER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionVisits a signature corresponding to an array type.voidvisitBaseType(char descriptor) Visits a signature corresponding to a primitive type.Visits the class bound of the last visited formal type parameter.voidvisitClassType(String name) Starts the visit of a signature corresponding to a class or interface type.voidvisitEnd()Ends the visit of a signature corresponding to a class or interface type.Visits the type of a method exception.voidVisits a formal type parameter.voidvisitInnerClassType(String name) Visits an inner class.Visits the type of an interface implemented by the class.Visits an interface bound of the last visited formal type parameter.Visits the type of a method parameter.Visits the return type of the method.Visits the type of the super class.voidVisits an unbounded type argument of the last visited class or inner class type.visitTypeArgument(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.
-
Constructor Details
-
RemappingSignatureAdapter
-
-
Method Details
-
visitClassType
Description copied from interface:SignatureVisitorStarts the visit of a signature corresponding to a class or interface type.- Specified by:
visitClassTypein interfaceSignatureVisitor- Parameters:
name- the internal name of the class or interface.
-
visitInnerClassType
Description copied from interface:SignatureVisitorVisits an inner class.- Specified by:
visitInnerClassTypein interfaceSignatureVisitor- Parameters:
name- the local name of the inner class in its enclosing class.
-
visitFormalTypeParameter
Description copied from interface:SignatureVisitorVisits a formal type parameter.- Specified by:
visitFormalTypeParameterin interfaceSignatureVisitor- Parameters:
name- the name of the formal parameter.
-
visitTypeVariable
Description copied from interface:SignatureVisitorVisits a signature corresponding to a type variable.- Specified by:
visitTypeVariablein interfaceSignatureVisitor- Parameters:
name- the name of the type variable.
-
visitArrayType
Description copied from interface:SignatureVisitorVisits a signature corresponding to an array type.- Specified by:
visitArrayTypein interfaceSignatureVisitor- Returns:
- a non null visitor to visit the signature of the array element type.
-
visitBaseType
public void visitBaseType(char descriptor) Description copied from interface:SignatureVisitorVisits a signature corresponding to a primitive type.- Specified by:
visitBaseTypein interfaceSignatureVisitor- Parameters:
descriptor- the descriptor of the primitive type, or 'V' for void.
-
visitClassBound
Description copied from interface:SignatureVisitorVisits the class bound of the last visited formal type parameter.- Specified by:
visitClassBoundin interfaceSignatureVisitor- Returns:
- a non null visitor to visit the signature of the class bound.
-
visitExceptionType
Description copied from interface:SignatureVisitorVisits the type of a method exception.- Specified by:
visitExceptionTypein interfaceSignatureVisitor- Returns:
- a non null visitor to visit the signature of the exception type.
-
visitInterface
Description copied from interface:SignatureVisitorVisits the type of an interface implemented by the class.- Specified by:
visitInterfacein interfaceSignatureVisitor- Returns:
- a non null visitor to visit the signature of the interface type.
-
visitInterfaceBound
Description copied from interface:SignatureVisitorVisits an interface bound of the last visited formal type parameter.- Specified by:
visitInterfaceBoundin interfaceSignatureVisitor- Returns:
- a non null visitor to visit the signature of the interface bound.
-
visitParameterType
Description copied from interface:SignatureVisitorVisits the type of a method parameter.- Specified by:
visitParameterTypein interfaceSignatureVisitor- Returns:
- a non null visitor to visit the signature of the parameter type.
-
visitReturnType
Description copied from interface:SignatureVisitorVisits the return type of the method.- Specified by:
visitReturnTypein interfaceSignatureVisitor- Returns:
- a non null visitor to visit the signature of the return type.
-
visitSuperclass
Description copied from interface:SignatureVisitorVisits the type of the super class.- Specified by:
visitSuperclassin interfaceSignatureVisitor- Returns:
- a non null visitor to visit the signature of the super class type.
-
visitTypeArgument
public void visitTypeArgument()Description copied from interface:SignatureVisitorVisits an unbounded type argument of the last visited class or inner class type.- Specified by:
visitTypeArgumentin interfaceSignatureVisitor
-
visitTypeArgument
Description copied from interface:SignatureVisitorVisits a type argument of the last visited class or inner class type.- Specified by:
visitTypeArgumentin interfaceSignatureVisitor- Parameters:
wildcard- '+', '-' or '='.- Returns:
- a non null visitor to visit the signature of the type argument.
-
visitEnd
public void visitEnd()Description copied from interface:SignatureVisitorEnds the visit of a signature corresponding to a class or interface type.- Specified by:
visitEndin interfaceSignatureVisitor
-