Uses of Interface
com.thoughtworks.qdox.library.ClassLibrary
-
Packages that use ClassLibrary Package Description com.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.expression Provides classes reflecting the Java expressions.com.thoughtworks.qdox.model.impl Provides the default implementation of the classes reflecting the Java model elements.com.thoughtworks.qdox.type -
-
Uses of ClassLibrary in com.thoughtworks.qdox.builder
Methods in com.thoughtworks.qdox.builder with parameters of type ClassLibrary Modifier and Type Method Description ModelBuilder
ModelBuilderFactory. newInstance(ClassLibrary library)
Return a new instance of a ModelBuilder. -
Uses of ClassLibrary in com.thoughtworks.qdox.builder.impl
Fields in com.thoughtworks.qdox.builder.impl declared as ClassLibrary Modifier and Type Field Description private ClassLibrary
DefaultJavaAnnotationAssembler. classLibrary
private ClassLibrary
ModelBuilder. classLibrary
Constructors in com.thoughtworks.qdox.builder.impl with parameters of type ClassLibrary Constructor Description DefaultJavaAnnotationAssembler(JavaClass declaringClass, ClassLibrary classLibrary, TypeResolver typeResolver)
ModelBuilder(ClassLibrary classLibrary, DocletTagFactory docletTagFactory)
-
Uses of ClassLibrary in com.thoughtworks.qdox.library
Classes in com.thoughtworks.qdox.library that implement ClassLibrary Modifier and Type Class Description class
AbstractClassLibrary
A ClassLibrary can be compared with a java classloader.class
ClassLoaderLibrary
Important!! Be sure to add a classloader with the bootstrap classes.class
ClassNameLibrary
This library always resolve a className by generating an empty JavaClass Modelclass
SourceFolderLibrary
class
SourceLibrary
This Library will immediately parse the source and keeps its reference to a private context.Methods in com.thoughtworks.qdox.library that return ClassLibrary Modifier and Type Method Description ClassLibrary
ClassLibraryBuilder. getClassLibrary()
Get the library based on the strategy of the implementationClassLibrary
OrderedClassLibraryBuilder. getClassLibrary()
ClassLibrary
SortedClassLibraryBuilder. getClassLibrary()
-
Uses of ClassLibrary in com.thoughtworks.qdox.model
Methods in com.thoughtworks.qdox.model that return ClassLibrary Modifier and Type Method Description ClassLibrary
JavaClass. getJavaClassLibrary()
ClassLibrary
JavaPackage. getJavaClassLibrary()
TheClassLibrary
of this package.ClassLibrary
JavaSource. getJavaClassLibrary()
-
Uses of ClassLibrary in com.thoughtworks.qdox.model.expression
Fields in com.thoughtworks.qdox.model.expression declared as ClassLibrary Modifier and Type Field Description private ClassLibrary
FieldRef. classLibrary
Methods in com.thoughtworks.qdox.model.expression that return ClassLibrary Modifier and Type Method Description private ClassLibrary
FieldRef. getClassLibrary()
Methods in com.thoughtworks.qdox.model.expression with parameters of type ClassLibrary Modifier and Type Method Description void
FieldRef. setClassLibrary(ClassLibrary classLibrary)
-
Uses of ClassLibrary in com.thoughtworks.qdox.model.impl
Fields in com.thoughtworks.qdox.model.impl declared as ClassLibrary Modifier and Type Field Description private ClassLibrary
DefaultJavaPackage. classLibrary
private ClassLibrary
DefaultJavaSource. classLibrary
Methods in com.thoughtworks.qdox.model.impl that return ClassLibrary Modifier and Type Method Description ClassLibrary
DefaultJavaClass. getJavaClassLibrary()
ClassLibrary
DefaultJavaPackage. getJavaClassLibrary()
TheClassLibrary
of this package.ClassLibrary
DefaultJavaSource. getJavaClassLibrary()
ClassLibrary
DefaultJavaType. getJavaClassLibrary()
Methods in com.thoughtworks.qdox.model.impl with parameters of type ClassLibrary Modifier and Type Method Description void
DefaultJavaPackage. setClassLibrary(ClassLibrary classLibrary)
Constructors in com.thoughtworks.qdox.model.impl with parameters of type ClassLibrary Constructor Description DefaultJavaSource(ClassLibrary classLibrary)
Default constructor for the Default JavaSource -
Uses of ClassLibrary in com.thoughtworks.qdox.type
Fields in com.thoughtworks.qdox.type declared as ClassLibrary Modifier and Type Field Description private ClassLibrary
TypeResolver. classLibrary
Methods in com.thoughtworks.qdox.type with parameters of type ClassLibrary Modifier and Type Method Description static TypeResolver
TypeResolver. byClassName(java.lang.String binaryName, ClassLibrary classLibrary, java.util.Collection<java.lang.String> imports)
static TypeResolver
TypeResolver. byPackageName(java.lang.String binaryName, ClassLibrary classLibrary, java.util.Collection<java.lang.String> imports)
Type resolver in case there's no declaring class, e.g.Constructors in com.thoughtworks.qdox.type with parameters of type ClassLibrary Constructor Description TypeResolver(java.lang.String pckg, java.lang.String declaringClass, ClassLibrary classLibrary, java.util.Collection<java.lang.String> imports)
-