public class AnnotationHelper extends Object
AnnotationBinder
Modifier and Type | Method and Description |
---|---|
static void |
addMethodNamesToSet(Collection<String> set,
String simpleName,
String[] names,
String[] aliases) |
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 |
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 void addMethodNamesToSet(Collection<String> set, String simpleName, String[] names, String[] aliases)
public static int getArityValue(JRubyMethod anno, int actualRequired)
public static String getCallerCallConfigNameByAnno(JRubyMethod jrubyMethod)
public static String getCallConfigName(boolean frame, boolean scope)
Copyright © 2001-2017 JRuby. All Rights Reserved.