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 CharSequence
protected <A extends Annotation>
AgetAnnotation
(ExecutableElement methodObject, Class<A> annotationType) protected String
getDeclaringClassName
(ExecutableElement methodObject) protected int
getModifiers
(ExecutableElement methodObject) protected String
getSimpleName
(ExecutableElement methodObject) protected boolean
hasBlock
(ExecutableElement methodObject) protected boolean
hasContext
(ExecutableElement methodObject) protected String
parameterAsString
(ExecutableElement methodObject, int index) protected int
parameterCount
(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:
getAnnotation
in classMethodDescriptor<ExecutableElement>
-
getModifiers
- Specified by:
getModifiers
in classMethodDescriptor<ExecutableElement>
-
getDeclaringClassName
- Specified by:
getDeclaringClassName
in classMethodDescriptor<ExecutableElement>
-
getSimpleName
- Specified by:
getSimpleName
in classMethodDescriptor<ExecutableElement>
-
hasContext
- Specified by:
hasContext
in classMethodDescriptor<ExecutableElement>
-
hasBlock
- Specified by:
hasBlock
in classMethodDescriptor<ExecutableElement>
-
parameterCount
- Specified by:
parameterCount
in classMethodDescriptor<ExecutableElement>
-
parameterAsString
- Specified by:
parameterAsString
in classMethodDescriptor<ExecutableElement>
-
getActualQualifiedName
-