Uses of Interface
com.thoughtworks.qdox.model.JavaSource
-
Packages that use JavaSource Package Description com.thoughtworks.qdox Provides classes to start constructing a java projectcom.thoughtworks.qdox.builder Provides classes which transform the structs from the JavaParser to the Java model elementscom.thoughtworks.qdox.builder.impl Provides the default implementation of the classes which transform the structs from the JavaParser to the Java model elementscom.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 JavaSource in com.thoughtworks.qdox
Methods in com.thoughtworks.qdox that return JavaSource Modifier and Type Method Description JavaSource
JavaProjectBuilder. addSource(java.io.File file)
Add a java source from a file to this JavaProjectBuilderJavaSource
JavaProjectBuilder. addSource(java.io.Reader reader)
Add a java source from a Reader to this JavaProjectBuilderJavaSource
JavaProjectBuilder. addSource(java.net.URL url)
Add a java source from a URL to this JavaProjectBuilderMethods in com.thoughtworks.qdox that return types with arguments of type JavaSource Modifier and Type Method Description java.util.Collection<JavaSource>
JavaProjectBuilder. getSources()
Get all the sources added. -
Uses of JavaSource in com.thoughtworks.qdox.builder
Methods in com.thoughtworks.qdox.builder that return JavaSource Modifier and Type Method Description JavaSource
Builder. getSource()
-
Uses of JavaSource in com.thoughtworks.qdox.builder.impl
Methods in com.thoughtworks.qdox.builder.impl that return JavaSource Modifier and Type Method Description JavaSource
ModelBuilder. getSource()
-
Uses of JavaSource in com.thoughtworks.qdox.library
Fields in com.thoughtworks.qdox.library with type parameters of type JavaSource Modifier and Type Field Description private java.util.Set<JavaSource>
JavaClassContext. sourceSet
Methods in com.thoughtworks.qdox.library that return JavaSource Modifier and Type Method Description JavaSource
ClassLibraryBuilder. addSource(java.io.File file)
JavaSource
ClassLibraryBuilder. addSource(java.io.InputStream stream)
JavaSource
ClassLibraryBuilder. addSource(java.io.Reader reader)
Add the source content of the reader to the ClassLibrary and return the generated JavaSourceJavaSource
ClassLibraryBuilder. addSource(java.net.URL url)
JavaSource
OrderedClassLibraryBuilder. addSource(java.io.File file)
JavaSource
OrderedClassLibraryBuilder. addSource(java.io.InputStream stream)
JavaSource
OrderedClassLibraryBuilder. addSource(java.io.Reader reader)
JavaSource
OrderedClassLibraryBuilder. addSource(java.net.URL url)
JavaSource
SortedClassLibraryBuilder. addSource(java.io.File file)
JavaSource
SortedClassLibraryBuilder. addSource(java.io.InputStream stream)
JavaSource
SortedClassLibraryBuilder. addSource(java.io.Reader reader)
JavaSource
SortedClassLibraryBuilder. addSource(java.net.URL url)
JavaSource
SourceLibrary. addSource(java.io.File file)
Add aFile
containing java code to this libraryJavaSource
SourceLibrary. addSource(java.io.InputStream stream)
Add anInputStream
containing java code to this libraryJavaSource
SourceLibrary. addSource(java.io.Reader reader)
Add aReader
containing java code to this libraryprivate JavaSource
SourceLibrary. addSource(java.io.Reader reader, java.net.URL url)
JavaSource
SourceLibrary. addSource(java.net.URL url)
Add aURL
containing java code to this libraryMethods in com.thoughtworks.qdox.library that return types with arguments of type JavaSource Modifier and Type Method Description java.util.Collection<JavaSource>
AbstractClassLibrary. getJavaSources()
protected java.util.Collection<JavaSource>
AbstractClassLibrary. getJavaSources(AbstractClassLibrary.ClassLibraryFilter filter)
java.util.Collection<JavaSource>
ClassLibrary. getJavaSources()
Return all JavaSources of the current library.java.util.Collection<JavaSource>
SourceLibrary. getJavaSources()
Get all sources, including those from parent SourceLibrariesjava.util.List<JavaSource>
JavaClassContext. getSources()
Return all stored JavaSourcesMethods in com.thoughtworks.qdox.library with parameters of type JavaSource Modifier and Type Method Description void
JavaClassContext. add(JavaSource source)
Store aJavaSource
in this contextprotected void
SourceLibrary. registerJavaSource(JavaSource source)
-
Uses of JavaSource in com.thoughtworks.qdox.model
Methods in com.thoughtworks.qdox.model that return JavaSource Modifier and Type Method Description JavaSource
JavaClass. getParentSource()
JavaSource
JavaClass. getSource()
The compilation unit, which includes the imports, the public and anonymous classes -
Uses of JavaSource in com.thoughtworks.qdox.model.impl
Classes in com.thoughtworks.qdox.model.impl that implement JavaSource Modifier and Type Class Description class
DefaultJavaSource
Fields in com.thoughtworks.qdox.model.impl declared as JavaSource Modifier and Type Field Description private JavaSource
AbstractBaseJavaEntity. source
Methods in com.thoughtworks.qdox.model.impl that return JavaSource Modifier and Type Method Description JavaSource
DefaultJavaClass. getParentSource()
JavaSource
DefaultJavaType. getParentSource()
JavaSource
AbstractBaseJavaEntity. getSource()
JavaSource
DefaultJavaClass. getSource()
The compilation unit, which includes the imports, the public and anonymous classesJavaSource
DefaultJavaType. getSource()
The compilation unit, which includes the imports, the public and anonymous classesMethods in com.thoughtworks.qdox.model.impl with parameters of type JavaSource Modifier and Type Method Description void
AbstractBaseJavaEntity. setSource(JavaSource source)
Constructors in com.thoughtworks.qdox.model.impl with parameters of type JavaSource Constructor Description DefaultJavaClass(JavaSource source)
-
Uses of JavaSource in com.thoughtworks.qdox.writer
Methods in com.thoughtworks.qdox.writer with parameters of type JavaSource Modifier and Type Method Description ModelWriter
ModelWriter. writeSource(JavaSource src)
Write the complete source file A standard source writer should write: the package the imports the classes -
Uses of JavaSource in com.thoughtworks.qdox.writer.impl
Methods in com.thoughtworks.qdox.writer.impl with parameters of type JavaSource Modifier and Type Method Description ModelWriter
DefaultModelWriter. writeSource(JavaSource source)
Write the complete source file A standard source writer should write: the package the imports the classes
-