Package com.thoughtworks.qdox.model.impl
Class DefaultJavaParameterizedType
java.lang.Object
com.thoughtworks.qdox.model.impl.DefaultJavaType
com.thoughtworks.qdox.model.impl.DefaultJavaParameterizedType
- All Implemented Interfaces:
JavaAnnotatedElement
,JavaClass
,JavaGenericDeclaration
,JavaModel
,JavaParameterizedType
,JavaType
,Serializable
- See Also:
-
Field Summary
FieldsFields inherited from class com.thoughtworks.qdox.model.impl.DefaultJavaType
fullName, name
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultJavaParameterizedType
(String fullName, String name, int dimensions, TypeResolver typeResolver) -
Method Summary
Modifier and TypeMethodDescriptionThe canonical name with generic information.The fully qualified name with generic information.A java5+ representation of the class.void
setActualArgumentTypes
(List<JavaType> actualArgumentTypes) Methods inherited from class com.thoughtworks.qdox.model.impl.DefaultJavaType
equals, getAnnotations, getBeanProperties, getBeanProperties, getBeanProperty, getBeanProperty, getBinaryName, getCanonicalName, getCodeBlock, getComment, getComponentType, getConstructor, getConstructor, getConstructors, getDeclaringClass, getDerivedClasses, getDimensions, getEnumConstantByName, getEnumConstants, getFieldByName, getFields, getFullyQualifiedName, getGenericValue, getImplements, getInitializers, getInterfaces, getJavaClassLibrary, getLineNumber, getMethod, getMethodBySignature, getMethodBySignature, getMethodBySignature, getMethods, getMethods, getMethodsBySignature, getMethodsBySignature, getModifiers, getName, getNamedParameter, getNestedClassByName, getNestedClasses, getPackage, getPackageName, getParentSource, getResolvedFullyQualifiedName, getResolvedGenericFullyQualifiedName, getResolvedGenericValue, getResolvedValue, getSimpleName, getSource, getSuperClass, getSuperJavaClass, getTagByName, getTags, getTagsByName, getTagsByName, getTypeParameters, getValue, hashCode, isA, isA, isA, isAbstract, isAnnotation, isArray, isEnum, isFinal, isInner, isInterface, isPrimitive, isPrivate, isProtected, isPublic, isResolved, isStatic, isVoid, resolve, resolve, toGenericString, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.thoughtworks.qdox.model.JavaType
getBinaryName, getCanonicalName, getFullyQualifiedName, getValue, toGenericString
-
Field Details
-
actualArgumentTypes
-
-
Constructor Details
-
DefaultJavaParameterizedType
public DefaultJavaParameterizedType(String fullName, String name, int dimensions, TypeResolver typeResolver)
-
-
Method Details
-
getActualTypeArguments
- Specified by:
getActualTypeArguments
in interfaceJavaParameterizedType
-
setActualArgumentTypes
-
getGenericValue
A java5+ representation of the class. When including all imports, you should be safe to use this method. Examples:private String fieldA; // getValue() will return "String" private java.lang.String fieldA; // getValue() will return "java.lang.String" private List>String> aList; // getValue() will return "List>String>"
- Specified by:
getGenericValue
in interfaceJavaType
- Overrides:
getGenericValue
in classDefaultJavaType
- Returns:
- the generic name of the class as used in the source
-
getGenericCanonicalName
The canonical name with generic information.- Specified by:
getGenericCanonicalName
in interfaceJavaType
- Overrides:
getGenericCanonicalName
in classDefaultJavaType
- Returns:
- the generic canonical name
-
getGenericFullyQualifiedName
The fully qualified name with generic information.- Specified by:
getGenericFullyQualifiedName
in interfaceJavaType
- Overrides:
getGenericFullyQualifiedName
in classDefaultJavaType
- Returns:
- the generic fully qualified name
-