| Summary: | ChainCompletionContext: expected type is null on array types | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Andreas Kaluza <andreas> |
| Component: | Recommenders | Assignee: | Marcel Bruch <marcel.bruch> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Andreas Kaluza
I investigated this issue. Unfortunately JDT does not allow you to specify ITypes that have an array dimension, e.g., there is no IType MyType[] in JDT. I may return either the array base type (MyType) or the type "Array". the latter seems reasonable but not perfect. I would prefer to return null or even throw an exception if someone puts an array type in here. Looking at Marko's JDT implementation shows how he dealt with this issue (see class TypeWithArrayDepth). How can I support you further? fixed |