From e7355ff02829155c673d624de1c94def353279d0 Mon Sep 17 00:00:00 2001 From: aclement Date: Tue, 17 Jun 2008 02:26:06 +0000 Subject: [PATCH] 198196: extra ctor --- .../internal/compiler/ast/KnownFieldReference.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/KnownFieldReference.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/KnownFieldReference.java index 2d95b4eed..1fc25ef75 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/KnownFieldReference.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/KnownFieldReference.java @@ -23,6 +23,16 @@ import org.aspectj.org.eclipse.jdt.internal.compiler.lookup.TypeBinding; public class KnownFieldReference extends QualifiedNameReference { + public KnownFieldReference(FieldBinding binding, int startPos,int endPos) { + super(new char[][] {binding.name},new long[1], startPos, endPos); + this.binding = this.codegenBinding = binding; + this.constant = Constant.NotAConstant; + this.actualReceiverType = binding.declaringClass; + + this.bits = Binding.FIELD; + //this.receiver = AstUtil.makeTypeReference(binding.declaringClass); + } + //XXX handle source locations public KnownFieldReference(FieldBinding binding, long pos) { super(new char[][] {binding.name},new long[1], 0, 0); -- 2.39.5