public abstract class SingleTargetReference extends java.lang.Object implements SymbolReference
SingleResultReference
Constructor and Description |
---|
SingleTargetReference() |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<? extends SymbolResolveResult> |
resolveReference()
Default implementation wraps target returned from
resolveSingleTarget() into resolve result list ,
or returns empty list if resolveSingleTarget() returned null . |
protected abstract Symbol |
resolveSingleTarget() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
resolvesTo
public final java.util.Collection<? extends SymbolResolveResult> resolveReference()
resolveSingleTarget()
into resolve result list ,
or returns empty list if resolveSingleTarget()
returned null
.resolveReference
in interface SymbolReference
protected abstract Symbol resolveSingleTarget()
null
if it was not possible to resolve the reference