Uses of Interface
com.thoughtworks.qdox.library.ClassLibrary
Packages that use ClassLibrary
Package
Description
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 classes reflecting the Java expressions.
Provides the default implementation of the classes reflecting the Java model elements.
-
Uses of ClassLibrary in com.thoughtworks.qdox.builder
Methods in com.thoughtworks.qdox.builder with parameters of type ClassLibraryModifier and TypeMethodDescriptionModelBuilderFactory.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 ClassLibraryModifier and TypeFieldDescriptionprivate ClassLibrary
DefaultJavaAnnotationAssembler.classLibrary
private ClassLibrary
ModelBuilder.classLibrary
Constructors in com.thoughtworks.qdox.builder.impl with parameters of type ClassLibraryModifierConstructorDescriptionDefaultJavaAnnotationAssembler
(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 ClassLibraryModifier and TypeClassDescriptionclass
A ClassLibrary can be compared with a java classloader.class
Important!! Be sure to add a classloader with the bootstrap classes.class
This library always resolve a className by generating an empty JavaClass Modelclass
class
This Library will immediately parse the source and keeps its reference to a private context.Methods in com.thoughtworks.qdox.library that return ClassLibraryModifier and TypeMethodDescriptionClassLibraryBuilder.getClassLibrary()
Get the library based on the strategy of the implementationOrderedClassLibraryBuilder.getClassLibrary()
SortedClassLibraryBuilder.getClassLibrary()
-
Uses of ClassLibrary in com.thoughtworks.qdox.model
Methods in com.thoughtworks.qdox.model that return ClassLibraryModifier and TypeMethodDescriptionJavaClass.getJavaClassLibrary()
JavaPackage.getJavaClassLibrary()
TheClassLibrary
of this package.JavaSource.getJavaClassLibrary()
-
Uses of ClassLibrary in com.thoughtworks.qdox.model.expression
Fields in com.thoughtworks.qdox.model.expression declared as ClassLibraryMethods in com.thoughtworks.qdox.model.expression that return ClassLibraryMethods in com.thoughtworks.qdox.model.expression with parameters of type ClassLibrary -
Uses of ClassLibrary in com.thoughtworks.qdox.model.impl
Fields in com.thoughtworks.qdox.model.impl declared as ClassLibraryModifier and TypeFieldDescriptionprivate ClassLibrary
DefaultJavaPackage.classLibrary
private final ClassLibrary
DefaultJavaSource.classLibrary
Methods in com.thoughtworks.qdox.model.impl that return ClassLibraryModifier and TypeMethodDescriptionDefaultJavaClass.getJavaClassLibrary()
DefaultJavaPackage.getJavaClassLibrary()
TheClassLibrary
of this package.DefaultJavaSource.getJavaClassLibrary()
DefaultJavaType.getJavaClassLibrary()
Methods in com.thoughtworks.qdox.model.impl with parameters of type ClassLibraryModifier and TypeMethodDescriptionvoid
DefaultJavaPackage.setClassLibrary
(ClassLibrary classLibrary) Constructors in com.thoughtworks.qdox.model.impl with parameters of type ClassLibraryModifierConstructorDescriptionDefaultJavaSource
(ClassLibrary classLibrary) Default constructor for the Default JavaSource -
Uses of ClassLibrary in com.thoughtworks.qdox.type
Fields in com.thoughtworks.qdox.type declared as ClassLibraryMethods in com.thoughtworks.qdox.type with parameters of type ClassLibraryModifier and TypeMethodDescriptionstatic TypeResolver
TypeResolver.byClassName
(String binaryName, ClassLibrary classLibrary, Collection<String> imports) static TypeResolver
TypeResolver.byPackageName
(String binaryName, ClassLibrary classLibrary, Collection<String> imports) Type resolver in case there's no declaring class, e.g.Constructors in com.thoughtworks.qdox.type with parameters of type ClassLibraryModifierConstructorDescriptionprivate
TypeResolver
(String pckg, String declaringClass, ClassLibrary classLibrary, Collection<String> imports)