public class JavaMethodDescriptor extends MethodDescriptor<Method>
Modifier and Type | Field and Description |
---|---|
Class[] |
argumentTypes |
Class |
declaringClass |
Class[] |
parameters |
Class |
returnClass |
String |
signature |
actualRequired, anno, arity, declaringClassName, declaringClassPath, hasBlock, hasContext, hasVarArgs, isStatic, modifiers, name, optional, required, rest, rubyName
Constructor and Description |
---|
JavaMethodDescriptor(Method method) |
Modifier and Type | Method and Description |
---|---|
protected <A extends Annotation> |
getAnnotation(Method methodObject,
Class<A> annotationType) |
Class |
getDeclaringClass() |
protected String |
getDeclaringClassName(Method methodObject) |
protected int |
getModifiers(Method methodObject) |
Class[] |
getParameterClasses() |
Class |
getReturnClass() |
protected String |
getSimpleName(Method methodObject) |
protected boolean |
hasBlock(Method methodObject) |
protected boolean |
hasContext(Method methodObject) |
protected String |
parameterAsString(Method methodObject,
int index) |
protected int |
parameterCount(Method methodObject) |
public final Class[] parameters
public final Class returnClass
public final Class declaringClass
public final String signature
public final Class[] argumentTypes
public JavaMethodDescriptor(Method method)
public Class getDeclaringClass()
public Class[] getParameterClasses()
public Class getReturnClass()
protected <A extends Annotation> A getAnnotation(Method methodObject, Class<A> annotationType)
getAnnotation
in class MethodDescriptor<Method>
protected int getModifiers(Method methodObject)
getModifiers
in class MethodDescriptor<Method>
protected String getDeclaringClassName(Method methodObject)
getDeclaringClassName
in class MethodDescriptor<Method>
protected String getSimpleName(Method methodObject)
getSimpleName
in class MethodDescriptor<Method>
protected boolean hasContext(Method methodObject)
hasContext
in class MethodDescriptor<Method>
protected boolean hasBlock(Method methodObject)
hasBlock
in class MethodDescriptor<Method>
protected int parameterCount(Method methodObject)
parameterCount
in class MethodDescriptor<Method>
protected String parameterAsString(Method methodObject, int index)
parameterAsString
in class MethodDescriptor<Method>
Copyright © 2001-2016 JRuby. All Rights Reserved.