summaryrefslogtreecommitdiffstats
path: root/src/proguard/classfile/ProgramMember.java
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2013-09-20 16:17:43 -0700
committerNarayan Kamath <narayan@google.com>2013-11-26 12:50:57 +0000
commit8a6199f0c36a778f22394364347a301b0b28e94b (patch)
tree7d42e31a97264803b1147ef6001e8a5e6968a122 /src/proguard/classfile/ProgramMember.java
parent54f59ac04f3e21d5aecdd46bb1e7f4577924ab92 (diff)
downloadexternal_proguard-8a6199f0c36a778f22394364347a301b0b28e94b.tar.gz
external_proguard-8a6199f0c36a778f22394364347a301b0b28e94b.tar.bz2
external_proguard-8a6199f0c36a778f22394364347a301b0b28e94b.zip
Upgrade Proguard to 4.10.
Downloaded from: http://sourceforge.net/projects/proguard/files/proguard/4.10/ Bug: 8992787 (cherry picked from commit b9cc48a43ed984587c939d02fba5316bf5c0df6e) Change-Id: I6c619bc8b0493530470e134127a04c7143aeee2d
Diffstat (limited to 'src/proguard/classfile/ProgramMember.java')
-rw-r--r--src/proguard/classfile/ProgramMember.java32
1 files changed, 2 insertions, 30 deletions
diff --git a/src/proguard/classfile/ProgramMember.java b/src/proguard/classfile/ProgramMember.java
index ea6f46d..240d344 100644
--- a/src/proguard/classfile/ProgramMember.java
+++ b/src/proguard/classfile/ProgramMember.java
@@ -2,7 +2,7 @@
* ProGuard -- shrinking, optimization, obfuscation, and preverification
* of Java bytecode.
*
- * Copyright (c) 2002-2009 Eric Lafortune (eric@graphics.cornell.edu)
+ * Copyright (c) 2002-2013 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
@@ -53,7 +53,7 @@ public abstract class ProgramMember implements Member
/**
- * Creates an initialized ProgramMember.
+ * Creates an initialized ProgramMember.
*/
protected ProgramMember(int u2accessFlags,
int u2nameIndex,
@@ -70,34 +70,6 @@ public abstract class ProgramMember implements Member
/**
- * Returns the line number range of the given class member as "m:n",
- * if it can find it, or <code>null</code> otherwise.
- */
- public String getLineNumberRange(Clazz clazz)
- {
- CodeAttribute codeAttribute =
- (CodeAttribute)getAttribute(clazz, ClassConstants.ATTR_Code);
- if (codeAttribute == null)
- {
- return null;
- }
-
- LineNumberTableAttribute lineNumberTableAttribute =
- (LineNumberTableAttribute)codeAttribute.getAttribute(clazz,
- ClassConstants.ATTR_LineNumberTable);
- if (lineNumberTableAttribute == null)
- {
- return null;
- }
-
- return "" +
- lineNumberTableAttribute.getLineNumber(0) +
- ":" +
- lineNumberTableAttribute.getLineNumber(Integer.MAX_VALUE);
- }
-
-
- /**
* Returns the (first) attribute with the given name.
*/
private Attribute getAttribute(Clazz clazz, String name)