Package com.thoughtworks.qdox.model
Class JavaModelUtils
- java.lang.Object
-
- com.thoughtworks.qdox.model.JavaModelUtils
-
public final class JavaModelUtils extends java.lang.Object
-
-
Constructor Summary
Constructors Modifier Constructor Description private
JavaModelUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JavaClass
getClassByName(JavaClass cls, java.lang.String name)
Try to resolve the class by thename
, either relative fromcls
as the fully qualified name.
-
-
-
Method Detail
-
getClassByName
public static JavaClass getClassByName(JavaClass cls, java.lang.String name)
Try to resolve the class by the
Note:the name must match thename
, either relative fromcls
as the fully qualified name.cls
itself or one of its nested classes.- Parameters:
cls
- the declaring classname
- the name- Returns:
- the matching class, otherwise
null
- See Also:
JavaClass.getJavaClassLibrary()
-
-