Note
This class must ONLY reference classes in the org.jruby.anno package, to avoid forcing a transitive dependency on any runtime JRuby classes!
org.jruby.anno.AnnotationBinder
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static void | |
| public static void | addMethodNamesToMap(final Map<String, JRubyMethod> map, JRubyMethod anno, final String simpleName, final String[] names, final String[] aliases)
|
| public static void | |
| public static int | |
| public static String | getCallConfigName(boolean frame, boolean scope)
Given a frame and scope requirement, return the name of the appropriate CallConfiguration. |
| public 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 | groupFrameFields(Map<Set<FrameField>, List<String>> readGroups, Map<Set<FrameField>, List<String>> writeGroups, JRubyMethod anno, String simpleName)
|
| public static void | populateMethodIndex(Map<Set<FrameField>, List<String>> accessGroups, BiConsumer<Integer, String> action)
|
| AnnotationHelper | back to summary |
|---|---|
| private AnnotationHelper() | |
| addMethodNamesToMap | back to summary |
|---|---|
| public static void addMethodNamesToMap(Map<String, JRubyMethod> map, JRubyMethod jrubyMethod, String simpleName) | |
| addMethodNamesToMap | back to summary |
|---|---|
| public static void addMethodNamesToMap(final Map<String, JRubyMethod> map, JRubyMethod anno, final String simpleName, final String[] names, final String[] aliases) | |
| addSubclassNames | back to summary |
|---|---|
| public static void addSubclassNames(List<String> classAndSubs, JRubyClass classAnno) | |
| getArityValue | back to summary |
|---|---|
| public static int getArityValue(JRubyMethod anno, int actualRequired) | |
| getCallConfigName | back to summary |
|---|---|
| public static String getCallConfigName(boolean frame, boolean scope) Given a frame and scope requirement, return the name of the appropriate CallConfiguration. | |
| getCallerCallConfigNameByAnno | back to summary |
|---|---|
| public static String getCallerCallConfigNameByAnno(JRubyMethod jrubyMethod) Produce a CallConfiguration name that represents what *caller* methods must prepare for the method with this annotation. | |
| groupFrameFields | back to summary |
|---|---|
| public static void groupFrameFields(Map<Set<FrameField>, List<String>> readGroups, Map<Set<FrameField>, List<String>> writeGroups, JRubyMethod anno, String simpleName) | |
| populateMethodIndex | back to summary |
|---|---|
| public static void populateMethodIndex(Map<Set<FrameField>, List<String>> accessGroups, BiConsumer<Integer, String> action) | |