Package | Description |
---|---|
com.thoughtworks.qdox.model | |
com.thoughtworks.qdox.model.annotation | |
com.thoughtworks.qdox.parser |
Modifier and Type | Class and Description |
---|---|
class |
TypeVariable |
class |
WildcardType
This class supports both the 'super' and 'extends' wildcards.
|
Modifier and Type | Field and Description |
---|---|
static Type[] |
Type.EMPTY_ARRAY |
static Type |
Type.VOID |
Modifier and Type | Method and Description |
---|---|
Type |
JavaClass.asType() |
Type |
ModelBuilder.createType(String typeName,
int dimensions) |
Type |
ModelBuilder.createType(TypeDef typeDef) |
Type |
ModelBuilder.createType(TypeDef typeDef,
int dimensions)
this one is specific for those cases where dimensions can be part of both the type and identifier
i.e.
|
static Type |
Type.createUnresolved(String name,
int dimensions,
JavaClassParent context) |
static Type |
Type.createUnresolved(TypeDef typeDef,
int dimensions,
JavaClassParent context) |
static Type |
Type.createUnresolved(TypeDef typeDef,
JavaClassParent context) |
Type[] |
Type.getActualTypeArguments() |
Type[] |
JavaMethod.getExceptions() |
Type[] |
JavaMethodDelegate.getExceptions() |
Type |
JavaMethod.getGenericReturnType()
Equivalent of java.lang.reflect.Method.getGenericReturnType()
|
Type |
JavaMethodDelegate.getGenericReturnType() |
Type[] |
JavaClass.getImplements() |
Type[] |
JavaMethod.getParameterTypes() |
Type[] |
JavaMethodDelegate.getParameterTypes() |
Type[] |
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
|
Type[] |
JavaMethodDelegate.getParameterTypes(boolean resolve) |
protected Type[] |
JavaMethod.getParameterTypes(boolean resolve,
JavaClass callingClass) |
protected Type[] |
JavaMethodDelegate.getParameterTypes(boolean resolve,
JavaClass _callingClass) |
Type |
JavaMethod.getPropertyType() |
Type |
JavaMethodDelegate.getPropertyType() |
Type |
JavaMethod.getReturns()
Deprecated.
it is recommended to use getReturnType()
|
Type |
JavaMethodDelegate.getReturns() |
Type |
JavaMethod.getReturnType()
Equivalent of java.lang.reflect.Method.getReturnType()
|
Type |
JavaMethodDelegate.getReturnType() |
Type |
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
|
Type |
JavaMethodDelegate.getReturnType(boolean resolve) |
protected Type |
JavaMethod.getReturnType(boolean resolve,
JavaClass callingClass) |
protected Type |
JavaMethodDelegate.getReturnType(boolean resolve,
JavaClass _callingClass) |
Type |
JavaClass.getSuperClass() |
Type |
Annotation.getType() |
Type |
BeanProperty.getType() |
Type |
JavaField.getType() |
Type |
JavaParameter.getType() |
protected Type |
Type.resolve(JavaClass parentClass) |
protected Type |
Type.resolve(JavaClass parentClass,
JavaClass subclass) |
Modifier and Type | Method and Description |
---|---|
JavaMethod |
JavaClass.getMethod(String name,
Type[] parameterTypes,
boolean varArgs)
This should be the signature for getMethodBySignature
|
JavaMethod |
JavaClass.getMethodBySignature(String name,
Type[] parameterTypes) |
JavaMethod |
JavaClass.getMethodBySignature(String name,
Type[] parameterTypes,
boolean superclasses) |
JavaMethod |
JavaClass.getMethodBySignature(String name,
Type[] parameterTypes,
boolean superclasses,
boolean varArg) |
JavaMethod[] |
JavaClass.getMethodsBySignature(String name,
Type[] parameterTypes,
boolean superclasses) |
JavaMethod[] |
JavaClass.getMethodsBySignature(String name,
Type[] parameterTypes,
boolean superclasses,
boolean varArg) |
boolean |
Type.isA(Type type) |
void |
JavaMethod.setExceptions(Type[] exceptions) |
void |
JavaMethodDelegate.setExceptions(Type[] exceptions) |
void |
JavaClass.setImplementz(Type[] implementz) |
void |
JavaMethod.setReturns(Type returns)
Define the return type of this method
|
void |
JavaMethodDelegate.setReturns(Type returns) |
void |
JavaClass.setSuperClass(Type type) |
void |
BeanProperty.setType(Type type) |
void |
JavaField.setType(Type type) |
boolean |
JavaMethod.signatureMatches(String name,
Type[] parameterTypes)
Deprecated.
use overloaded method
|
boolean |
JavaMethodDelegate.signatureMatches(String name,
Type[] parameterTypes) |
boolean |
JavaMethod.signatureMatches(String name,
Type[] parameterTypes,
boolean varArg) |
boolean |
JavaMethodDelegate.signatureMatches(String name,
Type[] parameterTypes,
boolean varArg) |
Constructor and Description |
---|
Annotation(Type type,
AbstractBaseJavaEntity context,
Map namedParameters,
int lineNumber) |
Annotation(Type type,
int line) |
JavaField(Type type,
String name) |
JavaMethod(Type returns,
String name)
Create a new method without parameters
|
JavaParameter(Type type,
String name) |
JavaParameter(Type type,
String name,
boolean varArgs) |
Modifier and Type | Method and Description |
---|---|
Type |
AnnotationCast.getType() |
Type |
AnnotationTypeRef.getType() |
Constructor and Description |
---|
AnnotationCast(Type type,
AnnotationValue value) |
AnnotationTypeRef(Type type) |
Modifier and Type | Method and Description |
---|---|
Type |
Builder.createType(String name,
int dimensions)
Deprecated.
|
Type |
Builder.createType(TypeDef name) |
Copyright © 2002–2017. All rights reserved.