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 JavaSourceJavaProjectBuilder. addSource(java.io.File file)Add a java source from a file to this JavaProjectBuilderJavaSourceJavaProjectBuilder. addSource(java.io.Reader reader)Add a java source from a Reader to this JavaProjectBuilderJavaSourceJavaProjectBuilder. 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 JavaSourceBuilder. 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 JavaSourceModelBuilder. 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. sourceSetMethods in com.thoughtworks.qdox.library that return JavaSource Modifier and Type Method Description JavaSourceClassLibraryBuilder. addSource(java.io.File file)JavaSourceClassLibraryBuilder. addSource(java.io.InputStream stream)JavaSourceClassLibraryBuilder. addSource(java.io.Reader reader)Add the source content of the reader to the ClassLibrary and return the generated JavaSourceJavaSourceClassLibraryBuilder. addSource(java.net.URL url)JavaSourceOrderedClassLibraryBuilder. addSource(java.io.File file)JavaSourceOrderedClassLibraryBuilder. addSource(java.io.InputStream stream)JavaSourceOrderedClassLibraryBuilder. addSource(java.io.Reader reader)JavaSourceOrderedClassLibraryBuilder. addSource(java.net.URL url)JavaSourceSortedClassLibraryBuilder. addSource(java.io.File file)JavaSourceSortedClassLibraryBuilder. addSource(java.io.InputStream stream)JavaSourceSortedClassLibraryBuilder. addSource(java.io.Reader reader)JavaSourceSortedClassLibraryBuilder. addSource(java.net.URL url)JavaSourceSourceLibrary. addSource(java.io.File file)Add aFilecontaining java code to this libraryJavaSourceSourceLibrary. addSource(java.io.InputStream stream)Add anInputStreamcontaining java code to this libraryJavaSourceSourceLibrary. addSource(java.io.Reader reader)Add aReadercontaining java code to this libraryprivate JavaSourceSourceLibrary. addSource(java.io.Reader reader, java.net.URL url)JavaSourceSourceLibrary. addSource(java.net.URL url)Add aURLcontaining 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 voidJavaClassContext. add(JavaSource source)Store aJavaSourcein this contextprotected voidSourceLibrary. 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 JavaSourceJavaClass. getParentSource()JavaSourceJavaClass. 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 classDefaultJavaSourceFields in com.thoughtworks.qdox.model.impl declared as JavaSource Modifier and Type Field Description private JavaSourceAbstractBaseJavaEntity. sourceMethods in com.thoughtworks.qdox.model.impl that return JavaSource Modifier and Type Method Description JavaSourceDefaultJavaClass. getParentSource()JavaSourceDefaultJavaType. getParentSource()JavaSourceAbstractBaseJavaEntity. getSource()JavaSourceDefaultJavaClass. getSource()The compilation unit, which includes the imports, the public and anonymous classesJavaSourceDefaultJavaType. 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 voidAbstractBaseJavaEntity. 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 ModelWriterModelWriter. 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 ModelWriterDefaultModelWriter. writeSource(JavaSource source)Write the complete source file A standard source writer should write: the package the imports the classes
-