summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorahaase2008-01-28 09:07:18 (EST)
committerahaase2008-01-28 09:07:18 (EST)
commitab36f6fbf15428d6282007038d165343762a4792 (patch)
treef85a6f6f956e436e89d33c62f7947cdbfc40df47
parente07b2338575e245b19657f4312229419d7669943 (diff)
downloadorg.eclipse.xpand-ab36f6fbf15428d6282007038d165343762a4792.zip
org.eclipse.xpand-ab36f6fbf15428d6282007038d165343762a4792.tar.gz
org.eclipse.xpand-ab36f6fbf15428d6282007038d165343762a4792.tar.bz2
reduced visibility of invokeInternal from public to protected
-rw-r--r--plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/AndExpression.java2
-rw-r--r--plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/CreateCachedExpression.java2
-rw-r--r--plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/CreateUncachedExpression.java2
-rw-r--r--plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/GlobalVarExpression.java2
-rw-r--r--plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/HidingLocalVarDefExpression.java2
-rw-r--r--plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/IfExpression.java2
-rw-r--r--plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/InitClosureExpression.java2
-rw-r--r--plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/InvocationOnCollectionExpression.java2
-rw-r--r--plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/InvocationOnObjectExpression.java2
-rw-r--r--plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/InvocationOnWhateverExpression.java2
-rw-r--r--plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/LiteralExpression.java2
-rw-r--r--plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/LocalVarEvalExpression.java2
-rw-r--r--plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/NewLocalVarDefExpression.java2
-rw-r--r--plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/OrExpression.java2
-rw-r--r--plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/PropertyOnCollectionExpression.java2
-rw-r--r--plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/PropertyOnObjectExpression.java2
-rw-r--r--plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/PropertyOnWhateverExpression.java2
-rw-r--r--plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/SequenceExpression.java2
-rw-r--r--plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/SetPropertyExpression.java2
19 files changed, 19 insertions, 19 deletions
diff --git a/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/AndExpression.java b/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/AndExpression.java
index 289206a..79945f3 100644
--- a/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/AndExpression.java
+++ b/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/AndExpression.java
@@ -31,7 +31,7 @@ public final class AndExpression extends ExpressionBase {
}
@Override
- public Object evaluateInternal(ExecutionContext ctx) {
+ protected Object evaluateInternal(ExecutionContext ctx) {
final Object left = _left.evaluate(ctx);
if (left == null) {
ctx.logNullDeRef (getPos());
diff --git a/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/CreateCachedExpression.java b/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/CreateCachedExpression.java
index df31f93..9f4d5a6 100644
--- a/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/CreateCachedExpression.java
+++ b/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/CreateCachedExpression.java
@@ -35,7 +35,7 @@ public final class CreateCachedExpression extends ExpressionBase {
}
@Override
- public Object evaluateInternal(ExecutionContext ctx) {
+ protected Object evaluateInternal(ExecutionContext ctx) {
final List<Object> params = new ArrayList<Object>();
for (ExpressionBase e: _paramExpr)
diff --git a/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/CreateUncachedExpression.java b/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/CreateUncachedExpression.java
index 1d24137..daccd8f 100644
--- a/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/CreateUncachedExpression.java
+++ b/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/CreateUncachedExpression.java
@@ -29,7 +29,7 @@ public final class CreateUncachedExpression extends ExpressionBase {
}
@Override
- public Object evaluateInternal(ExecutionContext ctx) {
+ protected Object evaluateInternal(ExecutionContext ctx) {
return _t.create();
}
}
diff --git a/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/GlobalVarExpression.java b/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/GlobalVarExpression.java
index 2c8f945..b6f8482 100644
--- a/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/GlobalVarExpression.java
+++ b/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/GlobalVarExpression.java
@@ -29,7 +29,7 @@ public final class GlobalVarExpression extends ExpressionBase {
}
@Override
- public Object evaluateInternal(ExecutionContext ctx) {
+ protected Object evaluateInternal(ExecutionContext ctx) {
return ctx.getGlobalVarContext().getGlobalVars().get (_varName);
}
}
diff --git a/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/HidingLocalVarDefExpression.java b/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/HidingLocalVarDefExpression.java
index 508529a..7df5705 100644
--- a/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/HidingLocalVarDefExpression.java
+++ b/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/HidingLocalVarDefExpression.java
@@ -33,7 +33,7 @@ public final class HidingLocalVarDefExpression extends ExpressionBase {
}
@Override
- public Object evaluateInternal(ExecutionContext ctx) {
+ protected Object evaluateInternal(ExecutionContext ctx) {
final Object oldValue = ctx.getLocalVarContext().getLocalVars().get(_localVarName);
ctx.getLocalVarContext().getLocalVars().put (_localVarName, _defExpression.evaluate(ctx));
diff --git a/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/IfExpression.java b/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/IfExpression.java
index 2dc710f..417db8e 100644
--- a/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/IfExpression.java
+++ b/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/IfExpression.java
@@ -31,7 +31,7 @@ public final class IfExpression extends ExpressionBase {
}
@Override
- public Object evaluateInternal (ExecutionContext ctx) {
+ protected Object evaluateInternal (ExecutionContext ctx) {
final Object cond = _cond.evaluate(ctx);
if (cond == null) {
diff --git a/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/InitClosureExpression.java b/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/InitClosureExpression.java
index 0ae3b73..5f55f7f 100644
--- a/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/InitClosureExpression.java
+++ b/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/InitClosureExpression.java
@@ -40,7 +40,7 @@ public final class InitClosureExpression extends ExpressionBase {
}
@Override
- public Object evaluateInternal(ExecutionContext ctx) {
+ protected Object evaluateInternal(ExecutionContext ctx) {
return new Closure (ctx.getLocalVarContext(), ctx.getFunctionDefContext(), _paramNames, _paramTypes, _def);
}
}
diff --git a/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/InvocationOnCollectionExpression.java b/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/InvocationOnCollectionExpression.java
index 03c549e..2208245 100644
--- a/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/InvocationOnCollectionExpression.java
+++ b/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/InvocationOnCollectionExpression.java
@@ -38,7 +38,7 @@ public final class InvocationOnCollectionExpression extends ExpressionBase {
}
@Override
- public Object evaluateInternal(ExecutionContext ctx) {
+ protected Object evaluateInternal(ExecutionContext ctx) {
final Collection<?> coll = (Collection<?>) _coll.evaluate(ctx);
if (coll == null) {
diff --git a/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/InvocationOnObjectExpression.java b/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/InvocationOnObjectExpression.java
index d4eb1de..a701b52 100644
--- a/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/InvocationOnObjectExpression.java
+++ b/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/InvocationOnObjectExpression.java
@@ -34,7 +34,7 @@ public final class InvocationOnObjectExpression extends ExpressionBase {
}
@Override
- public Object evaluateInternal(ExecutionContext ctx) {
+ protected Object evaluateInternal(ExecutionContext ctx) {
final List<Object> params = new ArrayList<Object> ();
for (ExpressionBase expr: _params)
params.add (expr.evaluate(ctx));
diff --git a/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/InvocationOnWhateverExpression.java b/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/InvocationOnWhateverExpression.java
index daa6a7f..1260016 100644
--- a/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/InvocationOnWhateverExpression.java
+++ b/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/InvocationOnWhateverExpression.java
@@ -36,7 +36,7 @@ public final class InvocationOnWhateverExpression extends ExpressionBase {
}
@Override
- public Object evaluateInternal(ExecutionContext ctx) {
+ protected Object evaluateInternal(ExecutionContext ctx) {
final List<Object> params = new ArrayList<Object> ();
for (ExpressionBase expr: _params)
params.add (expr.evaluate(ctx));
diff --git a/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/LiteralExpression.java b/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/LiteralExpression.java
index 76d2f98..33e5981 100644
--- a/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/LiteralExpression.java
+++ b/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/LiteralExpression.java
@@ -28,7 +28,7 @@ public final class LiteralExpression extends ExpressionBase {
}
@Override
- public Object evaluateInternal(ExecutionContext ctx) {
+ protected Object evaluateInternal(ExecutionContext ctx) {
return _value;
}
}
diff --git a/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/LocalVarEvalExpression.java b/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/LocalVarEvalExpression.java
index a6c2589..80e3e0c 100644
--- a/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/LocalVarEvalExpression.java
+++ b/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/LocalVarEvalExpression.java
@@ -28,7 +28,7 @@ public final class LocalVarEvalExpression extends ExpressionBase {
}
@Override
- public Object evaluateInternal(ExecutionContext ctx) {
+ protected Object evaluateInternal(ExecutionContext ctx) {
//expects a static check to have been performed that a local variable of this name exists
return ctx.getLocalVarContext().getLocalVars().get (_localVarName);
}
diff --git a/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/NewLocalVarDefExpression.java b/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/NewLocalVarDefExpression.java
index cae95c7..befc4c3 100644
--- a/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/NewLocalVarDefExpression.java
+++ b/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/NewLocalVarDefExpression.java
@@ -33,7 +33,7 @@ public final class NewLocalVarDefExpression extends ExpressionBase {
}
@Override
- public Object evaluateInternal(ExecutionContext ctx) {
+ protected Object evaluateInternal(ExecutionContext ctx) {
ctx.getLocalVarContext().getLocalVars().put (_localVarName, _defExpression.evaluate(ctx));
try {
diff --git a/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/OrExpression.java b/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/OrExpression.java
index 9cf8219..3ca4e96 100644
--- a/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/OrExpression.java
+++ b/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/OrExpression.java
@@ -31,7 +31,7 @@ public final class OrExpression extends ExpressionBase {
}
@Override
- public Object evaluateInternal(ExecutionContext ctx) {
+ protected Object evaluateInternal(ExecutionContext ctx) {
final Object left = _left.evaluate(ctx);
if (left == null) {
ctx.logNullDeRef (getPos());
diff --git a/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/PropertyOnCollectionExpression.java b/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/PropertyOnCollectionExpression.java
index aaa0543..efaed70 100644
--- a/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/PropertyOnCollectionExpression.java
+++ b/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/PropertyOnCollectionExpression.java
@@ -36,7 +36,7 @@ public final class PropertyOnCollectionExpression extends ExpressionBase {
}
@Override
- public Object evaluateInternal(ExecutionContext ctx) {
+ protected Object evaluateInternal(ExecutionContext ctx) {
final Collection<?> coll = (Collection<?>) _inner.evaluate(ctx);
if (coll == null) {
ctx.logNullDeRef (getPos());
diff --git a/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/PropertyOnObjectExpression.java b/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/PropertyOnObjectExpression.java
index 833e790..5bcceee 100644
--- a/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/PropertyOnObjectExpression.java
+++ b/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/PropertyOnObjectExpression.java
@@ -31,7 +31,7 @@ public final class PropertyOnObjectExpression extends ExpressionBase {
}
@Override
- public Object evaluateInternal(ExecutionContext ctx) {
+ protected Object evaluateInternal(ExecutionContext ctx) {
final Object o = _inner.evaluate(ctx);
if (o == null) {
ctx.logNullDeRef (getPos());
diff --git a/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/PropertyOnWhateverExpression.java b/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/PropertyOnWhateverExpression.java
index a58030a..3286207 100644
--- a/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/PropertyOnWhateverExpression.java
+++ b/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/PropertyOnWhateverExpression.java
@@ -40,7 +40,7 @@ public final class PropertyOnWhateverExpression extends ExpressionBase {
}
@Override
- public Object evaluateInternal(ExecutionContext ctx) {
+ protected Object evaluateInternal(ExecutionContext ctx) {
final Object o = _inner.evaluate(ctx);
if (o == null) {
ctx.logNullDeRef (getPos());
diff --git a/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/SequenceExpression.java b/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/SequenceExpression.java
index 2b58151..81a31ad 100644
--- a/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/SequenceExpression.java
+++ b/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/SequenceExpression.java
@@ -30,7 +30,7 @@ public final class SequenceExpression extends ExpressionBase {
}
@Override
- public Object evaluateInternal(ExecutionContext ctx) {
+ protected Object evaluateInternal(ExecutionContext ctx) {
Object result = null;
for (ExpressionBase e: _inner)
diff --git a/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/SetPropertyExpression.java b/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/SetPropertyExpression.java
index 582ab91..72d8dee 100644
--- a/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/SetPropertyExpression.java
+++ b/plugins/org.eclipse.xtend.backend/src/org/eclipse/xtend/backend/expr/SetPropertyExpression.java
@@ -35,7 +35,7 @@ public final class SetPropertyExpression extends ExpressionBase {
}
@Override
- public Object evaluateInternal(ExecutionContext ctx) {
+ protected Object evaluateInternal(ExecutionContext ctx) {
final Object o = _inner.evaluate(ctx);
if (o == null) {
ctx.logNullDeRef (getPos());