From 24301586af99313d8ffd868e37b41bd6b59c2fd3 Mon Sep 17 00:00:00 2001 From: acolyer Date: Sun, 26 Jun 2005 20:27:23 +0000 Subject: [PATCH] renamed "getRealSignatureFromAttribute" to "getGenericSignature" (which is what it is). --- .../org/aspectj/apache/bcel/classfile/FieldOrMethod.java | 8 ++++---- 1 file 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 M. Dahm */ 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;)V' + * may be (Ljava/util/Vector;)V the signature attribute may in fact say 'Ljava/lang/Vector;' * 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++) { -- 2.39.5