Uses of Interface
com.thoughtworks.qdox.model.JavaPackage
-
Packages that use JavaPackage Package Description com.thoughtworks.qdox Provides classes to start constructing a java projectcom.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 There are four types of ClassLibraries: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 existcom.thoughtworks.qdox.model Provides classes reflecting the Java model elements.com.thoughtworks.qdox.model.impl Provides the default implementation of the classes reflecting the Java model elements.com.thoughtworks.qdox.writer Provides classes to write Java model elements in any stylecom.thoughtworks.qdox.writer.impl Provides the default implementation of classes to write Java model elements in any style. -
-
Uses of JavaPackage in com.thoughtworks.qdox
Methods in com.thoughtworks.qdox that return JavaPackage Modifier and Type Method Description JavaPackage
JavaProjectBuilder. getPackageByName(java.lang.String name)
Try to retrieve aJavaPackage
by its name.Methods in com.thoughtworks.qdox that return types with arguments of type JavaPackage Modifier and Type Method Description java.util.Collection<JavaPackage>
JavaProjectBuilder. getPackages()
Retrieve all packages which were added by sources. -
Uses of JavaPackage in com.thoughtworks.qdox.library
Fields in com.thoughtworks.qdox.library with type parameters of type JavaPackage Modifier and Type Field Description private java.util.Map<java.lang.String,JavaPackage>
JavaClassContext. packageMap
Methods in com.thoughtworks.qdox.library that return JavaPackage Modifier and Type Method Description JavaPackage
AbstractClassLibrary. getJavaPackage(java.lang.String name)
JavaPackage
ClassLibrary. getJavaPackage(java.lang.String name)
Get the JavaPackage or null if it's not possibleJavaPackage
JavaClassContext. getPackageByName(java.lang.String name)
Retrieve theJavaPackage
based on thename
.JavaPackage
JavaClassContext. removePackageByName(java.lang.String name)
Remove and return theJavaPackage
based on thename
.protected abstract JavaPackage
AbstractClassLibrary. resolveJavaPackage(java.lang.String name)
protected JavaPackage
ClassLoaderLibrary. resolveJavaPackage(java.lang.String name)
protected JavaPackage
ClassNameLibrary. resolveJavaPackage(java.lang.String name)
protected JavaPackage
SourceLibrary. resolveJavaPackage(java.lang.String name)
Methods in com.thoughtworks.qdox.library that return types with arguments of type JavaPackage Modifier and Type Method Description java.util.Collection<JavaPackage>
AbstractClassLibrary. getJavaPackages()
Get all packages of the currentAbstractClassLibrary
.protected java.util.Collection<JavaPackage>
AbstractClassLibrary. getJavaPackages(AbstractClassLibrary.ClassLibraryFilter filter)
java.util.Collection<JavaPackage>
ClassLibrary. getJavaPackages()
Return all JavaPackages of the current library.java.util.Collection<JavaPackage>
SourceLibrary. getJavaPackages()
Get all packages, including those from parent SourceLibrariesjava.util.List<JavaPackage>
JavaClassContext. getPackages()
Return all stored JavaPackagesMethods in com.thoughtworks.qdox.library with parameters of type JavaPackage Modifier and Type Method Description void
JavaClassContext. add(JavaPackage jPackage)
A null-safe implementation to store aJavaPackage
in this contextprivate void
SourceLibrary. registerJavaPackage(JavaPackage pckg)
-
Uses of JavaPackage in com.thoughtworks.qdox.model
Methods in com.thoughtworks.qdox.model that return JavaPackage Modifier and Type Method Description JavaPackage
JavaClass. getPackage()
Equivalent ofClass.getPackage()
JavaPackage
JavaSource. getPackage()
The package of this source ornull
JavaPackage
JavaPackage. getParentPackage()
The parent of this package For instance: the package ofjava.lang.reflect
isjava.lang
JavaPackage
JavaModuleDescriptor.JavaExports. getSource()
JavaPackage
JavaModuleDescriptor.JavaOpens. getSource()
Methods in com.thoughtworks.qdox.model that return types with arguments of type JavaPackage Modifier and Type Method Description java.util.Collection<JavaPackage>
JavaPackage. getSubPackages()
For instance: one of the children ofjava.lang
would bejava.lang.reflect
-
Uses of JavaPackage in com.thoughtworks.qdox.model.impl
Classes in com.thoughtworks.qdox.model.impl that implement JavaPackage Modifier and Type Class Description class
DefaultJavaPackage
The default implementation ofJavaPackage
, representing aPackage
.Fields in com.thoughtworks.qdox.model.impl declared as JavaPackage Modifier and Type Field Description private JavaPackage
DefaultJavaClass. javaPackage
private JavaPackage
DefaultJavaSource. pkg
private JavaPackage
DefaultJavaModuleDescriptor.DefaultJavaExports. source
private JavaPackage
DefaultJavaModuleDescriptor.DefaultJavaOpens. source
Methods in com.thoughtworks.qdox.model.impl that return JavaPackage Modifier and Type Method Description JavaPackage
DefaultJavaClass. getPackage()
Equivalent ofClass.getPackage()
JavaPackage
DefaultJavaSource. getPackage()
The package of this source ornull
JavaPackage
DefaultJavaType. getPackage()
Equivalent ofClass.getPackage()
JavaPackage
DefaultJavaPackage. getParentPackage()
The parent of this package For instance: the package ofjava.lang.reflect
isjava.lang
JavaPackage
DefaultJavaModuleDescriptor.DefaultJavaExports. getSource()
JavaPackage
DefaultJavaModuleDescriptor.DefaultJavaOpens. getSource()
Methods in com.thoughtworks.qdox.model.impl that return types with arguments of type JavaPackage Modifier and Type Method Description java.util.List<JavaPackage>
DefaultJavaPackage. getSubPackages()
For instance: one of the children ofjava.lang
would bejava.lang.reflect
Methods in com.thoughtworks.qdox.model.impl with parameters of type JavaPackage Modifier and Type Method Description void
DefaultJavaClass. setJavaPackage(JavaPackage javaPackage)
Only used when constructing the model by hand / without sourcevoid
DefaultJavaSource. setPackage(JavaPackage pkg)
Constructors in com.thoughtworks.qdox.model.impl with parameters of type JavaPackage Constructor Description DefaultJavaExports(JavaPackage source, java.util.Collection<JavaModule> targets)
DefaultJavaOpens(JavaPackage source, java.util.Collection<JavaModule> targets)
-
Uses of JavaPackage in com.thoughtworks.qdox.writer
Methods in com.thoughtworks.qdox.writer with parameters of type JavaPackage Modifier and Type Method Description ModelWriter
ModelWriter. writePackage(JavaPackage pkg)
Write the java package A standard package writer should write: the javadoc the annotations the package signature -
Uses of JavaPackage in com.thoughtworks.qdox.writer.impl
Methods in com.thoughtworks.qdox.writer.impl with parameters of type JavaPackage Modifier and Type Method Description ModelWriter
DefaultModelWriter. writePackage(JavaPackage pckg)
Write the java package A standard package writer should write: the javadoc the annotations the package signature
-