public class ExecutableElementDescriptor extends MethodDescriptor<ExecutableElement>
Modifier and Type | Field and Description |
---|---|
ExecutableElement |
method |
actualRequired, anno, arity, declaringClassName, declaringClassPath, hasBlock, hasContext, hasVarArgs, isStatic, modifiers, name, optional, required, rest, rubyName
Constructor and Description |
---|
ExecutableElementDescriptor(ExecutableElement method) |
Modifier and Type | Method and Description |
---|---|
static CharSequence |
getActualQualifiedName(TypeElement td) |
protected <A extends Annotation> |
getAnnotation(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) |
public final ExecutableElement method
public ExecutableElementDescriptor(ExecutableElement method)
protected <A extends Annotation> A getAnnotation(ExecutableElement methodObject, Class<A> annotationType)
getAnnotation
in class MethodDescriptor<ExecutableElement>
protected int getModifiers(ExecutableElement methodObject)
getModifiers
in class MethodDescriptor<ExecutableElement>
protected String getDeclaringClassName(ExecutableElement methodObject)
getDeclaringClassName
in class MethodDescriptor<ExecutableElement>
protected String getSimpleName(ExecutableElement methodObject)
getSimpleName
in class MethodDescriptor<ExecutableElement>
protected boolean hasContext(ExecutableElement methodObject)
hasContext
in class MethodDescriptor<ExecutableElement>
protected boolean hasBlock(ExecutableElement methodObject)
hasBlock
in class MethodDescriptor<ExecutableElement>
protected int parameterCount(ExecutableElement methodObject)
parameterCount
in class MethodDescriptor<ExecutableElement>
protected String parameterAsString(ExecutableElement methodObject, int index)
parameterAsString
in class MethodDescriptor<ExecutableElement>
public static CharSequence getActualQualifiedName(TypeElement td)
Copyright © 2001-2016 JRuby. All Rights Reserved.