diff options
author | Stephan Herrmann | 2013-05-18 19:38:48 +0000 |
---|---|---|
committer | Stephan Herrmann | 2013-05-18 19:38:48 +0000 |
commit | 93d91e4d1b9ee8701fffa4333251f1274c55ad22 (patch) | |
tree | cca0fe5708d7ff8dc66ff105d28ae83d814ead48 /org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/BaseConstructorInvocation.java | |
parent | eb41d584fce7b05c5fc594015358e7f8286bc10b (diff) | |
download | org.eclipse.objectteams-93d91e4d1b9ee8701fffa4333251f1274c55ad22.tar.gz org.eclipse.objectteams-93d91e4d1b9ee8701fffa4333251f1274c55ad22.tar.xz org.eclipse.objectteams-93d91e4d1b9ee8701fffa4333251f1274c55ad22.zip |
Bug 374822 - [refactoring] change method signature in a callin method
should adjust base-calls accordingly
- support searching for base and tsuper message sends
- adapt org.eclipse.jdt.internal.corext.refactoring.code.Invocations
- avoid bad interaction in the InlineCallin refactoring
Diffstat (limited to 'org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/BaseConstructorInvocation.java')
-rw-r--r-- | org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/BaseConstructorInvocation.java | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/BaseConstructorInvocation.java b/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/BaseConstructorInvocation.java index 0a7b15a4f..b4030c41f 100644 --- a/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/BaseConstructorInvocation.java +++ b/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/BaseConstructorInvocation.java @@ -45,7 +45,7 @@ import java.util.List; * @author mkr * @version $Id: BaseConstructorInvocation.java 23416 2010-02-03 19:59:31Z stephan $ */ -public class BaseConstructorInvocation extends Statement +public class BaseConstructorInvocation extends Statement implements Invocation { /** * The "arguments" structural property of this node type. @@ -113,6 +113,10 @@ public class BaseConstructorInvocation extends Statement return this.arguments; } + public ChildListPropertyDescriptor getArgumentsProperty() { + return ARGUMENTS_PROPERTY; + } + final List internalStructuralPropertiesForType(int apiLevel) { return propertyDescriptors(apiLevel); @@ -180,5 +184,7 @@ public class BaseConstructorInvocation extends Statement return this.ast.getBindingResolver().resolveConstructor(this); } - + public IMethodBinding resolveMethodBinding() { + return resolveConstructorBinding(); + } } |