Package com.thoughtworks.qdox.model
Class JavaModelUtils
java.lang.Object
com.thoughtworks.qdox.model.JavaModelUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic JavaClass
getClassByName
(JavaClass cls, String name) Try to resolve the class by thename
, either relative fromcls
as the fully qualified name.
-
Constructor Details
-
JavaModelUtils
private JavaModelUtils()
-
-
Method Details
-
getClassByName
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:
-