public class AnnotationHelper extends Object
AnnotationBinder
Constructor and Description |
---|
AnnotationHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
addMethodNamesToSet(Set<String> set,
JRubyMethod jrubyMethod,
String simpleName) |
static int |
getArityValue(JRubyMethod anno,
int actualRequired) |
static String |
getCallConfigName(boolean frame,
boolean scope)
Given a frame and scope requirement, return the name of the appropriate CallConfiguration.
|
static String |
getCallConfigNameByAnno(JRubyMethod jrubyMethod)
Produce a CallConfiguration name that represents what must be prepared around calls to
the method with this annotation.
|
static String |
getCallerCallConfigNameByAnno(JRubyMethod jrubyMethod)
Produce a CallConfiguration name that represents what *caller* methods must prepare for
the method with this annotation.
|
public static void addMethodNamesToSet(Set<String> set, JRubyMethod jrubyMethod, String simpleName)
public static int getArityValue(JRubyMethod anno, int actualRequired)
public static String getCallerCallConfigNameByAnno(JRubyMethod jrubyMethod)
org.jruby.internal.runtime.methods.CallConfiguration#getCallerCallConfigNameByAnno(JRubyMethod)
public static String getCallConfigNameByAnno(JRubyMethod jrubyMethod)
public static String getCallConfigName(boolean frame, boolean scope)
Copyright © 2001-2015 JRuby. All Rights Reserved.