[BLUEJ-300] Code completion on arrays does not show clone() method
The Java Language Spec (section 10.7) says that arrays should be treated as being declared thus:
{noformat} class A implements Cloneable, java.io.Serializable { public final int length = X; public Object clone() { try { return super.clone(); } catch (CloneNotSupportedException e) { throw new InternalError(e.getMessage()); } } } {noformat}
At the moment, the code-completion is not showing the clone() method. Now that bugs BLUEJ-297 and BLUEJ-298 are fixed, clone() doesn't show up because the code-completion only knows about the protected Object.clone() method, not the public one that arrays declare.
Issue metadata
- Issue type: Bug
- Priority: Low
- Fix versions: 3.0.3