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
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 TypeClassDescriptionclassA ClassLibrary can be compared with a java classloader.classImportant!! Be sure to add a classloader with the bootstrap classes.classThis library always resolve a className by generating an empty JavaClass ModelclassclassThis 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()TheClassLibraryof this package.JavaSource.getJavaClassLibrary() -
Uses of ClassLibrary in com.thoughtworks.qdox.model.expression
Methods in com.thoughtworks.qdox.model.expression with parameters of type ClassLibrary -
Uses of ClassLibrary in com.thoughtworks.qdox.model.impl
Methods in com.thoughtworks.qdox.model.impl that return ClassLibraryModifier and TypeMethodDescriptionDefaultJavaClass.getJavaClassLibrary()DefaultJavaPackage.getJavaClassLibrary()TheClassLibraryof this package.DefaultJavaSource.getJavaClassLibrary()DefaultJavaType.getJavaClassLibrary()Methods in com.thoughtworks.qdox.model.impl with parameters of type ClassLibraryModifier and TypeMethodDescriptionvoidDefaultJavaPackage.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
Methods in com.thoughtworks.qdox.type with parameters of type ClassLibraryModifier and TypeMethodDescriptionstatic TypeResolverTypeResolver.byClassName(String binaryName, ClassLibrary classLibrary, Collection<String> imports) static TypeResolverTypeResolver.byPackageName(String binaryName, ClassLibrary classLibrary, Collection<String> imports) Type resolver in case there's no declaring class, e.g.