Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormrussell2014-11-06 17:34:52 +0000
committermrussell2014-11-06 17:34:52 +0000
commit4e72e916ace12012e452d9baa04033abb3a73e97 (patch)
tree30bf552ee140dba21cccd3120879db6f6048540a
parenta607cb5122124872645a202ac842ed26b3a46259 (diff)
downloadorg.eclipse.windowbuilder-4e72e916ace12012e452d9baa04033abb3a73e97.tar.gz
org.eclipse.windowbuilder-4e72e916ace12012e452d9baa04033abb3a73e97.tar.xz
org.eclipse.windowbuilder-4e72e916ace12012e452d9baa04033abb3a73e97.zip
Fixed build error for missing implementation.
-rw-r--r--org.eclipse.wb.core.java/src/org/eclipse/wb/internal/core/utils/ast/binding/DesignerTypeBinding.java10
-rw-r--r--org.eclipse.wb.core.java/src/org/eclipse/wb/internal/core/utils/ast/binding/DesignerVariableBinding.java8
2 files changed, 15 insertions, 3 deletions
diff --git a/org.eclipse.wb.core.java/src/org/eclipse/wb/internal/core/utils/ast/binding/DesignerTypeBinding.java b/org.eclipse.wb.core.java/src/org/eclipse/wb/internal/core/utils/ast/binding/DesignerTypeBinding.java
index a461023c..27ba0148 100644
--- a/org.eclipse.wb.core.java/src/org/eclipse/wb/internal/core/utils/ast/binding/DesignerTypeBinding.java
+++ b/org.eclipse.wb.core.java/src/org/eclipse/wb/internal/core/utils/ast/binding/DesignerTypeBinding.java
@@ -24,7 +24,7 @@ import org.eclipse.jdt.core.dom.IVariableBinding;
* We use our implementations of bindings because standard ones reference objects from internal
* compiler's AST. This is not problem for Eclipse itself, but we parse very often, for every change
* in editor, so we can end up with a lot of referenced objects.
- *
+ *
* @author scheglov_ke
* @coverage core.util.ast
*/
@@ -459,4 +459,12 @@ public final class DesignerTypeBinding implements ITypeBinding {
public ITypeBinding getGenericTypeOfWildcardType() {
throw new IllegalArgumentException();
}
+
+ public IMethodBinding getFunctionalInterfaceMethod() {
+ throw new IllegalArgumentException();
+ }
+
+ public IAnnotationBinding[] getTypeAnnotations() {
+ throw new IllegalArgumentException();
+ }
}
diff --git a/org.eclipse.wb.core.java/src/org/eclipse/wb/internal/core/utils/ast/binding/DesignerVariableBinding.java b/org.eclipse.wb.core.java/src/org/eclipse/wb/internal/core/utils/ast/binding/DesignerVariableBinding.java
index e1bd810f..1a9a4bb3 100644
--- a/org.eclipse.wb.core.java/src/org/eclipse/wb/internal/core/utils/ast/binding/DesignerVariableBinding.java
+++ b/org.eclipse.wb.core.java/src/org/eclipse/wb/internal/core/utils/ast/binding/DesignerVariableBinding.java
@@ -19,11 +19,11 @@ import org.eclipse.jdt.core.dom.IVariableBinding;
/**
* Implementation of {@link IVariableBinding}.
- *
+ *
* We use our implementations of bindings because standard ones reference objects from internal
* compiler's AST. This is not problem for Eclipse itself, but we parse very often, for every change
* in editor, so we can end up with a lot of referenced objects.
- *
+ *
* @author scheglov_ke
* @coverage core.util.ast
*/
@@ -150,4 +150,8 @@ final class DesignerVariableBinding implements IVariableBinding {
public boolean isRecovered() {
throw new IllegalArgumentException();
}
+
+ public boolean isEffectivelyFinal() {
+ throw new IllegalArgumentException();
+ }
}

Back to the top