org.codehaus.enunciate.util
Class MapType
java.lang.Object
net.sf.jelly.apt.decorations.type.DecoratedTypeMirror
net.sf.jelly.apt.decorations.type.DecoratedReferenceType
net.sf.jelly.apt.decorations.type.DecoratedDeclaredType
net.sf.jelly.apt.decorations.type.DecoratedInterfaceType
org.codehaus.enunciate.util.MapType
- All Implemented Interfaces:
- com.sun.mirror.type.DeclaredType, com.sun.mirror.type.InterfaceType, com.sun.mirror.type.ReferenceType, com.sun.mirror.type.TypeMirror
public class MapType
- extends net.sf.jelly.apt.decorations.type.DecoratedInterfaceType
A decorated map type.
- Author:
- Ryan Heaton
| Fields inherited from class net.sf.jelly.apt.decorations.type.DecoratedTypeMirror |
delegate |
|
Constructor Summary |
MapType(com.sun.mirror.type.InterfaceType interfaceType,
com.sun.mirror.type.TypeMirror keyType,
com.sun.mirror.type.TypeMirror valueType)
|
|
Method Summary |
com.sun.mirror.type.TypeMirror |
getKeyType()
The key type associated with this map type. |
com.sun.mirror.type.DeclaredType |
getOriginalType()
The original map type. |
com.sun.mirror.type.TypeMirror |
getValueType()
The key type associated with this map type. |
boolean |
isCollection()
|
boolean |
isInstanceOf(java.lang.String className)
|
boolean |
isMap()
|
void |
setOriginalType(com.sun.mirror.type.DeclaredType originalType)
The original map type. |
| Methods inherited from class net.sf.jelly.apt.decorations.type.DecoratedInterfaceType |
accept, getDeclaration, isInterface |
| Methods inherited from class net.sf.jelly.apt.decorations.type.DecoratedDeclaredType |
getActualTypeArguments, getContainingType, getSuperinterfaces, isDeclared |
| Methods inherited from class net.sf.jelly.apt.decorations.type.DecoratedReferenceType |
isReferenceType |
| Methods inherited from class net.sf.jelly.apt.decorations.type.DecoratedTypeMirror |
equals, getDelegate, getDocComment, getDocValue, isAnnotation, isArray, isClass, isEnum, isPrimitive, isTypeVariable, isVoid, isWildcard, setDocComment, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.sun.mirror.type.DeclaredType |
getActualTypeArguments, getContainingType, getSuperinterfaces |
| Methods inherited from interface com.sun.mirror.type.TypeMirror |
equals, toString |
MapType
public MapType(com.sun.mirror.type.InterfaceType interfaceType,
com.sun.mirror.type.TypeMirror keyType,
com.sun.mirror.type.TypeMirror valueType)
getKeyType
public com.sun.mirror.type.TypeMirror getKeyType()
- The key type associated with this map type.
- Returns:
- The key type associated with this map type.
getValueType
public com.sun.mirror.type.TypeMirror getValueType()
- The key type associated with this map type.
- Returns:
- The key type associated with this map type.
getOriginalType
public com.sun.mirror.type.DeclaredType getOriginalType()
- The original map type.
- Returns:
- The original map type.
setOriginalType
public void setOriginalType(com.sun.mirror.type.DeclaredType originalType)
- The original map type.
- Parameters:
originalType - The original map type.
isInstanceOf
public boolean isInstanceOf(java.lang.String className)
- Overrides:
isInstanceOf in class net.sf.jelly.apt.decorations.type.DecoratedDeclaredType
isMap
public boolean isMap()
- Returns:
- true.
isCollection
public boolean isCollection()
- Overrides:
isCollection in class net.sf.jelly.apt.decorations.type.DecoratedTypeMirror