Uses of Interface
com.thoughtworks.qdox.model.JavaSource
Packages that use JavaSource
Package
Description
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.
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 JavaSource in com.thoughtworks.qdox
Methods in com.thoughtworks.qdox that return JavaSourceModifier and TypeMethodDescriptionAdd a java source from a file to this JavaProjectBuilderAdd a java source from a Reader to this JavaProjectBuilderAdd a java source from a URL to this JavaProjectBuilderMethods in com.thoughtworks.qdox that return types with arguments of type JavaSource -
Uses of JavaSource in com.thoughtworks.qdox.builder
Methods in com.thoughtworks.qdox.builder that return JavaSource -
Uses of JavaSource in com.thoughtworks.qdox.builder.impl
Methods in com.thoughtworks.qdox.builder.impl that return JavaSource -
Uses of JavaSource in com.thoughtworks.qdox.library
Fields in com.thoughtworks.qdox.library with type parameters of type JavaSourceMethods in com.thoughtworks.qdox.library that return JavaSourceModifier and TypeMethodDescriptionClassLibraryBuilder.addSource
(InputStream stream) Add the source content of the reader to the ClassLibrary and return the generated JavaSourceOrderedClassLibraryBuilder.addSource
(InputStream stream) SortedClassLibraryBuilder.addSource
(InputStream stream) Add aFile
containing java code to this librarySourceLibrary.addSource
(InputStream stream) Add anInputStream
containing java code to this libraryAdd aReader
containing java code to this libraryprivate JavaSource
Add aURL
containing java code to this libraryMethods in com.thoughtworks.qdox.library that return types with arguments of type JavaSourceModifier and TypeMethodDescriptionAbstractClassLibrary.getJavaSources()
protected final Collection<JavaSource>
AbstractClassLibrary.getJavaSources
(AbstractClassLibrary.ClassLibraryFilter filter) ClassLibrary.getJavaSources()
Return all JavaSources of the current library.SourceLibrary.getJavaSources()
Get all sources, including those from parent SourceLibrariesJavaClassContext.getSources()
Return all stored JavaSourcesMethods in com.thoughtworks.qdox.library with parameters of type JavaSourceModifier and TypeMethodDescriptionvoid
JavaClassContext.add
(JavaSource source) Store aJavaSource
in this contextprotected final void
SourceLibrary.registerJavaSource
(JavaSource source) -
Uses of JavaSource in com.thoughtworks.qdox.model
Methods in com.thoughtworks.qdox.model that return JavaSourceModifier and TypeMethodDescriptionJavaClass.getParentSource()
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 JavaSourceFields in com.thoughtworks.qdox.model.impl declared as JavaSourceMethods in com.thoughtworks.qdox.model.impl that return JavaSourceModifier and TypeMethodDescriptionDefaultJavaClass.getParentSource()
DefaultJavaType.getParentSource()
AbstractBaseJavaEntity.getSource()
DefaultJavaClass.getSource()
The compilation unit, which includes the imports, the public and anonymous classesDefaultJavaType.getSource()
The compilation unit, which includes the imports, the public and anonymous classesMethods in com.thoughtworks.qdox.model.impl with parameters of type JavaSourceConstructors in com.thoughtworks.qdox.model.impl with parameters of type JavaSource -
Uses of JavaSource in com.thoughtworks.qdox.writer
Methods in com.thoughtworks.qdox.writer with parameters of type JavaSourceModifier and TypeMethodDescriptionModelWriter.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 JavaSourceModifier and TypeMethodDescriptionDefaultModelWriter.writeSource
(JavaSource source) Write the complete source file A standard source writer should write: the package the imports the classes