@SupportedAnnotationTypes(value="org.jruby.anno.JRubyMethod") public class IndyBinder extends AbstractProcessor
| Modifier and Type | Field and Description |
|---|---|
static int |
BASEMETHOD |
static int |
CLASS |
static int |
MODULEMETHOD |
static String |
POPULATOR_SUFFIX |
static int |
RUBYMODULE |
static int |
RUNTIME |
static int |
SINGLETONCLASS |
static String |
SRC_GEN_DIR |
processingEnv| Constructor and Description |
|---|
IndyBinder() |
| Modifier and Type | Method and Description |
|---|---|
void |
adaptHandle(ExecutableElementDescriptor executableElementDescriptor,
int implClass) |
static void |
addMethodNamesToSet(Set<String> set,
JRubyMethod jrubyMethod,
String simpleName) |
static long |
encodeSignature(int pre,
int opt,
int post,
int kwargs,
int requiredKwargs,
boolean rest,
boolean restKwargs) |
void |
generateMethodAddCalls(ExecutableElement md,
JRubyMethod jrubyMethod) |
static long |
getEncodedSignature(JRubyMethod anno) |
SourceVersion |
getSupportedSourceVersion() |
boolean |
process(Set<? extends TypeElement> typeElements,
RoundEnvironment roundEnvironment) |
void |
processMethodDeclaration(ExecutableElement method) |
void |
processMethodDeclarationMulti(List<ExecutableElement> methods) |
void |
processMethodDeclarations(Map<CharSequence,List<ExecutableElement>> declarations) |
void |
processType(TypeElement cd) |
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, init, isInitializedpublic static final String POPULATOR_SUFFIX
public static final String SRC_GEN_DIR
public static final int CLASS
public static final int BASEMETHOD
public static final int MODULEMETHOD
public static final int RUNTIME
public static final int SINGLETONCLASS
public static final int RUBYMODULE
public boolean process(Set<? extends TypeElement> typeElements, RoundEnvironment roundEnvironment)
process in interface Processorprocess in class AbstractProcessorpublic SourceVersion getSupportedSourceVersion()
getSupportedSourceVersion in interface ProcessorgetSupportedSourceVersion in class AbstractProcessorpublic void processType(TypeElement cd)
public static void addMethodNamesToSet(Set<String> set, JRubyMethod jrubyMethod, String simpleName)
public void processMethodDeclarations(Map<CharSequence,List<ExecutableElement>> declarations)
public void processMethodDeclaration(ExecutableElement method)
public static long getEncodedSignature(JRubyMethod anno)
public void processMethodDeclarationMulti(List<ExecutableElement> methods)
public void adaptHandle(ExecutableElementDescriptor executableElementDescriptor, int implClass)
public static long encodeSignature(int pre,
int opt,
int post,
int kwargs,
int requiredKwargs,
boolean rest,
boolean restKwargs)
public void generateMethodAddCalls(ExecutableElement md, JRubyMethod jrubyMethod)
Copyright © 2001-2016 JRuby. All Rights Reserved.