Package com.thoughtworks.qdox.model
Class JavaModelUtils
- java.lang.Object
-
- com.thoughtworks.qdox.model.JavaModelUtils
-
public final class JavaModelUtils extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JavaClassgetClassByName(JavaClass cls, java.lang.String name)Try to resolve the class by thename, either relative fromclsas 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 fromclsas the fully qualified name.clsitself or one of its nested classes.- Parameters:
cls- the declaring classname- the name- Returns:
- the matching class, otherwise
null - See Also:
JavaClass.getJavaClassLibrary()
-
-