I need to get class binding ITypeBinding of Java library classes (such as HashMap) before parsing code with JDT parser.
Is it possible and how?
I expect solution that correspond to following pseudo code:
ITypeBinding hashMapLibraryType = JDT.resolveTypeBinding(HashMap.class);
I've looked to org.eclipse.jdt.internal.compiler.lookup but it's methods require scope to work with and I don't know where to get such scopes in my case when I have no code parsed.