Package org.vesalainen.bcc.model
Class ExecutableTypeImpl
- java.lang.Object
-
- org.vesalainen.bcc.model.ExecutableTypeImpl
-
- All Implemented Interfaces:
javax.lang.model.AnnotatedConstruct,javax.lang.model.type.ExecutableType,javax.lang.model.type.TypeMirror
class ExecutableTypeImpl extends java.lang.Object implements javax.lang.model.type.ExecutableType
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<javax.lang.model.type.TypeMirror>parameterTypesprivate javax.lang.model.type.TypeMirrorreturnTypeprivate java.util.List<javax.lang.model.type.TypeMirror>thrownTypesprivate java.util.List<javax.lang.model.type.TypeVariable>typeVariables
-
Constructor Summary
Constructors Constructor Description ExecutableTypeImpl(java.lang.reflect.Constructor constructor)ExecutableTypeImpl(java.lang.reflect.Method method)ExecutableTypeImpl(javax.lang.model.element.ExecutableElement method)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R,P>
Raccept(javax.lang.model.type.TypeVisitor<R,P> v, P p)<A extends java.lang.annotation.Annotation>
AgetAnnotation(java.lang.Class<A> annotationType)java.util.List<? extends javax.lang.model.element.AnnotationMirror>getAnnotationMirrors()<A extends java.lang.annotation.Annotation>
A[]getAnnotationsByType(java.lang.Class<A> annotationType)javax.lang.model.type.TypeKindgetKind()java.util.List<? extends javax.lang.model.type.TypeMirror>getParameterTypes()javax.lang.model.type.TypeMirrorgetReceiverType()javax.lang.model.type.TypeMirrorgetReturnType()java.util.List<? extends javax.lang.model.type.TypeMirror>getThrownTypes()java.util.List<? extends javax.lang.model.type.TypeVariable>getTypeVariables()
-
-
-
Field Detail
-
typeVariables
private java.util.List<javax.lang.model.type.TypeVariable> typeVariables
-
returnType
private javax.lang.model.type.TypeMirror returnType
-
parameterTypes
private java.util.List<javax.lang.model.type.TypeMirror> parameterTypes
-
thrownTypes
private java.util.List<javax.lang.model.type.TypeMirror> thrownTypes
-
-
Method Detail
-
getTypeVariables
public java.util.List<? extends javax.lang.model.type.TypeVariable> getTypeVariables()
- Specified by:
getTypeVariablesin interfacejavax.lang.model.type.ExecutableType
-
getReturnType
public javax.lang.model.type.TypeMirror getReturnType()
- Specified by:
getReturnTypein interfacejavax.lang.model.type.ExecutableType
-
getParameterTypes
public java.util.List<? extends javax.lang.model.type.TypeMirror> getParameterTypes()
- Specified by:
getParameterTypesin interfacejavax.lang.model.type.ExecutableType
-
getThrownTypes
public java.util.List<? extends javax.lang.model.type.TypeMirror> getThrownTypes()
- Specified by:
getThrownTypesin interfacejavax.lang.model.type.ExecutableType
-
getKind
public javax.lang.model.type.TypeKind getKind()
- Specified by:
getKindin interfacejavax.lang.model.type.TypeMirror
-
accept
public <R,P> R accept(javax.lang.model.type.TypeVisitor<R,P> v, P p)- Specified by:
acceptin interfacejavax.lang.model.type.TypeMirror
-
getReceiverType
public javax.lang.model.type.TypeMirror getReceiverType()
- Specified by:
getReceiverTypein interfacejavax.lang.model.type.ExecutableType
-
getAnnotationMirrors
public java.util.List<? extends javax.lang.model.element.AnnotationMirror> getAnnotationMirrors()
- Specified by:
getAnnotationMirrorsin interfacejavax.lang.model.AnnotatedConstruct
-
getAnnotation
public <A extends java.lang.annotation.Annotation> A getAnnotation(java.lang.Class<A> annotationType)
- Specified by:
getAnnotationin interfacejavax.lang.model.AnnotatedConstruct
-
getAnnotationsByType
public <A extends java.lang.annotation.Annotation> A[] getAnnotationsByType(java.lang.Class<A> annotationType)
- Specified by:
getAnnotationsByTypein interfacejavax.lang.model.AnnotatedConstruct
-
-