Is it possible to analyse half-completed code snippets with PMD? for example, a code sample like this.
Random r = new Random(); int i = r.nextInt(5); switch(