public class TargetInfoCopier extends java.lang.Object implements TargetInfoVisitor
TargetInfoVisitor copies the target info instances that it visits to
the given type annotation (each time overwriting any previous target info).| Constructor and Description |
|---|
TargetInfoCopier(ProgramClass targetClass,
TypeAnnotation targetTypeAnnotation)
Creates a new TargetInfoCopier that will copy target info instances
to the given target type annotation.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitvisitAnyTargetInfo, visitEmptyTargetInfo, visitEmptyTargetInfo, visitTypeParameterBoundTargetInfo, visitTypeParameterBoundTargetInfo, visitTypeParameterBoundTargetInfo, visitTypeParameterTargetInfopublic TargetInfoCopier(ProgramClass targetClass, TypeAnnotation targetTypeAnnotation)
public void visitTypeParameterTargetInfo(Clazz clazz, TypeAnnotation typeAnnotation, TypeParameterTargetInfo typeParameterTargetInfo)
visitTypeParameterTargetInfo in interface TargetInfoVisitorpublic void visitSuperTypeTargetInfo(Clazz clazz, TypeAnnotation typeAnnotation, SuperTypeTargetInfo superTypeTargetInfo)
visitSuperTypeTargetInfo in interface TargetInfoVisitorpublic void visitTypeParameterBoundTargetInfo(Clazz clazz, TypeAnnotation typeAnnotation, TypeParameterBoundTargetInfo typeParameterBoundTargetInfo)
visitTypeParameterBoundTargetInfo in interface TargetInfoVisitorpublic void visitEmptyTargetInfo(Clazz clazz, Member member, TypeAnnotation typeAnnotation, EmptyTargetInfo emptyTargetInfo)
visitEmptyTargetInfo in interface TargetInfoVisitorpublic void visitFormalParameterTargetInfo(Clazz clazz, Method method, TypeAnnotation typeAnnotation, FormalParameterTargetInfo formalParameterTargetInfo)
visitFormalParameterTargetInfo in interface TargetInfoVisitorpublic void visitThrowsTargetInfo(Clazz clazz, Method method, TypeAnnotation typeAnnotation, ThrowsTargetInfo throwsTargetInfo)
visitThrowsTargetInfo in interface TargetInfoVisitorpublic void visitLocalVariableTargetInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, TypeAnnotation typeAnnotation, LocalVariableTargetInfo localVariableTargetInfo)
visitLocalVariableTargetInfo in interface TargetInfoVisitorpublic void visitCatchTargetInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, TypeAnnotation typeAnnotation, CatchTargetInfo catchTargetInfo)
visitCatchTargetInfo in interface TargetInfoVisitorpublic void visitOffsetTargetInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, TypeAnnotation typeAnnotation, OffsetTargetInfo offsetTargetInfo)
visitOffsetTargetInfo in interface TargetInfoVisitorpublic void visitTypeArgumentTargetInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, TypeAnnotation typeAnnotation, TypeArgumentTargetInfo typeArgumentTargetInfo)
visitTypeArgumentTargetInfo in interface TargetInfoVisitor