public class ResolvedImpl extends Object implements IResolved
| Modifier and Type | Class and Description |
|---|---|
static class |
ResolvedImpl.Match
Represents a single match found during resolution
|
| Constructor and Description |
|---|
ResolvedImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clear all matches (for reuse)
|
void |
found(INamespace namespace,
boolean nullable,
IScope scope,
ResolvePath path,
List<String> remainingNames)
Called when a namespace is found that matches the name being resolved.
|
int |
getCount()
Get the number of matches found
|
ResolvedImpl.Match |
getFirst()
Get the first (and possibly only) match
|
List<ResolvedImpl.Match> |
getMatches()
Get all matches
|
boolean |
isAmbiguous()
Check if multiple matches were found (ambiguous)
|
boolean |
isEmpty()
Check if no matches were found
|
boolean |
isUnique()
Check if exactly one match was found
|
public ResolvedImpl()
public void found(INamespace namespace, boolean nullable, IScope scope, ResolvePath path, List<String> remainingNames)
IResolvedpublic int getCount()
IResolvedpublic boolean isUnique()
IResolvedpublic boolean isAmbiguous()
IResolvedisAmbiguous in interface IResolvedpublic boolean isEmpty()
IResolvedpublic List<ResolvedImpl.Match> getMatches()
public ResolvedImpl.Match getFirst()
public void clear()