程序包 com.thoughtworks.qdox.library
package com.thoughtworks.qdox.library
Provides classes to construct a classloader-like structure of libraries
There are two types of ClassLibraryBuilders:
SortedClassLibraryBuilder, which bundles the libraries by typeOrderedClassLibraryBuilder, which respects the order of added libraries
ClassLoaderLibrary, which uses the classpath to search for sources or binariesSourceLibrary, which uses a specific sourcefileSourceFolderLibrary, which tries to locate sourcefiles by translating the package to foldersClassNameLibrary, which generates an anonymous class, as if it would exist
-
类说明A ClassLibrary can be compared with a java classloader.Main methods of a ClassLibrary, which can be used by every ModelThis builder helps to construct a library.Important!!This library always resolve a className by generating an empty JavaClass ModelJavaClassContext gives you a mechanism to get a
JavaClass.This library resolves JavaClasses in the order in which class sources are added.This Library will immediately parse the source and keeps its reference to a private context.