| Modifier and Type | Field and Description |
|---|---|
| private static final Map | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static void | generateMethodJava(ProcessingEnvironment env, TypeMap type_map, PrintWriter writer, TypeElement interface_decl, ExecutableElement method, boolean generate_error_checks, boolean context_specific)
TODO : fix info multi-type methods print. |
| public static void | generateMethodsJava(ProcessingEnvironment env, TypeMap type_map, PrintWriter writer, TypeElement interface_decl, boolean generate_error_checks, boolean context_specific)
|
| private static boolean | generateParameterJava(PrintWriter writer, VariableElement param, TypeInfo type_info, boolean native_stub, final boolean printTypes, boolean first_parameter, Mode mode)
|
| private static boolean | generateParametersJava(PrintWriter writer, ExecutableElement method, Map<VariableElement, TypeInfo> typeinfos_instance, boolean native_stub, final boolean printTypes, Mode mode)
|
| private static VariableElement | |
| private static int | |
| private static String | |
| private static String | |
| private static Pattern | |
| private static String | |
| private static String | |
| private static boolean | |
| private static void | |
| private static void | |
| private static void | printBufferObjectChecks(PrintWriter writer, ExecutableElement method, Mode mode, boolean context_specific)
|
| private static void | printJavaNativeStub(ProcessingEnvironment env, PrintWriter writer, ExecutableElement method, Mode mode, boolean generate_error_checks, boolean context_specific)
|
| private static boolean | printMethodCallArgument(PrintWriter writer, ExecutableElement method, VariableElement param, Map<VariableElement, TypeInfo> typeinfos_instance, Mode mode, boolean first_parameter, TypeMap type_map)
|
| private static boolean | printMethodCallArguments(PrintWriter writer, ExecutableElement method, Map<VariableElement, TypeInfo> typeinfos_instance, Mode mode, TypeMap type_map)
|
| private static void | printMethodWithMultiType(ProcessingEnvironment env, TypeMap type_map, PrintWriter writer, TypeElement interface_decl, ExecutableElement method, Map<VariableElement, TypeInfo> typeinfos_instance, Mode mode, boolean generate_error_checks, boolean context_specific)
|
| private static void | printParameterCaching(PrintWriter writer, TypeElement interface_decl, ExecutableElement method, Mode mode, boolean context_specific)
|
| private static void | printParameterCheck(PrintWriter writer, ExecutableElement method, String name, String type, String check_value, boolean can_be_null, NullTerminated null_terminated, boolean generate_error_checks)
|
| private static void | printParameterChecks(PrintWriter writer, ExecutableElement method, Map<VariableElement, TypeInfo> typeinfos, Mode mode, final boolean generate_error_checks)
|
| postfixPatterns | back to summary |
|---|---|
| private static final Map<String, Pattern> postfixPatterns | |
| SAVED_PARAMETER_POSTFIX | back to summary |
|---|---|
| private static final String SAVED_PARAMETER_POSTFIX | |
| JavaMethodsGenerator | back to summary |
|---|---|
| public JavaMethodsGenerator() | |
| generateMethodJava | back to summary |
|---|---|
| private static void generateMethodJava(ProcessingEnvironment env, TypeMap type_map, PrintWriter writer, TypeElement interface_decl, ExecutableElement method, boolean generate_error_checks, boolean context_specific) TODO : fix info multi-type methods print. | |
| generateMethodsJava | back to summary |
|---|---|
| public static void generateMethodsJava(ProcessingEnvironment env, TypeMap type_map, PrintWriter writer, TypeElement interface_decl, boolean generate_error_checks, boolean context_specific) | |
| generateParameterJava | back to summary |
|---|---|
| private static boolean generateParameterJava(PrintWriter writer, VariableElement param, TypeInfo type_info, boolean native_stub, final boolean printTypes, boolean first_parameter, Mode mode) | |
| generateParametersJava | back to summary |
|---|---|
| private static boolean generateParametersJava(PrintWriter writer, ExecutableElement method, Map<VariableElement, TypeInfo> typeinfos_instance, boolean native_stub, final boolean printTypes, Mode mode) | |
| getAutoTypeParameter | back to summary |
|---|---|
| private static VariableElement getAutoTypeParameter(ExecutableElement method, VariableElement target_parameter) | |
| getBufferElementSizeExponent | back to summary |
|---|---|
| private static int getBufferElementSizeExponent(Class<T> c) | |
| getDefaultResultValue | back to summary |
|---|---|
| private static String getDefaultResultValue(ExecutableElement method) | |
| getExtensionPostfix | back to summary |
|---|---|
| private static String getExtensionPostfix(TypeElement interface_decl) | |
| getPostfixPattern | back to summary |
|---|---|
| private static Pattern getPostfixPattern(String regex) | |
| getPostfixStrippedName | back to summary |
|---|---|
| private static String getPostfixStrippedName(TypeMap type_map, TypeElement interface_decl, ExecutableElement method) | |
| getResultType | back to summary |
|---|---|
| private static String getResultType(ExecutableElement method, boolean native_stub) | |
| hasAnyParameterAutoTypeAnnotation | back to summary |
|---|---|
| private static boolean hasAnyParameterAutoTypeAnnotation(ExecutableElement method, VariableElement target_param) | |
| printArrayParameterCheck | back to summary |
|---|---|
| private static void printArrayParameterCheck(PrintWriter writer, String name, String check_value, boolean can_be_null) | |
| printBufferObjectCheck | back to summary |
|---|---|
| private static void printBufferObjectCheck(PrintWriter writer, BufferKind kind, Mode mode, boolean context_specific) | |
| printBufferObjectChecks | back to summary |
|---|---|
| private static void printBufferObjectChecks(PrintWriter writer, ExecutableElement method, Mode mode, boolean context_specific) | |
| printJavaNativeStub | back to summary |
|---|---|
| private static void printJavaNativeStub(ProcessingEnvironment env, PrintWriter writer, ExecutableElement method, Mode mode, boolean generate_error_checks, boolean context_specific) | |
| printMethodCallArgument | back to summary |
|---|---|
| private static boolean printMethodCallArgument(PrintWriter writer, ExecutableElement method, VariableElement param, Map<VariableElement, TypeInfo> typeinfos_instance, Mode mode, boolean first_parameter, TypeMap type_map) | |
| printMethodCallArguments | back to summary |
|---|---|
| private static boolean printMethodCallArguments(PrintWriter writer, ExecutableElement method, Map<VariableElement, TypeInfo> typeinfos_instance, Mode mode, TypeMap type_map) | |
| printMethodWithMultiType | back to summary |
|---|---|
| private static void printMethodWithMultiType(ProcessingEnvironment env, TypeMap type_map, PrintWriter writer, TypeElement interface_decl, ExecutableElement method, Map<VariableElement, TypeInfo> typeinfos_instance, Mode mode, boolean generate_error_checks, boolean context_specific) | |
| printParameterCaching | back to summary |
|---|---|
| private static void printParameterCaching(PrintWriter writer, TypeElement interface_decl, ExecutableElement method, Mode mode, boolean context_specific) | |
| printParameterCheck | back to summary |
|---|---|
| private static void printParameterCheck(PrintWriter writer, ExecutableElement method, String name, String type, String check_value, boolean can_be_null, NullTerminated null_terminated, boolean generate_error_checks) | |
| printParameterChecks | back to summary |
|---|---|
| private static void printParameterChecks(PrintWriter writer, ExecutableElement method, Map<VariableElement, TypeInfo> typeinfos, Mode mode, final boolean generate_error_checks) | |