Package org.jruby.anno
Class ExecutableElementDescriptor
A version of MethodDescriptor that works against ExecutableElement during compile time annotation processing.
-
Field Summary
FieldsFields inherited from class org.jruby.anno.MethodDescriptor
actualRequired, anno, arity, declaringClassName, declaringClassPath, hasBlock, hasContext, hasVarArgs, IRUBYOBJECT_ARRAY_CLASS_NAME, isStatic, MAX_REQUIRED_UNBOXED_ARITY, modifiers, name, optional, required, rest, rubyName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CharSequenceprotected <A extends Annotation>
AgetAnnotation(ExecutableElement methodObject, Class<A> annotationType) protected StringgetDeclaringClassName(ExecutableElement methodObject) protected intgetModifiers(ExecutableElement methodObject) protected StringgetSimpleName(ExecutableElement methodObject) protected booleanhasBlock(ExecutableElement methodObject) protected booleanhasContext(ExecutableElement methodObject) protected StringparameterAsString(ExecutableElement methodObject, int index) protected intparameterCount(ExecutableElement methodObject) Methods inherited from class org.jruby.anno.MethodDescriptor
calculateSpecificCallArity
-
Field Details
-
method
-
-
Constructor Details
-
ExecutableElementDescriptor
-
-
Method Details
-
getAnnotation
protected <A extends Annotation> A getAnnotation(ExecutableElement methodObject, Class<A> annotationType) - Specified by:
getAnnotationin classMethodDescriptor<ExecutableElement>
-
getModifiers
- Specified by:
getModifiersin classMethodDescriptor<ExecutableElement>
-
getDeclaringClassName
- Specified by:
getDeclaringClassNamein classMethodDescriptor<ExecutableElement>
-
getSimpleName
- Specified by:
getSimpleNamein classMethodDescriptor<ExecutableElement>
-
hasContext
- Specified by:
hasContextin classMethodDescriptor<ExecutableElement>
-
hasBlock
- Specified by:
hasBlockin classMethodDescriptor<ExecutableElement>
-
parameterCount
- Specified by:
parameterCountin classMethodDescriptor<ExecutableElement>
-
parameterAsString
- Specified by:
parameterAsStringin classMethodDescriptor<ExecutableElement>
-
getActualQualifiedName
-