simplify candidate handling
* nicer approach for candidate handling
* optimize resolving by treating static imports as references to inner classes