Uses of Interface
com.thoughtworks.qdox.model.JavaType
-
Packages that use JavaType 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 elementscom.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. -
-
Uses of JavaType in com.thoughtworks.qdox.builder.impl
Methods in com.thoughtworks.qdox.builder.impl that return JavaType Modifier and Type Method Description JavaType
EvaluatingVisitor. visit(TypeRef typeRef)
-
Uses of JavaType in com.thoughtworks.qdox.model
Subinterfaces of JavaType in com.thoughtworks.qdox.model Modifier and Type Interface Description interface
JavaClass
Equivalent ofClass
, 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 ofParameterizedType
.interface
JavaTypeVariable<D extends JavaGenericDeclaration>
interface
JavaWildcardType
Equivalent ofWildcardType
Methods in com.thoughtworks.qdox.model that return JavaType Modifier and Type Method Description 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 typeJavaType
JavaClass. getSuperClass()
JavaType
BeanProperty. getType()
The type of the bean, either used as argument type of the mutator or return type of the accessor.JavaType
JavaParameter. getType()
Methods in com.thoughtworks.qdox.model that return types with arguments of type JavaType Modifier and Type Method Description java.util.List<JavaType>
JavaParameterizedType. getActualTypeArguments()
java.util.List<JavaType>
JavaTypeVariable. getBounds()
java.util.List<JavaType>
JavaExecutable. getExceptionTypes()
java.util.List<JavaType>
JavaClass. getImplements()
java.util.List<JavaType>
JavaExecutable. getParameterTypes()
Equivalent ofExecutable.getParameterTypes()
java.util.List<JavaType>
JavaExecutable. 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 typesMethod parameters in com.thoughtworks.qdox.model with type arguments of type JavaType Modifier and Type Method Description JavaConstructor
JavaClass. getConstructor(java.util.List<JavaType> parameterTypes)
JavaConstructor
JavaClass. getConstructor(java.util.List<JavaType> parameterTypes, boolean varArg)
JavaMethod
JavaClass. getMethod(java.lang.String name, java.util.List<JavaType> parameterTypes, boolean varArgs)
This should be the signature for getMethodBySignature.JavaMethod
JavaClass. getMethodBySignature(java.lang.String name, java.util.List<JavaType> parameterTypes)
JavaMethod
JavaClass. getMethodBySignature(java.lang.String name, java.util.List<JavaType> parameterTypes, boolean superclasses)
JavaMethod
JavaClass. getMethodBySignature(java.lang.String name, java.util.List<JavaType> parameterTypes, boolean superclasses, boolean varArg)
java.util.List<JavaMethod>
JavaClass. getMethodsBySignature(java.lang.String name, java.util.List<JavaType> parameterTypes, boolean superclasses)
java.util.List<JavaMethod>
JavaClass. getMethodsBySignature(java.lang.String name, java.util.List<JavaType> parameterTypes, boolean superclasses, boolean varArg)
boolean
JavaConstructor. signatureMatches(java.util.List<JavaType> parameterTypes)
Returnstrue
if this constructor matches the parameterTypes, assuming it's a non-varArg constructor.boolean
JavaConstructor. signatureMatches(java.util.List<JavaType> parameterTypes, boolean varArgs)
Returnstrue
if this constructor matches the parameterTypes and matches the varArg argument.boolean
JavaMethod. signatureMatches(java.lang.String name, java.util.List<JavaType> parameterTypes)
This method is NOT varArg aware.boolean
JavaMethod. signatureMatches(java.lang.String name, java.util.List<JavaType> parameterTypes, boolean varArg)
-
Uses of JavaType in com.thoughtworks.qdox.model.expression
Fields in com.thoughtworks.qdox.model.expression declared as JavaType Modifier and Type Field Description private JavaType
Cast. type
private JavaType
TypeRef. type
Methods in com.thoughtworks.qdox.model.expression that return JavaType Modifier and Type Method Description JavaType
Cast. getType()
JavaType
TypeRef. getType()
Constructors in com.thoughtworks.qdox.model.expression with parameters of type JavaType Constructor Description Cast(JavaType type, AnnotationValue value)
TypeRef(JavaType type)
-
Uses of JavaType in com.thoughtworks.qdox.model.impl
Classes in com.thoughtworks.qdox.model.impl that implement JavaType Modifier and Type Class Description class
DefaultJavaClass
class
DefaultJavaParameter
class
DefaultJavaParameterizedType
class
DefaultJavaType
The default implementation forJavaType
class
DefaultJavaTypeVariable<D extends JavaGenericDeclaration>
Equivalent ofTypeVariable
class
DefaultJavaWildcardType
Equivalent ofWildcardType
This class supports both the 'super' and 'extends' wildcards.Fields in com.thoughtworks.qdox.model.impl declared as JavaType Modifier and Type Field Description private JavaType
DefaultJavaClass. superClass
private JavaType
DefaultBeanProperty. type
Fields in com.thoughtworks.qdox.model.impl with type parameters of type JavaType Modifier and Type Field Description private java.util.List<JavaType>
DefaultJavaParameterizedType. actualArgumentTypes
private java.util.List<JavaType>
DefaultJavaTypeVariable. bounds
private java.util.List<JavaType>
DefaultJavaWildcardType. bounds
Methods in com.thoughtworks.qdox.model.impl that return JavaType Modifier and Type Method Description JavaType
DefaultJavaMethod. getPropertyType()
JavaType
JavaMethodDelegate. getPropertyType()
protected JavaType
DefaultJavaExecutable. getReturns()
JavaType
DefaultJavaMethod. getReturnType()
Equivalent of java.lang.reflect.Method.getReturnType()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 typeJavaType
JavaMethodDelegate. getReturnType()
Equivalent of java.lang.reflect.Method.getReturnType()JavaType
JavaMethodDelegate. getReturnType(boolean resolve)
JavaType
DefaultJavaClass. getSuperClass()
JavaType
DefaultJavaType. 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 exampleMethods in com.thoughtworks.qdox.model.impl that return types with arguments of type JavaType Modifier and Type Method Description java.util.List<JavaType>
DefaultJavaParameterizedType. getActualTypeArguments()
private static java.util.List<JavaType>
DefaultJavaType. getActualTypeArguments(JavaType base)
java.util.List<JavaType>
DefaultJavaTypeVariable. getBounds()
java.util.List<JavaType>
DefaultJavaExecutable. getExceptionTypes()
java.util.List<JavaType>
JavaMethodDelegate. getExceptionTypes()
java.util.List<JavaType>
DefaultJavaClass. getImplements()
java.util.List<JavaType>
DefaultJavaType. getImplements()
java.util.List<JavaType>
DefaultJavaExecutable. getParameterTypes()
Equivalent ofExecutable.getParameterTypes()
java.util.List<JavaType>
DefaultJavaExecutable. 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 typesjava.util.List<JavaType>
JavaMethodDelegate. getParameterTypes()
Equivalent ofExecutable.getParameterTypes()
java.util.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 typesMethods in com.thoughtworks.qdox.model.impl with parameters of type JavaType Modifier and Type Method Description private static java.util.List<JavaType>
DefaultJavaType. getActualTypeArguments(JavaType base)
private static int
DefaultJavaType. getDimensions(JavaType type)
protected static <D extends JavaGenericDeclaration>
java.lang.StringDefaultJavaType. getGenericValue(JavaType base, java.util.List<JavaTypeVariable<D>> typeVariableList)
protected static <D extends JavaGenericDeclaration>
java.lang.StringDefaultJavaType. getResolvedFullyQualifiedName(JavaType base, java.util.List<JavaTypeVariable<D>> typeParameters)
protected static <D extends JavaGenericDeclaration>
java.lang.StringDefaultJavaType. getResolvedGenericFullyQualifiedName(JavaType base, java.util.List<JavaTypeVariable<D>> typeParameters)
protected static <D extends JavaGenericDeclaration>
java.lang.StringDefaultJavaType. getResolvedGenericValue(JavaType base, java.util.List<JavaTypeVariable<D>> typeParameters)
protected static <D extends JavaGenericDeclaration>
java.lang.StringDefaultJavaType. getResolvedValue(JavaType base, java.util.List<JavaTypeVariable<D>> typeParameters)
boolean
DefaultJavaType. isA(JavaType type)
protected static JavaType
DefaultJavaType. resolve(JavaType base, JavaClass declaringClass, JavaClass callingClass)
Consider the following exampleprotected static <D extends JavaGenericDeclaration>
JavaTypeVariable<D>DefaultJavaType. resolve(JavaType base, java.util.List<JavaTypeVariable<D>> typeParameters)
void
DefaultJavaClass. setSuperClass(JavaType type)
void
DefaultBeanProperty. setType(JavaType type)
Method parameters in com.thoughtworks.qdox.model.impl with type arguments of type JavaType Modifier and Type Method Description JavaConstructor
DefaultJavaClass. getConstructor(java.util.List<JavaType> parameterTypes)
JavaConstructor
DefaultJavaClass. getConstructor(java.util.List<JavaType> parameterTypes, boolean varArgs)
JavaConstructor
DefaultJavaType. getConstructor(java.util.List<JavaType> parameterTypes)
JavaConstructor
DefaultJavaType. getConstructor(java.util.List<JavaType> parameterTypes, boolean varArg)
JavaMethod
DefaultJavaClass. getMethod(java.lang.String name, java.util.List<JavaType> parameterTypes, boolean varArgs)
This should be the signature for getMethodBySignature.JavaMethod
DefaultJavaType. getMethod(java.lang.String name, java.util.List<JavaType> parameterTypes, boolean varArgs)
This should be the signature for getMethodBySignature.JavaMethod
DefaultJavaClass. getMethodBySignature(java.lang.String name, java.util.List<JavaType> parameterTypes)
JavaMethod
DefaultJavaClass. getMethodBySignature(java.lang.String name, java.util.List<JavaType> parameterTypes, boolean superclasses)
JavaMethod
DefaultJavaClass. getMethodBySignature(java.lang.String name, java.util.List<JavaType> parameterTypes, boolean superclasses, boolean varArg)
JavaMethod
DefaultJavaType. getMethodBySignature(java.lang.String name, java.util.List<JavaType> parameterTypes)
JavaMethod
DefaultJavaType. getMethodBySignature(java.lang.String name, java.util.List<JavaType> parameterTypes, boolean superclasses)
JavaMethod
DefaultJavaType. getMethodBySignature(java.lang.String name, java.util.List<JavaType> parameterTypes, boolean superclasses, boolean varArg)
java.util.List<JavaMethod>
DefaultJavaClass. getMethodsBySignature(java.lang.String name, java.util.List<JavaType> parameterTypes, boolean superclasses)
java.util.List<JavaMethod>
DefaultJavaClass. getMethodsBySignature(java.lang.String name, java.util.List<JavaType> parameterTypes, boolean superclasses, boolean varArg)
java.util.List<JavaMethod>
DefaultJavaType. getMethodsBySignature(java.lang.String name, java.util.List<JavaType> parameterTypes, boolean superclasses)
java.util.List<JavaMethod>
DefaultJavaType. getMethodsBySignature(java.lang.String name, java.util.List<JavaType> parameterTypes, boolean superclasses, boolean varArg)
void
DefaultJavaParameterizedType. setActualArgumentTypes(java.util.List<JavaType> actualArgumentTypes)
void
DefaultJavaTypeVariable. setBounds(java.util.List<JavaType> bounds)
boolean
DefaultJavaConstructor. signatureMatches(java.util.List<JavaType> parameterTypes)
Returnstrue
if this constructor matches the parameterTypes, assuming it's a non-varArg constructor.boolean
DefaultJavaConstructor. signatureMatches(java.util.List<JavaType> parameterTypes, boolean varArgs)
Returnstrue
if this constructor matches the parameterTypes and matches the varArg argument.protected boolean
DefaultJavaExecutable. signatureMatches(java.util.List<JavaType> parameterTypes, boolean varArgs)
boolean
DefaultJavaMethod. signatureMatches(java.lang.String name, java.util.List<JavaType> parameterTypes)
This method is NOT varArg aware.boolean
DefaultJavaMethod. signatureMatches(java.lang.String name, java.util.List<JavaType> parameterTypes, boolean varArg)
boolean
JavaMethodDelegate. signatureMatches(java.lang.String name, java.util.List<JavaType> parameterTypes)
This method is NOT varArg aware.boolean
JavaMethodDelegate. signatureMatches(java.lang.String name, java.util.List<JavaType> parameterTypes, boolean varArg)
Constructors in com.thoughtworks.qdox.model.impl with parameters of type JavaType Constructor Description DefaultJavaWildcardType(JavaType type, DefaultJavaWildcardType.BoundType boundType)
-