Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2014-03-08 17:27:53 +0000
committerEike Stepper2014-03-09 06:44:14 +0000
commit339f42ac5c2d5cd52cd54d340c8557d99daabb4c (patch)
tree59db83d2154affc5db8203546f8007ead0f8beae /plugins/org.eclipse.emf.cdo.expressions
parent4e59121792b693f3a2cf9070b9b111db71ee1285 (diff)
downloadcdo-339f42ac5c2d5cd52cd54d340c8557d99daabb4c.tar.gz
cdo-339f42ac5c2d5cd52cd54d340c8557d99daabb4c.tar.xz
cdo-339f42ac5c2d5cd52cd54d340c8557d99daabb4c.zip
Update Javadocs
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.expressions')
-rw-r--r--plugins/org.eclipse.emf.cdo.expressions/src/org/eclipse/emf/cdo/expressions/EvaluationContext.java6
-rw-r--r--plugins/org.eclipse.emf.cdo.expressions/src/org/eclipse/emf/cdo/expressions/impl/EvaluationContextImpl.java6
-rw-r--r--plugins/org.eclipse.emf.cdo.expressions/src/org/eclipse/emf/cdo/expressions/impl/InvocationImpl.java3
-rw-r--r--plugins/org.eclipse.emf.cdo.expressions/src/org/eclipse/emf/cdo/expressions/util/ExpressionsUtil.java6
4 files changed, 15 insertions, 6 deletions
diff --git a/plugins/org.eclipse.emf.cdo.expressions/src/org/eclipse/emf/cdo/expressions/EvaluationContext.java b/plugins/org.eclipse.emf.cdo.expressions/src/org/eclipse/emf/cdo/expressions/EvaluationContext.java
index 33450e2635..83b6610768 100644
--- a/plugins/org.eclipse.emf.cdo.expressions/src/org/eclipse/emf/cdo/expressions/EvaluationContext.java
+++ b/plugins/org.eclipse.emf.cdo.expressions/src/org/eclipse/emf/cdo/expressions/EvaluationContext.java
@@ -1,16 +1,18 @@
/*
- * Copyright (c) 2013 Eike Stepper (Berlin, Germany) and others.
+ * Copyright (c) 2013, 2014 Eike Stepper (Berlin, Germany) and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Eike Stepper - initial API and implementation
*/
package org.eclipse.emf.cdo.expressions;
/**
+ * A context for variable {@link #get(Object) lookups} during expression evaluations.
+ *
* @author Eike Stepper
*/
public interface EvaluationContext
diff --git a/plugins/org.eclipse.emf.cdo.expressions/src/org/eclipse/emf/cdo/expressions/impl/EvaluationContextImpl.java b/plugins/org.eclipse.emf.cdo.expressions/src/org/eclipse/emf/cdo/expressions/impl/EvaluationContextImpl.java
index fe3bcb76f3..709bc96296 100644
--- a/plugins/org.eclipse.emf.cdo.expressions/src/org/eclipse/emf/cdo/expressions/impl/EvaluationContextImpl.java
+++ b/plugins/org.eclipse.emf.cdo.expressions/src/org/eclipse/emf/cdo/expressions/impl/EvaluationContextImpl.java
@@ -1,10 +1,10 @@
/*
- * Copyright (c) 2013 Eike Stepper (Berlin, Germany) and others.
+ * Copyright (c) 2013, 2014 Eike Stepper (Berlin, Germany) and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Eike Stepper - initial API and implementation
*/
@@ -18,6 +18,8 @@ import java.util.HashMap;
import java.util.Map;
/**
+ * A {@link HashMap}-based default implementation of an {@link EvaluationContext}.
+ *
* @author Eike Stepper
*/
public class EvaluationContextImpl extends HashMap<String, Object> implements EvaluationContext
diff --git a/plugins/org.eclipse.emf.cdo.expressions/src/org/eclipse/emf/cdo/expressions/impl/InvocationImpl.java b/plugins/org.eclipse.emf.cdo.expressions/src/org/eclipse/emf/cdo/expressions/impl/InvocationImpl.java
index 47b1c1f3a6..3013d70c12 100644
--- a/plugins/org.eclipse.emf.cdo.expressions/src/org/eclipse/emf/cdo/expressions/impl/InvocationImpl.java
+++ b/plugins/org.eclipse.emf.cdo.expressions/src/org/eclipse/emf/cdo/expressions/impl/InvocationImpl.java
@@ -23,6 +23,7 @@ import org.eclipse.emf.common.notify.NotificationChain;
import org.eclipse.emf.common.util.BasicEList;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EOperation;
import org.eclipse.emf.ecore.InternalEObject;
import org.eclipse.emf.ecore.util.InternalEList;
@@ -419,6 +420,8 @@ public abstract class InvocationImpl extends CDOObjectImpl implements Invocation
}
/**
+ * An abstraction of something that can be invoked, for example an {@link EOperation} or a {@link Method}.
+ *
* @author Eike Stepper
*/
public interface Invocable
diff --git a/plugins/org.eclipse.emf.cdo.expressions/src/org/eclipse/emf/cdo/expressions/util/ExpressionsUtil.java b/plugins/org.eclipse.emf.cdo.expressions/src/org/eclipse/emf/cdo/expressions/util/ExpressionsUtil.java
index 0f8f3231a5..af8d376832 100644
--- a/plugins/org.eclipse.emf.cdo.expressions/src/org/eclipse/emf/cdo/expressions/util/ExpressionsUtil.java
+++ b/plugins/org.eclipse.emf.cdo.expressions/src/org/eclipse/emf/cdo/expressions/util/ExpressionsUtil.java
@@ -1,10 +1,10 @@
/*
- * Copyright (c) 2013 Eike Stepper (Berlin, Germany) and others.
+ * Copyright (c) 2013, 2014 Eike Stepper (Berlin, Germany) and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Eike Stepper - initial API and implementation
*/
@@ -28,6 +28,8 @@ import org.eclipse.emf.cdo.expressions.StringValue;
import java.util.Arrays;
/**
+ * Provides static factory methods for common {@link Expression expressions}.
+ *
* @author Eike Stepper
*/
public class ExpressionsUtil

Back to the top