summaryrefslogtreecommitdiff
path: root/src/proguard/classfile/editor/LocalVariableTypeInfoAdder.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/proguard/classfile/editor/LocalVariableTypeInfoAdder.java')
-rw-r--r--src/proguard/classfile/editor/LocalVariableTypeInfoAdder.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/proguard/classfile/editor/LocalVariableTypeInfoAdder.java b/src/proguard/classfile/editor/LocalVariableTypeInfoAdder.java
index bed1366..94a5f2a 100644
--- a/src/proguard/classfile/editor/LocalVariableTypeInfoAdder.java
+++ b/src/proguard/classfile/editor/LocalVariableTypeInfoAdder.java
@@ -2,7 +2,7 @@
* ProGuard -- shrinking, optimization, obfuscation, and preverification
* of Java bytecode.
*
- * Copyright (c) 2002-2013 Eric Lafortune (eric@graphics.cornell.edu)
+ * Copyright (c) 2002-2014 Eric Lafortune (eric@graphics.cornell.edu)
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
@@ -20,13 +20,13 @@
*/
package proguard.classfile.editor;
-import proguard.classfile.attribute.visitor.LocalVariableTypeInfoVisitor;
-import proguard.classfile.attribute.*;
import proguard.classfile.*;
+import proguard.classfile.attribute.*;
+import proguard.classfile.attribute.visitor.LocalVariableTypeInfoVisitor;
/**
- * This LocalVariableTypeInfoVisitor adds all line numbers that it visits to the given
- * target line number attribute.
+ * This LocalVariableTypeInfoVisitor adds all local variable types that it
+ * visits to the given target local variable type attribute.
*/
public class LocalVariableTypeInfoAdder
implements LocalVariableTypeInfoVisitor
@@ -36,8 +36,8 @@ implements LocalVariableTypeInfoVisitor
/**
- * Creates a new LocalVariableTypeInfoAdder that will copy line numbers into the
- * given target line number table.
+ * Creates a new LocalVariableTypeInfoAdder that will copy local variable
+ * types into the given target local variable type table.
*/
public LocalVariableTypeInfoAdder(ProgramClass targetClass,
LocalVariableTypeTableAttribute targetLocalVariableTypeTableAttribute)
@@ -51,7 +51,7 @@ implements LocalVariableTypeInfoVisitor
public void visitLocalVariableTypeInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableTypeInfo localVariableTypeInfo)
{
- // Create a new line number.
+ // Create a new local variable type.
LocalVariableTypeInfo newLocalVariableTypeInfo =
new LocalVariableTypeInfo(localVariableTypeInfo.u2startPC,
localVariableTypeInfo.u2length,