Note
This class must ONLY reference classes in the org.jruby.anno package, to avoid forcing a transitive dependency on any runtime JRuby classes.
| Modifier and Type | Field and Description |
|---|---|
| public static final int | |
| public static final int | |
| private final List | |
| private static final boolean | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| public static final int | |
| private SkinnyMethodAdapter | |
| public static final String | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| private void | |
| private void | |
| private static int | calculateActualRequired(ExecutableElement md, int paramsLength, int optional, boolean rest, boolean isStatic, boolean hasContext, boolean hasBlock)
|
| private static int | calculateHandleOffset(int paramsLength, int required, int optional, boolean rest, boolean isStatic, boolean hasContext, boolean hasBlock)
|
| private void | defineMethodOnClass(int methodVar, int classVar, final String[] names, final String[] aliases, ExecutableElement md)
|
| public void | |
| public static long | encodeSignature(int pre, int opt, int post, int kwargs, int requiredKwargs, boolean rest, boolean restKwargs)
|
| public void | |
| private static CharSequence | |
| public static long | |
| public SourceVersion | getSupportedSourceVersion()
Overrides javax. Implements javax. Returns the latest source version supported by this annotation processor. |
| public boolean | process(Set<? extends TypeElement>
the annotation interfaces requested to be processed typeElements, RoundEnvironment environment for information about the current and prior round roundEnvironment)Implements abstract javax. Implements javax. Processes a set of annotation interfaces on root elements originating from the prior round and returns whether or not these annotation interfaces are claimed by this processor. |
| public void | |
| public void | |
| public void | |
| public void |
| BASEMETHOD | back to summary |
|---|---|
| public static final int BASEMETHOD | |
| CLASS | back to summary |
|---|---|
| public static final int CLASS | |
| classNames | back to summary |
|---|---|
| private final List<CharSequence> classNames | |
| DEBUG | back to summary |
|---|---|
| private static final boolean DEBUG | |
| ENCODE_KWARGS_SHIFT | back to summary |
|---|---|
| private static final int ENCODE_KWARGS_SHIFT | |
| ENCODE_OPT_SHIFT | back to summary |
|---|---|
| private static final int ENCODE_OPT_SHIFT | |
| ENCODE_POST_SHIFT | back to summary |
|---|---|
| private static final int ENCODE_POST_SHIFT | |
| ENCODE_PRE_SHIFT | back to summary |
|---|---|
| private static final int ENCODE_PRE_SHIFT | |
| ENCODE_REQKWARGS_SHIFT | back to summary |
|---|---|
| private static final int ENCODE_REQKWARGS_SHIFT | |
| ENCODE_REST_SHIFT | back to summary |
|---|---|
| private static final int ENCODE_REST_SHIFT | |
| ENCODE_RESTKWARGS_SHIFT | back to summary |
|---|---|
| private static final int ENCODE_RESTKWARGS_SHIFT | |
| MAX_ENCODED_ARGS_EXPONENT | back to summary |
|---|---|
| private static final int MAX_ENCODED_ARGS_EXPONENT | |
| MAX_ENCODED_ARGS_MASK | back to summary |
|---|---|
| private static final int MAX_ENCODED_ARGS_MASK | |
| MODULEMETHOD | back to summary |
|---|---|
| public static final int MODULEMETHOD | |
| mv | back to summary |
|---|---|
| private SkinnyMethodAdapter mv | |
| POPULATOR_SUFFIX | back to summary |
|---|---|
| public static final String POPULATOR_SUFFIX | |
| RUBYMODULE | back to summary |
|---|---|
| public static final int RUBYMODULE | |
| RUNTIME | back to summary |
|---|---|
| public static final int RUNTIME | |
| SINGLETONCLASS | back to summary |
|---|---|
| public static final int SINGLETONCLASS | |
| SRC_GEN_DIR | back to summary |
|---|---|
| public static final String SRC_GEN_DIR | |
| IndyBinder | back to summary |
|---|---|
| public IndyBinder() | |
| adaptHandle | back to summary |
|---|---|
| public void adaptHandle(ExecutableElementDescriptor executableElementDescriptor, int implClass) | |
| addCoreMethodMapping | back to summary |
|---|---|
| private void addCoreMethodMapping(TypeElement cls, Map<CharSequence, List<ExecutableElement>> complexNames) | |
| addSimpleMethodMappings | back to summary |
|---|---|
| private void addSimpleMethodMappings(TypeElement cls, List<ExecutableElement> simpleNames) | |
| calculateActualRequired | back to summary |
|---|---|
| private static int calculateActualRequired(ExecutableElement md, int paramsLength, int optional, boolean rest, boolean isStatic, boolean hasContext, boolean hasBlock) | |
| calculateHandleOffset | back to summary |
|---|---|
| private static int calculateHandleOffset(int paramsLength, int required, int optional, boolean rest, boolean isStatic, boolean hasContext, boolean hasBlock) | |
| defineMethodOnClass | back to summary |
|---|---|
| private void defineMethodOnClass(int methodVar, int classVar, final String[] names, final String[] aliases, ExecutableElement md) | |
| emitIndexCode | back to summary |
|---|---|
| public void emitIndexCode(Integer bits, String names, String methodName) | |
| encodeSignature | back to summary |
|---|---|
| public static long encodeSignature(int pre, int opt, int post, int kwargs, int requiredKwargs, boolean rest, boolean restKwargs) | |
| generateMethodAddCalls | back to summary |
|---|---|
| public void generateMethodAddCalls(ExecutableElement md, JRubyMethod jrubyMethod) | |
| getActualQualifiedName | back to summary |
|---|---|
| private static CharSequence getActualQualifiedName(TypeElement td) | |
| getEncodedSignature | back to summary |
|---|---|
| public static long getEncodedSignature(JRubyMethod anno) | |
| getSupportedSourceVersion | back to summary |
|---|---|
| public SourceVersion getSupportedSourceVersion() Overrides javax. Implements javax. Doc from javax. Returns the latest source version supported by this annotation processor.
| |
| process | back to summary |
|---|---|
| public boolean process(Set<? extends TypeElement> typeElements, RoundEnvironment roundEnvironment) Implements abstract javax. Implements javax. Doc from javax. Processes a set of annotation interfaces on root elements originating
from the prior round and returns whether or not these
annotation interfaces are claimed by this processor. If The input set will be empty if the processor supports
| |
| processMethodDeclaration | back to summary |
|---|---|
| public void processMethodDeclaration(ExecutableElement method) | |
| processMethodDeclarationMulti | back to summary |
|---|---|
| public void processMethodDeclarationMulti(List<ExecutableElement> methods) | |
| processMethodDeclarations | back to summary |
|---|---|
| public void processMethodDeclarations(Map<CharSequence, List<ExecutableElement>> declarations) | |
| processType | back to summary |
|---|---|
public void processType(TypeElement cd)
| |