summaryrefslogtreecommitdiff
path: root/src/proguard/classfile/attribute/annotation/ClassElementValue.java
diff options
context:
space:
mode:
authorBrian Carlstrom <bdc@google.com>2015-01-09 00:45:23 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-01-09 00:45:23 +0000
commit6af8f1004e0efe02a138286a34e833d1f3d227d7 (patch)
tree9ac962825d41c4fb8ad1ec0fc2e8b441b42d3869 /src/proguard/classfile/attribute/annotation/ClassElementValue.java
parent9961286c06c25cd03464d3e2b00bd9b9dedf96ba (diff)
parentcd9e071098d0539dda3a4a5d3f45cfd8814de4ed (diff)
downloadproguard-6af8f1004e0efe02a138286a34e833d1f3d227d7.tar.gz
Merge "Upgrade Proguard to 5.1."
Diffstat (limited to 'src/proguard/classfile/attribute/annotation/ClassElementValue.java')
-rw-r--r--src/proguard/classfile/attribute/annotation/ClassElementValue.java11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/proguard/classfile/attribute/annotation/ClassElementValue.java b/src/proguard/classfile/attribute/annotation/ClassElementValue.java
index ffeaf71..0e5de1e 100644
--- a/src/proguard/classfile/attribute/annotation/ClassElementValue.java
+++ b/src/proguard/classfile/attribute/annotation/ClassElementValue.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
@@ -63,6 +63,15 @@ public class ClassElementValue extends ElementValue
/**
+ * Returns the class info name.
+ */
+ public String getClassName(Clazz clazz)
+ {
+ return clazz.getString(u2classInfoIndex);
+ }
+
+
+ /**
* Applies the given visitor to all referenced classes.
*/
public void referencedClassesAccept(ClassVisitor classVisitor)