Package com.thoughtworks.qdox.model
package com.thoughtworks.qdox.model
Provides classes reflecting the Java model elements.
These classes are often richer then their
java.reflect
equivalent.-
ClassDescriptionEquivalent of
AnnotatedElement
, providing the most important methods.Equivalent ofClass
, providing the most important methods.Modeled equivalent ofConstructor
, providing the most important methods.A shared interface for the common functionality of Method and Constructor.Modeled equivalent ofField
, providing the most important methods.Equivalent ofGenericDeclaration
.AJavaClass
can have contain one of the following initializers: A static initializer declared in a class is executed when the class is initialized An instance initializer declared in a class is executed when an instance of the class is created In code this would look like:Represents the following ModuleStatement:
exports SOURCE [to TARGET{, TARGET}];
where SOURCE matches a PackageName and TARGET matches a ModuleNameRepresents the following ModuleStatement:
opens SOURCE [to TARGET{, TARGET}];
where SOURCE matches a PackageName and TARGET matches a ModuleNameRepresents the following ModuleStatement:
provides SERVICE with PROVIDER;
where SERVICE matches a TypeName and TARGET matches a TypeNameRepresents the following ModuleStatement:
requires [public] [static] NAME;
Where NAME matches a ModuleNameRepresents the following ModuleStatement:
uses NAME;
Where NAME matches a TypeNameJavaParameter is an extended version of JavaClass and doesn't exist in the java api.Equivalent ofParameterizedType
.The root of every JavaModel, even for those based on binary classes.Equivalent ofType
.JavaTypeVariable<D extends JavaGenericDeclaration>Equivalent ofWildcardType