public interface IResolvedQualifiersReference extends IReference
IReference where all the qualifiers in the
reference are already resolved to namespace definitions.| Modifier and Type | Method and Description |
|---|---|
Name |
getMName()
Gets the AET
Name that this reference represents. |
com.google.common.collect.ImmutableSet<INamespaceDefinition> |
getQualifiers()
Gets the resolved qualifiers for this reference.
|
boolean |
matches(IResolvedQualifiersReference toMatch)
Determines if base name of this
IResolvedQualifiersReference
matches the base name of the specified
IResolvedQualifiersReference and at least one qualifier in
the specified IResolvedQualifiersReference is in the set of
qualifiers in this IResolvedQualifiersReference. |
IDefinition |
resolve(ICompilerProject project)
Resolves this reference to a definition in the given project.
|
IDefinition |
resolve(ICompilerProject project,
ICompilationUnit referencingCompilationUnit,
DependencyType dependencyType)
Resolves this reference to a definition in the given project.
|
getDisplayString, getMName, getName, resolvecom.google.common.collect.ImmutableSet<INamespaceDefinition> getQualifiers()
INamespaceDefinition qualifiers.IDefinition resolve(ICompilerProject project, ICompilationUnit referencingCompilationUnit, DependencyType dependencyType)
project - The ICompilerProject in which to resolve the
reference.referencingCompilationUnit - The ICompilationUnit where the
resolution occurs.dependencyType - The type of dependency to introduce if this
resolves.IDefinition the reference resolves to.IDefinition resolve(ICompilerProject project)
project - The project in which to resolve the reference.Name getMName()
Name that this reference represents.Name representing this reference.boolean matches(IResolvedQualifiersReference toMatch)
IResolvedQualifiersReference
matches the base name of the specified
IResolvedQualifiersReference and at least one qualifier in
the specified IResolvedQualifiersReference is in the set of
qualifiers in this IResolvedQualifiersReference.toMatch - IResolvedQualifiersReference to test.IResolvedQualifiersReference is not equal to the base name in the
specified IResolvedQualifiersReference, false if none qualifiers
of the specified IResolvedQualifiersReference are in the set of
qualifiers in this IResolvedQualifiersReference, true otherwise.Copyright © 2016 The Apache Software Foundation. All rights reserved.