commit | 1fb66cff3745e4612b8078efdc32f600f04c6a12 | [log] [tgz] |
---|---|---|
author | Stephan Herrmann <stephan@cs.tu-berlin.de> | Mon Jan 24 23:23:42 2011 +0000 |
committer | Stephan Herrmann <stephan@cs.tu-berlin.de> | Mon Jan 24 23:23:42 2011 +0000 |
tree | be40ce5b9b3a305bb7a4bd1c23e3f10df0c3cc85 | |
parent | 24802c0c981218654026aa8cf97df8d2d5c7be36 [diff] |
test & fix for Bug 32604 - [otmodel] JavaModelException when hovering over a callout to field
diff --git a/org.eclipse.jdt.core/model/org/eclipse/objectteams/otdt/internal/core/CalloutToFieldMapping.java b/org.eclipse.jdt.core/model/org/eclipse/objectteams/otdt/internal/core/CalloutToFieldMapping.java index ab0c941..b799d3b 100644 --- a/org.eclipse.jdt.core/model/org/eclipse/objectteams/otdt/internal/core/CalloutToFieldMapping.java +++ b/org.eclipse.jdt.core/model/org/eclipse/objectteams/otdt/internal/core/CalloutToFieldMapping.java
@@ -297,4 +297,10 @@ return resolvedHandle; } + + // disable method that does not apply to c-t-f: + @Override + public String[] getExceptionTypes() throws JavaModelException { + return new String[0]; + } }