接口的使用
com.thoughtworks.qdox.model.JavaModule
使用JavaModule的程序包
程序包
说明
Provides classes to start constructing a java project
Provides classes which transform the structs from the JavaParser to the Java model elements
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 classes reflecting the Java model elements.
Provides the default implementation of the classes reflecting the Java model elements.
-
com.thoughtworks.qdox中JavaModule的使用
修饰符和类型方法说明JavaProjectBuilder.addSourceFolder(File sourceFolder) Add a sourcefolder to this javaprojectbuilder, but don't parse any file.返回变量类型为JavaModule的类型的com.thoughtworks.qdox中的方法 -
com.thoughtworks.qdox.builder中JavaModule的使用
-
com.thoughtworks.qdox.builder.impl中JavaModule的使用
-
com.thoughtworks.qdox.library中JavaModule的使用
修饰符和类型方法说明ClassLibraryBuilder.addSourceFolder(File sourceFolder) OrderedClassLibraryBuilder.addSourceFolder(File sourceFolder) SortedClassLibraryBuilder.addSourceFolder(File sourceFolder) SourceFolderLibrary.addSourceFolder(File sourceFolder) 返回变量类型为JavaModule的类型的com.thoughtworks.qdox.library中的方法修饰符和类型方法说明AbstractClassLibrary.getJavaModules()ClassLibrary.getJavaModules()SourceFolderLibrary.getJavaModules() -
com.thoughtworks.qdox.model中JavaModule的使用
返回变量类型为JavaModule的类型的com.thoughtworks.qdox.model中的方法修饰符和类型方法说明JavaModuleDescriptor.JavaExports.getTargets()JavaModuleDescriptor.JavaOpens.getTargets() -
com.thoughtworks.qdox.model.impl中JavaModule的使用
返回变量类型为JavaModule的类型的com.thoughtworks.qdox.model.impl中的方法修饰符和类型方法说明DefaultJavaModuleDescriptor.DefaultJavaExports.getTargets()DefaultJavaModuleDescriptor.DefaultJavaOpens.getTargets()参数类型为JavaModule的com.thoughtworks.qdox.model.impl中的构造器类型变量类型为JavaModule的com.thoughtworks.qdox.model.impl中的构造器参数限定符构造器说明DefaultJavaExports(JavaPackage source, Collection<JavaModule> targets) DefaultJavaOpens(JavaPackage source, Collection<JavaModule> targets)