接口的使用
com.thoughtworks.qdox.builder.Builder
使用Builder的程序包
程序包
说明
Provides the default implementation of the classes which transform the structs from the JavaParser to the Java model elements
Provides classes to construct a classloader-like structure of libraries
There are two types of ClassLibraryBuilders:
SortedClassLibraryBuilder, which bundles the libraries by type
OrderedClassLibraryBuilder, which respects the order of added libraries
There are four types of ClassLibraries:
ClassLoaderLibrary, which uses the classpath to search for sources or binaries
SourceLibrary, which uses a specific sourcefile
SourceFolderLibrary, which tries to locate sourcefiles by translating the package to folders
ClassNameLibrary, which generates an anonymous class, as if it would exist
Provides the implementations of the Lexers and Parsers
-
com.thoughtworks.qdox.builder.impl中Builder的使用
-
com.thoughtworks.qdox.library中Builder的使用
修饰符和类型方法说明protected BuilderAbstractClassLibrary.getModelBuilder()If there's a modelBuilderFactory available, ask it for a new instance.protected BuilderAbstractClassLibrary.getModelBuilder(URL url) -
com.thoughtworks.qdox.parser.impl中Builder的使用
参数类型为Builder的com.thoughtworks.qdox.parser.impl中的构造器限定符构造器说明BinaryClassParser(Class<?> declaringClazz, Builder modelBuilder) DefaultJavaCommentParser(Lexer lexer, Builder builder)