aboutsummaryrefslogtreecommitdiffstats
path: root/bcel-builder/src
diff options
context:
space:
mode:
Diffstat (limited to 'bcel-builder/src')
-rw-r--r--bcel-builder/src/org/aspectj/apache/bcel/generic/ClassGen.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bcel-builder/src/org/aspectj/apache/bcel/generic/ClassGen.java b/bcel-builder/src/org/aspectj/apache/bcel/generic/ClassGen.java
index f12bd4491..4ba767d97 100644
--- a/bcel-builder/src/org/aspectj/apache/bcel/generic/ClassGen.java
+++ b/bcel-builder/src/org/aspectj/apache/bcel/generic/ClassGen.java
@@ -270,7 +270,7 @@ public class ClassGen extends Modifiers implements Cloneable {
/**
* @return field object with given name, or null if not found
*/
- public Field containsField(String name) {
+ public Field findsField(String name) {
for (Field field : fieldsList) {
if (field.getName().equals(name)) {
return field;