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 | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final List | |
| private static final boolean | |
| private PrintStream | |
| public static final String | |
| public static final String | |
| private Types |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| private static int | calculateActualRequired(ExecutableElement method, int paramsLength, int optional, boolean rest, boolean isStatic, boolean hasContext, boolean hasBlock)
|
| public static void | |
| private void | defineMethodOnClass(String methodVar, String classVar, final String[] names, final String[] aliases, ExecutableElement md)
|
| public void | |
| protected void | gatherMappings(Map<CharSequence, List<ExecutableElement>> methods, Map<CharSequence, CharSequence> mappings)
|
| public void | |
| private void | generateMethodAddCalls(ExecutableElement md, final boolean meta, final boolean module, String[] names, String[] aliases)
|
| private static CharSequence | |
| public static String | |
| public SourceVersion | getSupportedSourceVersion()
Overrides javax. Implements javax. Returns the latest source version supported by this annotation processor. |
| private static AnnotationBinder. | |
| public synchronized void | init(ProcessingEnvironment
environment to access facilities the tool framework
provides to the processor processingEnv)Overrides javax. Implements javax. Initializes the processor with the processing environment. |
| private static StringBuilder | |
| private static StringBuilder | |
| 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 | |
| private static CharSequence | |
| private static void |
| classNames | back to summary |
|---|---|
| private final List<CharSequence> classNames | |
| DEBUG | back to summary |
|---|---|
| private static final boolean DEBUG | |
| out | back to summary |
|---|---|
| private PrintStream out | |
| POPULATOR_SUFFIX | back to summary |
|---|---|
| public static final String POPULATOR_SUFFIX | |
| SRC_GEN_DIR | back to summary |
|---|---|
| public static final String SRC_GEN_DIR | |
| types | back to summary |
|---|---|
| private Types types | |
| AnnotationBinder | back to summary |
|---|---|
| public AnnotationBinder() | |
| addSubclassNames | back to summary |
|---|---|
| public void addSubclassNames(List<String> classAndSubs, JRubyClass classAnno) | |
| calculateActualRequired | back to summary |
|---|---|
| private static int calculateActualRequired(ExecutableElement method, int paramsLength, int optional, boolean rest, boolean isStatic, boolean hasContext, boolean hasBlock) | |
| checkForThrows | back to summary |
|---|---|
| public static void checkForThrows(TypeElement type, ExecutableElement method) | |
| defineMethodOnClass | back to summary |
|---|---|
| private void defineMethodOnClass(String methodVar, String classVar, final String[] names, final String[] aliases, ExecutableElement md) | |
| emitIndexCode | back to summary |
|---|---|
| public void emitIndexCode(int bits, String names, String format) | |
| gatherMappings | back to summary |
|---|---|
| protected void gatherMappings(Map<CharSequence, List<ExecutableElement>> methods, Map<CharSequence, CharSequence> mappings) | |
| generateMethodAddCalls | back to summary |
|---|---|
| public void generateMethodAddCalls(ExecutableElement md, JRubyMethod anno) | |
| generateMethodAddCalls | back to summary |
|---|---|
| private void generateMethodAddCalls(ExecutableElement md, final boolean meta, final boolean module, String[] names, String[] aliases) | |
| getActualQualifiedName | back to summary |
|---|---|
| private static CharSequence getActualQualifiedName(TypeElement elem) | |
| getBaseName | back to summary |
|---|---|
| public static String getBaseName(String[] names, ExecutableElement md) | |
| getSupportedSourceVersion | back to summary |
|---|---|
| public SourceVersion getSupportedSourceVersion() Overrides javax. Implements javax. Doc from javax. Returns the latest source version supported by this annotation processor.
| |
| identifyParameters | back to summary |
|---|---|
| private static AnnotationBinder. | |
| init | back to summary |
|---|---|
| public synchronized void init(ProcessingEnvironment processingEnv) Overrides javax. Implements javax. Doc from javax. Initializes the processor with the processing environment.
| |
| join | back to summary |
|---|---|
| private static StringBuilder join(final Object... vals) | |
| join | back to summary |
|---|---|
| private static StringBuilder join(final String sep, final Iterable<?> names) | |
| 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(ExecutableElement method) | |
| processMethodDeclarations | back to summary |
|---|---|
| public void processMethodDeclarations(Map<CharSequence, List<ExecutableElement>> declarations) | |
| processType | back to summary |
|---|---|
public void processType(TypeElement cd)
| |
| quote | back to summary |
|---|---|
| private static CharSequence quote(final Object name) | |
| warn | back to summary |
|---|---|
| private static void warn(CharSequence msg) | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final boolean | |
| pack-priv final boolean | |
| pack-priv final String |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| hasBlock | back to summary |
|---|---|
| pack-priv final boolean hasBlock | |
| hasContext | back to summary |
|---|---|
| pack-priv final boolean hasContext | |
| typeDecl | back to summary |
|---|---|
| pack-priv final String typeDecl | |
| ParametersInfo | back to summary |
|---|---|
| pack-priv ParametersInfo(String name, boolean hasContext, boolean hasBlock) | |