proguard.classfile.editor
Class LocalVariableTypeInfoAdder

java.lang.Object
  extended by proguard.classfile.editor.LocalVariableTypeInfoAdder
All Implemented Interfaces:
LocalVariableTypeInfoVisitor

public class LocalVariableTypeInfoAdder
extends java.lang.Object
implements LocalVariableTypeInfoVisitor

This LocalVariableTypeInfoVisitor adds all line numbers that it visits to the given target line number attribute.


Constructor Summary
LocalVariableTypeInfoAdder(ProgramClass targetClass, LocalVariableTypeTableAttribute targetLocalVariableTypeTableAttribute)
          Creates a new LocalVariableTypeInfoAdder that will copy line numbers into the given target line number table.
 
Method Summary
 void visitLocalVariableTypeInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableTypeInfo localVariableTypeInfo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalVariableTypeInfoAdder

public LocalVariableTypeInfoAdder(ProgramClass targetClass,
                                  LocalVariableTypeTableAttribute targetLocalVariableTypeTableAttribute)
Creates a new LocalVariableTypeInfoAdder that will copy line numbers into the given target line number table.

Method Detail

visitLocalVariableTypeInfo

public void visitLocalVariableTypeInfo(Clazz clazz,
                                       Method method,
                                       CodeAttribute codeAttribute,
                                       LocalVariableTypeInfo localVariableTypeInfo)
Specified by:
visitLocalVariableTypeInfo in interface LocalVariableTypeInfoVisitor