Class JavaModelUtils

java.lang.Object
com.thoughtworks.qdox.model.JavaModelUtils

public final class JavaModelUtils extends Object
  • Constructor Details

    • JavaModelUtils

      private JavaModelUtils()
  • Method Details

    • getClassByName

      public static JavaClass getClassByName(JavaClass cls, String name)

      Try to resolve the class by the name, either relative from cls as the fully qualified name.

      Note:the name must match the cls itself or one of its nested classes.
      Parameters:
      cls - the declaring class
      name - the name
      Returns:
      the matching class, otherwise null
      See Also: