DevFaqJavaModelResolving

How to resolve types by their names. E.g. resolving "com.bar.Foo"?

Note: This FAQ item applies only to NetBeans 4.x and 5.x. The Java parsing infrastructure in NetBeans 6 has been replaced with a new API.

JavaClass clazz = (JavaClass) JavaModel.getDefaultExtent().getType().resolve("com.bar.Foo");

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo