Resolves the given type name within the context of this type (depending on the type hierarchy and its imports).
Multiple answers might be found in case there are ambiguous matches.
Each matching type name is decomposed as an array of two strings, the first denoting the package name (dot-separated) and the second being the type name. The package name is empty if it is the default package. The type name is the type qualified name using a '.' enclosing type separator.
Returns null
if unable to find any matching type.
For example, resolution of "Object"
would typically return {{"java.lang", "Object"}}
. Another resolution that returns {{"", "X.Inner"}}
represents the inner type Inner defined in type X in the default package.
@param typeName the given type name
@exception JavaModelException if code resolve could not be performed.
@return the resolved type names or
null
if unable to find any matching type
@see #getTypeQualifiedName(char)