diff options
Diffstat (limited to 'org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/IQualifiedTypeResolutionListener.java')
-rw-r--r-- | org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/IQualifiedTypeResolutionListener.java | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/IQualifiedTypeResolutionListener.java b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/IQualifiedTypeResolutionListener.java new file mode 100644 index 0000000000..273fda2b67 --- /dev/null +++ b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/IQualifiedTypeResolutionListener.java @@ -0,0 +1,33 @@ +/******************************************************************************* + * 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); +} |