Top Description Fields Constructors Methods
org.jruby.anno

public Class ExecutableElementDescriptor

extends MethodDescriptor<ExecutableElement>
Class Inheritance
Imports
javax.lang.model.element.ExecutableElement, .NestingKind, .TypeElement, .VariableElement, java.lang.annotation.Annotation, java.lang.reflect.Modifier, java.util.List, .Set

A version of MethodDescriptor that works against ExecutableElement during compile time annotation processing.

Field Summary

Modifier and TypeField and Description
public final ExecutableElement
Inherited from org.jruby.anno.MethodDescriptor:
actualRequiredannoaritydeclaringClassNamedeclaringClassPathhasBlockhasContexthasVarArgsIRUBYOBJECT_ARRAY_CLASS_NAMEisStaticMAX_REQUIRED_UNBOXED_ARITYmodifiersnameoptionalrequiredrestrubyName

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static CharSequence
protected <A extends Annotation> A
getAnnotation(ExecutableElement methodObject, Class<A> annotationType)

Implements abstract org.jruby.anno.MethodDescriptor.getAnnotation.

protected String
protected int
protected String
protected boolean
protected boolean
protected String
protected int
Inherited from org.jruby.anno.MethodDescriptor:
calculateSpecificCallArity

Field Detail

methodback to summary
public final ExecutableElement method

Constructor Detail

ExecutableElementDescriptorback to summary
public ExecutableElementDescriptor(ExecutableElement method)

Method Detail

getActualQualifiedNameback to summary
public static CharSequence getActualQualifiedName(TypeElement td)
getAnnotationback to summary
protected <A extends Annotation> A getAnnotation(ExecutableElement methodObject, Class<A> annotationType)

Implements abstract org.jruby.anno.MethodDescriptor.getAnnotation.

getDeclaringClassNameback to summary
protected String getDeclaringClassName(ExecutableElement methodObject)

Implements abstract org.jruby.anno.MethodDescriptor.getDeclaringClassName.

getModifiersback to summary
protected int getModifiers(ExecutableElement methodObject)

Implements abstract org.jruby.anno.MethodDescriptor.getModifiers.

getSimpleNameback to summary
protected String getSimpleName(ExecutableElement methodObject)

Implements abstract org.jruby.anno.MethodDescriptor.getSimpleName.

hasBlockback to summary
protected boolean hasBlock(ExecutableElement methodObject)

Implements abstract org.jruby.anno.MethodDescriptor.hasBlock.

hasContextback to summary
protected boolean hasContext(ExecutableElement methodObject)

Implements abstract org.jruby.anno.MethodDescriptor.hasContext.

parameterAsStringback to summary
protected String parameterAsString(ExecutableElement methodObject, int index)

Implements abstract org.jruby.anno.MethodDescriptor.parameterAsString.

parameterCountback to summary
protected int parameterCount(ExecutableElement methodObject)

Implements abstract org.jruby.anno.MethodDescriptor.parameterCount.