| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private final ProcessingEnvironment | |
| private final boolean | |
| private final long | |
| private final TypeMap |
| Access | Constructor and Description |
|---|---|
| public | GeneratorVisitor(ProcessingEnvironment env, TypeMap type_map, boolean generate_error_checks, boolean context_specific, long generatorLM)
|
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private static void | |
| private static void | |
| private void | |
| private static ByteBuffer | |
| private void | |
| private void | |
| private void | |
| private void | validateTypes(ExecutableElement method, List<? extends AnnotationMirror> annotations, TypeMirror type_mirror)
|
| public Void | visitTypeAsInterface(TypeElement
the element to visit e, Void a visitor-specified parameter p)Overrides javax. INTERFACE type element.
|
| context_specific | back to summary |
|---|---|
| private final boolean context_specific | |
| env | back to summary |
|---|---|
| private final ProcessingEnvironment env | |
| generate_error_checks | back to summary |
|---|---|
| private final boolean generate_error_checks | |
| generatorLM | back to summary |
|---|---|
| private final long generatorLM | |
| type_map | back to summary |
|---|---|
| private final TypeMap type_map | |
| GeneratorVisitor | back to summary |
|---|---|
| public GeneratorVisitor(ProcessingEnvironment env, TypeMap type_map, boolean generate_error_checks, boolean context_specific, long generatorLM) | |
| generateJavaSource | back to summary |
|---|---|
| private void generateJavaSource(TypeElement d, PrintWriter java_writer) throws IOException | |
| generateMethodNativePointers | back to summary |
|---|---|
| private static void generateMethodNativePointers(PrintWriter writer, ExecutableElement method) | |
| generateMethodsNativePointers | back to summary |
|---|---|
| private static void generateMethodsNativePointers(PrintWriter writer, Collection<? extends ExecutableElement> methods) | |
| generateNativeSource | back to summary |
|---|---|
| private void generateNativeSource(TypeElement d) throws IOException | |
| readFile | back to summary |
|---|---|
| private static ByteBuffer readFile(final File file) throws IOException | |
| validateMethod | back to summary |
|---|---|
| private void validateMethod(ExecutableElement method) | |
| validateParameters | back to summary |
|---|---|
| private void validateParameters(ExecutableElement method) | |
| validateType | back to summary |
|---|---|
| private void validateType(ExecutableElement method, Class<? extends Annotation> annotation_type, Class<T> type) | |
| validateTypes | back to summary |
|---|---|
| private void validateTypes(ExecutableElement method, List<? extends AnnotationMirror> annotations, TypeMirror type_mirror) | |
| visitTypeAsInterface | back to summary |
|---|---|
| public Void visitTypeAsInterface(TypeElement e, Void p) Overrides javax. Doc from javax. Visits an
| |