summaryrefslogtreecommitdiffstats
path: root/bcel-builder
diff options
context:
space:
mode:
authoracolyer <acolyer>2005-06-26 20:27:23 +0000
committeracolyer <acolyer>2005-06-26 20:27:23 +0000
commit24301586af99313d8ffd868e37b41bd6b59c2fd3 (patch)
treef7940f2f0f4a126fa816d59ca9c30a0950a38163 /bcel-builder
parent3a48c22cbaa797a59139e51e244d208bd69996fa (diff)
downloadaspectj-24301586af99313d8ffd868e37b41bd6b59c2fd3.tar.gz
aspectj-24301586af99313d8ffd868e37b41bd6b59c2fd3.zip
renamed "getRealSignatureFromAttribute" to "getGenericSignature" (which is what it is).
Diffstat (limited to 'bcel-builder')
-rw-r--r--bcel-builder/src/org/aspectj/apache/bcel/classfile/FieldOrMethod.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/bcel-builder/src/org/aspectj/apache/bcel/classfile/FieldOrMethod.java b/bcel-builder/src/org/aspectj/apache/bcel/classfile/FieldOrMethod.java
index 58a535571..1222ef715 100644
--- a/bcel-builder/src/org/aspectj/apache/bcel/classfile/FieldOrMethod.java
+++ b/bcel-builder/src/org/aspectj/apache/bcel/classfile/FieldOrMethod.java
@@ -64,7 +64,7 @@ import java.util.List;
/**
* Abstract super class for fields and methods.
*
- * @version $Id: FieldOrMethod.java,v 1.4 2005/06/01 14:55:44 aclement Exp $
+ * @version $Id: FieldOrMethod.java,v 1.5 2005/06/26 20:27:23 acolyer Exp $
* @author <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
*/
public abstract class FieldOrMethod extends AccessFlags implements Cloneable, Node {
@@ -221,7 +221,7 @@ public abstract class FieldOrMethod extends AccessFlags implements Cloneable, No
* to members that were declared generic.
*/
public final String getDeclaredSignature() {
- if (getRealSignatureFromAttribute()!=null) return getRealSignatureFromAttribute();
+ if (getGenericSignature()!=null) return getGenericSignature();
return getSignature();
}
@@ -284,10 +284,10 @@ public abstract class FieldOrMethod extends AccessFlags implements Cloneable, No
/**
* Hunts for a signature attribute on the member and returns its contents. So where the 'regular' signature
- * may be (Ljava/util/Vector;)V the signature attribute may in fact say '(Ljava/util/Vector<Ljava/lang/String;>;)V'
+ * may be (Ljava/util/Vector;)V the signature attribute may in fact say 'Ljava/lang/Vector<Ljava/lang/String>;'
* Coded for performance - searches for the attribute only when requested - only searches for it once.
*/
- public final String getRealSignatureFromAttribute() {
+ public final String getGenericSignature() {
if (!searchedForSignatureAttribute) {
boolean found=false;
for(int i=0; !found && i < attributes_count; i++) {