blob: 273fda2b6728a28cc2f69ffd3b526bab41254058 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2012 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.jdt.internal.compiler.lookup;
import org.eclipse.jdt.internal.compiler.ast.QualifiedTypeReference;
/**
* A listener, which gets notified when a type binding has been discovered.
* <p>
* This interface may be implemented by clients.
* </p>
*/
public interface IQualifiedTypeResolutionListener {
/**
* Notifies that the given resolution has been found for the given type reference. Some of the bindings are
* intermediate types i.e. qualifying types.
*
* @param typeReference
* the type reference
* @param resolution
* the resolution found
*/
public void recordResolution(QualifiedTypeReference typeReference, TypeBinding resolution);
}