Class DecoratedExecutableType
- java.lang.Object
-
- com.webcohesion.enunciate.javac.decorations.type.DecoratedTypeMirror<ExecutableType>
-
- com.webcohesion.enunciate.javac.decorations.type.DecoratedExecutableType
-
- All Implemented Interfaces:
AnnotatedConstruct,ExecutableType,TypeMirror
public class DecoratedExecutableType extends DecoratedTypeMirror<ExecutableType> implements ExecutableType
A decorated declared type provides a property for getting its actual type parameters as a list (so they can be accessed with the [] operator in expression language).- Author:
- Ryan Heaton
-
-
Field Summary
-
Fields inherited from class com.webcohesion.enunciate.javac.decorations.type.DecoratedTypeMirror
delegate, env
-
-
Constructor Summary
Constructors Constructor Description DecoratedExecutableType(ExecutableType delegate, DecoratedProcessingEnvironment env)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R,P>
Raccept(TypeVisitor<R,P> v, P p)List<? extends TypeMirror>getParameterTypes()TypeMirrorgetReceiverType()TypeMirrorgetReturnType()List<? extends TypeMirror>getThrownTypes()List<? extends TypeVariable>getTypeVariables()-
Methods inherited from class com.webcohesion.enunciate.javac.decorations.type.DecoratedTypeMirror
equals, getAnnotation, getAnnotationMirrors, getAnnotationsByType, getDeferredDocComment, getDelegate, getDocComment, getDocValue, getDocValue, getKind, isAnnotation, isArray, isClass, isCollection, isDeclared, isEnum, isInstanceOf, isInstanceOf, isInstanceOf, isInstanceOf, isInterface, isList, isNull, isPrimitive, isReferenceType, isStream, isTypeVariable, isVoid, isWildcard, setDeferredDocComment, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface javax.lang.model.AnnotatedConstruct
getAnnotation, getAnnotationMirrors, getAnnotationsByType
-
Methods inherited from interface javax.lang.model.type.TypeMirror
equals, getKind, hashCode, toString
-
-
-
-
Constructor Detail
-
DecoratedExecutableType
public DecoratedExecutableType(ExecutableType delegate, DecoratedProcessingEnvironment env)
-
-
Method Detail
-
getTypeVariables
public List<? extends TypeVariable> getTypeVariables()
- Specified by:
getTypeVariablesin interfaceExecutableType
-
getReturnType
public TypeMirror getReturnType()
- Specified by:
getReturnTypein interfaceExecutableType
-
getParameterTypes
public List<? extends TypeMirror> getParameterTypes()
- Specified by:
getParameterTypesin interfaceExecutableType
-
getThrownTypes
public List<? extends TypeMirror> getThrownTypes()
- Specified by:
getThrownTypesin interfaceExecutableType
-
getReceiverType
public TypeMirror getReceiverType()
- Specified by:
getReceiverTypein interfaceExecutableType
-
accept
public <R,P> R accept(TypeVisitor<R,P> v, P p)
- Specified by:
acceptin interfaceTypeMirror- Overrides:
acceptin classDecoratedTypeMirror<ExecutableType>
-
-