public class AnnotationHelper
extends java.lang.Object
AnnotationBinder
Modifier and Type | Method and Description |
---|---|
static void |
addMethodNamesToSet(java.util.Collection<java.lang.String> set,
java.lang.String simpleName,
java.lang.String[] names,
java.lang.String[] aliases) |
static void |
addMethodNamesToSet(java.util.Set<java.lang.String> set,
JRubyMethod jrubyMethod,
java.lang.String simpleName) |
static int |
getArityValue(JRubyMethod anno,
int actualRequired) |
static java.lang.String |
getCallConfigName(boolean frame,
boolean scope)
Given a frame and scope requirement, return the name of the appropriate CallConfiguration.
|
static java.lang.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(java.util.Set<java.lang.String> set, JRubyMethod jrubyMethod, java.lang.String simpleName)
public static void addMethodNamesToSet(java.util.Collection<java.lang.String> set, java.lang.String simpleName, java.lang.String[] names, java.lang.String[] aliases)
public static int getArityValue(JRubyMethod anno, int actualRequired)
public static java.lang.String getCallerCallConfigNameByAnno(JRubyMethod jrubyMethod)
public static java.lang.String getCallConfigName(boolean frame, boolean scope)
Copyright © 2001-2018 JRuby. All Rights Reserved.