Uses of Interface
com.thoughtworks.qdox.model.JavaPackage
Packages that use JavaPackage
Package
Description
Provides classes to start constructing a java project
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.
Provides classes to write Java model elements in any style
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 JavaPackageModifier and TypeMethodDescriptionJavaProjectBuilder.getPackageByName(String name) Try to retrieve aJavaPackageby its name.Methods in com.thoughtworks.qdox that return types with arguments of type JavaPackageModifier and TypeMethodDescriptionJavaProjectBuilder.getPackages()Retrieve all packages which were added by sources. -
Uses of JavaPackage in com.thoughtworks.qdox.library
Methods in com.thoughtworks.qdox.library that return JavaPackageModifier and TypeMethodDescriptionfinal JavaPackageAbstractClassLibrary.getJavaPackage(String name) ClassLibrary.getJavaPackage(String name) Get the JavaPackage or null if it's not possibleJavaClassContext.getPackageByName(String name) Retrieve theJavaPackagebased on thename.JavaClassContext.removePackageByName(String name) Remove and return theJavaPackagebased on thename.protected abstract JavaPackageAbstractClassLibrary.resolveJavaPackage(String name) protected JavaPackageClassLoaderLibrary.resolveJavaPackage(String name) protected JavaPackageClassNameLibrary.resolveJavaPackage(String name) protected JavaPackageSourceLibrary.resolveJavaPackage(String name) Methods in com.thoughtworks.qdox.library that return types with arguments of type JavaPackageModifier and TypeMethodDescriptionAbstractClassLibrary.getJavaPackages()Get all packages of the currentAbstractClassLibrary.protected final Collection<JavaPackage> AbstractClassLibrary.getJavaPackages(com.thoughtworks.qdox.library.AbstractClassLibrary.ClassLibraryFilter filter) ClassLibrary.getJavaPackages()Return all JavaPackages of the current library.SourceLibrary.getJavaPackages()Get all packages, including those from parent SourceLibrariesJavaClassContext.getPackages()Return all stored JavaPackagesMethods in com.thoughtworks.qdox.library with parameters of type JavaPackageModifier and TypeMethodDescriptionvoidJavaClassContext.add(JavaPackage jPackage) A null-safe implementation to store aJavaPackagein this context -
Uses of JavaPackage in com.thoughtworks.qdox.model
Methods in com.thoughtworks.qdox.model that return JavaPackageModifier and TypeMethodDescriptionJavaClass.getPackage()Equivalent ofClass.getPackage()JavaSource.getPackage()The package of this source ornullJavaPackage.getParentPackage()The parent of this package For instance: the package ofjava.lang.reflectisjava.langJavaModuleDescriptor.JavaExports.getSource()JavaModuleDescriptor.JavaOpens.getSource()Methods in com.thoughtworks.qdox.model that return types with arguments of type JavaPackageModifier and TypeMethodDescriptionJavaPackage.getSubPackages()For instance: one of the children ofjava.langwould bejava.lang.reflect -
Uses of JavaPackage in com.thoughtworks.qdox.model.impl
Classes in com.thoughtworks.qdox.model.impl that implement JavaPackageModifier and TypeClassDescriptionclassThe default implementation ofJavaPackage, representing aPackage.Methods in com.thoughtworks.qdox.model.impl that return JavaPackageModifier and TypeMethodDescriptionDefaultJavaClass.getPackage()Equivalent ofClass.getPackage()DefaultJavaSource.getPackage()The package of this source ornullDefaultJavaType.getPackage()Equivalent ofClass.getPackage()DefaultJavaPackage.getParentPackage()The parent of this package For instance: the package ofjava.lang.reflectisjava.langDefaultJavaModuleDescriptor.DefaultJavaExports.getSource()DefaultJavaModuleDescriptor.DefaultJavaOpens.getSource()Methods in com.thoughtworks.qdox.model.impl that return types with arguments of type JavaPackageModifier and TypeMethodDescriptionDefaultJavaPackage.getSubPackages()For instance: one of the children ofjava.langwould bejava.lang.reflectMethods in com.thoughtworks.qdox.model.impl with parameters of type JavaPackageModifier and TypeMethodDescriptionvoidDefaultJavaClass.setJavaPackage(JavaPackage javaPackage) Only used when constructing the model by hand / without sourcevoidDefaultJavaSource.setPackage(JavaPackage pkg) Constructors in com.thoughtworks.qdox.model.impl with parameters of type JavaPackageModifierConstructorDescriptionDefaultJavaExports(JavaPackage source, Collection<JavaModule> targets) DefaultJavaOpens(JavaPackage source, Collection<JavaModule> targets) -
Uses of JavaPackage in com.thoughtworks.qdox.writer
Methods in com.thoughtworks.qdox.writer with parameters of type JavaPackageModifier and TypeMethodDescriptionModelWriter.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 JavaPackageModifier and TypeMethodDescriptionDefaultModelWriter.writePackage(JavaPackage pckg) Write the java package A standard package writer should write: the javadoc the annotations the package signature