Community
Participate
Working Groups
We would like to get from a fully qualified type name string to an IType, using SearchEngine as follows: List typesFound = new ArrayList(); IJavaSearchScope scope = SearchEngine.createWorkspaceScope(); TypeInfoRequestor requestor = new TypeInfoRequestor(typesFound); new SearchEngine().searchAllTypeNames(null, typeName.toCharArray(), scope, requestor, IJavaSearchConstants.WAIT_UNTIL_READY_TO_SEARCH, monitor); for (Iterator iterator = typesFound.iterator(); iterator.hasNext();) { TypeInfo typeInfo = (TypeInfo) iterator.next(); IType type = typeInfo.resolveType(scope); ... } The problem is that org.eclipse.jdt.internal.corext.util.TypeInfoRequestor and org.eclipse.jdt.internal.corext.util.TypeInfo are internal. Can these be made public?
Moving to JDT/UI
Similar request to planned API effort described in bug 148380. Note that the latter is planned for 3.3M3
solution for bug 148380 will fix this *** This bug has been marked as a duplicate of 148380 ***