01: /*******************************************************************************
02: * Copyright (c) 2000, 2006 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.jdt.internal.compiler.lookup;
11:
12: public interface InvocationSite {
13:
14: TypeBinding[] genericTypeArguments();
15:
16: boolean isSuperAccess();
17:
18: boolean isTypeAccess();
19:
20: void setDepth(int depth);
21:
22: void setFieldIndex(int depth);
23:
24: // in case the receiver type does not match the actual receiver type
25: // e.g. pkg.Type.C (receiver type of C is type of source context,
26: // but actual receiver type is pkg.Type)
27: // e.g2. in presence of implicit access to enclosing type
28: void setActualReceiverType(ReferenceBinding receiverType);
29:
30: int sourceStart();
31:
32: int sourceEnd();
33: }
|