Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.core/src/org/eclipse/jst/jsf/designtime/resolver/CachingSymbolContextResolver.java10
1 files changed, 9 insertions, 1 deletions
diff --git a/jsf/plugins/org.eclipse.jst.jsf.core/src/org/eclipse/jst/jsf/designtime/resolver/CachingSymbolContextResolver.java b/jsf/plugins/org.eclipse.jst.jsf.core/src/org/eclipse/jst/jsf/designtime/resolver/CachingSymbolContextResolver.java
index 200b144a0..787dd5769 100644
--- a/jsf/plugins/org.eclipse.jst.jsf.core/src/org/eclipse/jst/jsf/designtime/resolver/CachingSymbolContextResolver.java
+++ b/jsf/plugins/org.eclipse.jst.jsf.core/src/org/eclipse/jst/jsf/designtime/resolver/CachingSymbolContextResolver.java
@@ -41,7 +41,7 @@ public final class CachingSymbolContextResolver extends AbstractSymbolContextRes
private final static IMethodSymbol METHOD_SYMBOL_NOT_FOUND =
SymbolFactory.eINSTANCE.createIMethodSymbol();
- private final SymbolContextResolver _delegate;
+ private final ISymbolContextResolver _delegate;
private final Map<String, ISymbol> _variablesByName = new HashMap<String, ISymbol>();
private ISymbol[] _allVariables;
@@ -62,6 +62,14 @@ public final class CachingSymbolContextResolver extends AbstractSymbolContextRes
_delegate = new SymbolContextResolver(context);
}
+ /**
+ * @param delegate
+ */
+ public CachingSymbolContextResolver(final ISymbolContextResolver delegate)
+ {
+ _delegate = delegate;
+ }
+
@Override
public boolean canResolveContext(final IModelContext modelContext)
{

Back to the top