Community
Participate
Working Groups
200402122000 At the indicated position, ICompilationUnit#codeComplete(int offset, ICompletionRequestor requestor) doesn't find a completion. Also no completion is found when I replace the anonymous class by a local class. However, when I remove the 'static' modifier from 'main', the method is found. I noticed that the outline doesn't show the local class as soon as I start typing in the body of run(), but this might not have a connection to this PR. public class XXX { public static void main () { Runnable r = new Runnable() { public void run() { doT // <-- No completions available. } private void doTheThing() { } }; } }
Fixed and test added CompletionTest#testCompletionInsideStaticMethod()
Verified in 200405180816