Community
Participate
Working Groups
3.2 As discussed on the JDT summit: - find and create bindings in existing binding environments * find type binding by name or key The API would be a generalization of AST#resolveWellKnownType(String), with the difference that type bindings can be resolved for all types on the classpath. The best home for the API would be the BindingEnvironment (see bug 150657). The method could be ITypeBinding resolveTypeBinding(String name) and should work for primitive types, classes, interfaces, enums, and annotations. For generic types, the method should resolve to the type declaration (isGenericType() == true).