| CalledByNative.java |
Used by the JNI generator to create the necessary JNI bindings and expose this method to native
code.
<p>Any uncaught Java exceptions will crash the current process. This is generally the desired
behavior, since most exceptions indicate an unexpected error. If your java method expects an
exception, we recommend refactoring to catch exceptions and indicate errors with special return
values instead. If this is not possible, see {@link CalledByNativeUnchecked} instead.
|
972 |
- |
| NativeMethods.java |
|
424 |
- |
| UsedReflectively.java |
For internal use only.
<p>This is meant for errorprone to understand that our {@link CalledByNative} and similar
annotations mean that the element they are annotating is called/accessed using JNI/reflection.
Errorprone only cares that those annotations are themselves meta-annotated with an annotation
with the simple name "UsedReflectively" hence this annotation.
|
824 |
- |