Package | Description |
---|---|
com.thoughtworks.qdox.builder.impl |
Provides the default implementation of the classes which transform the structs from the JavaParser to the Java model elements
|
com.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.
|
Modifier and Type | Method and Description |
---|---|
JavaType |
EvaluatingVisitor.visit(TypeRef typeRef) |
Modifier and Type | Interface and Description |
---|---|
interface |
JavaClass
Equivalent of
Class , providing the most important methods. |
interface |
JavaParameter
JavaParameter is an extended version of JavaClass and doesn't exist in the java api.
|
interface |
JavaParameterizedType
Equivalent of
ParameterizedType . |
interface |
JavaTypeVariable<D extends JavaGenericDeclaration> |
interface |
JavaWildcardType
Equivalent of
WildcardType |
Modifier and Type | Field and Description |
---|---|
static JavaType |
JavaType.VOID |
Modifier and Type | Method and Description |
---|---|
JavaType |
JavaClass.asType()
Deprecated.
the JavaClass should have the same methods
|
JavaType |
JavaMethod.getPropertyType() |
JavaType |
JavaMethod.getReturnType()
Equivalent of java.lang.reflect.Method.getReturnType()
|
JavaType |
JavaMethod.getReturnType(boolean resolve)
If a class inherits this method from a generic class or interface, you can use this method to get the resolved return type
|
JavaType |
JavaClass.getSuperClass() |
JavaType |
JavaParameter.getType() |
JavaType |
BeanProperty.getType()
The type of the bean, either used as argument type of the mutator or return type of the accessor.
|
Modifier and Type | Method and Description |
---|---|
List<JavaType> |
JavaParameterizedType.getActualTypeArguments() |
List<JavaType> |
JavaTypeVariable.getBounds() |
List<JavaType> |
JavaConstructor.getExceptionTypes() |
List<JavaType> |
JavaMethod.getExceptionTypes() |
List<JavaType> |
JavaClass.getImplements() |
List<JavaType> |
JavaConstructor.getParameterTypes()
Equivalent of
Constructor.getParameterTypes() |
List<JavaType> |
JavaMethod.getParameterTypes() |
List<JavaType> |
JavaMethod.getParameterTypes(boolean resolve)
If a class inherits this method from a generic class or interface, you can use this method to get the resolved parameter types
|
Modifier and Type | Method and Description |
---|---|
JavaConstructor |
JavaClass.getConstructor(List<JavaType> parameterTypes) |
JavaConstructor |
JavaClass.getConstructor(List<JavaType> parameterTypes,
boolean varArg) |
JavaMethod |
JavaClass.getMethod(String name,
List<JavaType> parameterTypes,
boolean varArgs)
This should be the signature for getMethodBySignature.
|
JavaMethod |
JavaClass.getMethodBySignature(String name,
List<JavaType> parameterTypes) |
JavaMethod |
JavaClass.getMethodBySignature(String name,
List<JavaType> parameterTypes,
boolean superclasses) |
JavaMethod |
JavaClass.getMethodBySignature(String name,
List<JavaType> parameterTypes,
boolean superclasses,
boolean varArg) |
List<JavaMethod> |
JavaClass.getMethodsBySignature(String name,
List<JavaType> parameterTypes,
boolean superclasses) |
List<JavaMethod> |
JavaClass.getMethodsBySignature(String name,
List<JavaType> parameterTypes,
boolean superclasses,
boolean varArg) |
boolean |
JavaConstructor.signatureMatches(List<JavaType> parameterTypes)
Returns
true if this constructor matches the parameterTypes, assuming it's a non-varArg constructor. |
boolean |
JavaConstructor.signatureMatches(List<JavaType> parameterTypes,
boolean varArgs)
Returns
true if this constructor matches the parameterTypes and matches the varArg argument. |
boolean |
JavaMethod.signatureMatches(String name,
List<JavaType> parameterTypes)
This method is NOT varArg aware.
|
boolean |
JavaMethod.signatureMatches(String name,
List<JavaType> parameterTypes,
boolean varArg) |
Modifier and Type | Method and Description |
---|---|
JavaType |
Cast.getType() |
JavaType |
TypeRef.getType() |
Constructor and Description |
---|
Cast(JavaType type,
AnnotationValue value) |
TypeRef(JavaType type) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultJavaClass |
class |
DefaultJavaParameter |
class |
DefaultJavaParameterizedType |
class |
DefaultJavaType |
class |
DefaultJavaTypeVariable<D extends JavaGenericDeclaration>
Equivalent of
TypeVariable |
class |
DefaultJavaWildcardType
Equivalent of
WildcardType
This class supports both the 'super' and 'extends' wildcards. |
Modifier and Type | Method and Description |
---|---|
JavaType |
DefaultJavaType.asType() |
JavaType |
DefaultJavaClass.asType() |
JavaType |
JavaMethodDelegate.getPropertyType() |
JavaType |
DefaultJavaMethod.getPropertyType() |
JavaType |
JavaMethodDelegate.getReturnType() |
JavaType |
DefaultJavaMethod.getReturnType()
Equivalent of java.lang.reflect.Method.getReturnType()
|
JavaType |
JavaMethodDelegate.getReturnType(boolean resolve) |
JavaType |
DefaultJavaMethod.getReturnType(boolean resolve)
If a class inherits this method from a generic class or interface, you can use this method to get the resolved return type
|
JavaType |
DefaultJavaType.getSuperClass() |
JavaType |
DefaultJavaClass.getSuperClass() |
JavaType |
DefaultBeanProperty.getType()
The type of the bean, either used as argument type of the mutator or return type of the accessor.
|
JavaType |
DefaultJavaParameter.getType() |
protected static JavaType |
DefaultJavaType.resolve(JavaType base,
JavaClass declaringClass,
JavaClass callingClass)
Consider the following example
|
Modifier and Type | Method and Description |
---|---|
List<JavaType> |
DefaultJavaParameterizedType.getActualTypeArguments() |
List<JavaType> |
DefaultJavaTypeVariable.getBounds() |
List<JavaType> |
JavaMethodDelegate.getExceptionTypes() |
List<JavaType> |
AbstractBaseMethod.getExceptionTypes() |
List<JavaType> |
DefaultJavaType.getImplements() |
List<JavaType> |
DefaultJavaClass.getImplements() |
List<JavaType> |
JavaMethodDelegate.getParameterTypes() |
List<JavaType> |
AbstractBaseMethod.getParameterTypes() |
List<JavaType> |
JavaMethodDelegate.getParameterTypes(boolean resolve)
If a class inherits this method from a generic class or interface, you can use this method to get the resolved parameter types
|
List<JavaType> |
AbstractBaseMethod.getParameterTypes(boolean resolve) |
Modifier and Type | Method and Description |
---|---|
protected static <D extends JavaGenericDeclaration> |
DefaultJavaType.getGenericValue(JavaType base,
List<JavaTypeVariable<D>> typeVariableList) |
protected static <D extends JavaGenericDeclaration> |
DefaultJavaType.getResolvedFullyQualifiedName(JavaType base,
List<JavaTypeVariable<D>> typeParameters) |
protected static <D extends JavaGenericDeclaration> |
DefaultJavaType.getResolvedGenericFullyQualifiedName(JavaType base,
List<JavaTypeVariable<D>> typeParameters) |
protected static <D extends JavaGenericDeclaration> |
DefaultJavaType.getResolvedGenericValue(JavaType base,
List<JavaTypeVariable<D>> typeParameters) |
protected static <D extends JavaGenericDeclaration> |
DefaultJavaType.getResolvedValue(JavaType base,
List<JavaTypeVariable<D>> typeParameters) |
boolean |
DefaultJavaType.isA(JavaType type) |
protected static JavaType |
DefaultJavaType.resolve(JavaType base,
JavaClass declaringClass,
JavaClass callingClass)
Consider the following example
|
protected static <D extends JavaGenericDeclaration> |
DefaultJavaType.resolve(JavaType base,
List<JavaTypeVariable<D>> typeParameters) |
void |
DefaultJavaClass.setSuperClass(JavaType type) |
void |
DefaultBeanProperty.setType(JavaType type) |
Modifier and Type | Method and Description |
---|---|
JavaConstructor |
DefaultJavaType.getConstructor(List<JavaType> parameterTypes) |
JavaConstructor |
DefaultJavaClass.getConstructor(List<JavaType> parameterTypes) |
JavaConstructor |
DefaultJavaType.getConstructor(List<JavaType> parameterTypes,
boolean varArg) |
JavaConstructor |
DefaultJavaClass.getConstructor(List<JavaType> parameterTypes,
boolean varArgs) |
JavaMethod |
DefaultJavaType.getMethod(String name,
List<JavaType> parameterTypes,
boolean varArgs)
This should be the signature for getMethodBySignature.
|
JavaMethod |
DefaultJavaClass.getMethod(String name,
List<JavaType> parameterTypes,
boolean varArgs)
This should be the signature for getMethodBySignature.
|
JavaMethod |
DefaultJavaType.getMethodBySignature(String name,
List<JavaType> parameterTypes) |
JavaMethod |
DefaultJavaClass.getMethodBySignature(String name,
List<JavaType> parameterTypes) |
JavaMethod |
DefaultJavaType.getMethodBySignature(String name,
List<JavaType> parameterTypes,
boolean superclasses) |
JavaMethod |
DefaultJavaClass.getMethodBySignature(String name,
List<JavaType> parameterTypes,
boolean superclasses) |
JavaMethod |
DefaultJavaType.getMethodBySignature(String name,
List<JavaType> parameterTypes,
boolean superclasses,
boolean varArg) |
JavaMethod |
DefaultJavaClass.getMethodBySignature(String name,
List<JavaType> parameterTypes,
boolean superclasses,
boolean varArg) |
List<JavaMethod> |
DefaultJavaType.getMethodsBySignature(String name,
List<JavaType> parameterTypes,
boolean superclasses) |
List<JavaMethod> |
DefaultJavaClass.getMethodsBySignature(String name,
List<JavaType> parameterTypes,
boolean superclasses) |
List<JavaMethod> |
DefaultJavaType.getMethodsBySignature(String name,
List<JavaType> parameterTypes,
boolean superclasses,
boolean varArg) |
List<JavaMethod> |
DefaultJavaClass.getMethodsBySignature(String name,
List<JavaType> parameterTypes,
boolean superclasses,
boolean varArg) |
void |
DefaultJavaParameterizedType.setActualArgumentTypes(List<JavaType> actualArgumentTypes) |
void |
DefaultJavaTypeVariable.setBounds(List<JavaType> bounds) |
boolean |
DefaultJavaConstructor.signatureMatches(List<JavaType> parameterTypes) |
protected boolean |
AbstractBaseMethod.signatureMatches(List<JavaType> parameterTypes,
boolean varArgs) |
boolean |
DefaultJavaConstructor.signatureMatches(List<JavaType> parameterTypes,
boolean varArgs) |
boolean |
JavaMethodDelegate.signatureMatches(String name,
List<JavaType> parameterTypes) |
boolean |
DefaultJavaMethod.signatureMatches(String name,
List<JavaType> parameterTypes) |
boolean |
JavaMethodDelegate.signatureMatches(String name,
List<JavaType> parameterTypes,
boolean varArg) |
boolean |
DefaultJavaMethod.signatureMatches(String name,
List<JavaType> parameterTypes,
boolean varArg) |
Constructor and Description |
---|
DefaultJavaWildcardType(JavaType type,
DefaultJavaWildcardType.BoundType boundType) |
Copyright © 2002–2016. All rights reserved.