From 4eaec5a18977e215b3d37a6293564d1911137cef Mon Sep 17 00:00:00 2001 From: Brian Quinlan Date: Wed, 14 Aug 2024 09:08:26 -0700 Subject: [PATCH] Correctly escape comments that may contain tags (#1426) --- pkgs/jnigen/CHANGELOG.md | 4 + pkgs/jnigen/README.md | 2 +- .../in_app_java/lib/android_utils.dart | 424 ++++++++--------- .../kotlin_plugin/lib/kotlin_bindings.dart | 6 +- .../lib/notifications.dart | 6 +- .../org/apache/pdfbox/pdmodel/PDDocument.dart | 124 ++--- .../pdfbox/pdmodel/PDDocumentInformation.dart | 52 +-- .../apache/pdfbox/text/PDFTextStripper.dart | 156 +++---- .../lib/src/bindings/dart_generator.dart | 8 +- pkgs/jnigen/pubspec.yaml | 2 +- .../fasterxml/jackson/core/JsonFactory.dart | 178 +++---- .../fasterxml/jackson/core/JsonParser.dart | 238 +++++----- .../com/fasterxml/jackson/core/JsonToken.dart | 24 +- .../test/kotlin_test/bindings/kotlin.dart | 16 +- .../bindings/simple_package.dart | 434 +++++++++--------- 15 files changed, 839 insertions(+), 835 deletions(-) diff --git a/pkgs/jnigen/CHANGELOG.md b/pkgs/jnigen/CHANGELOG.md index 6e3f9d7c6..2a17faf71 100644 --- a/pkgs/jnigen/CHANGELOG.md +++ b/pkgs/jnigen/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.10.1 + +- Add backticks to code references in doc comments. + ## 0.10.0 - Added support for Kotlin's top-level functions and fields. diff --git a/pkgs/jnigen/README.md b/pkgs/jnigen/README.md index b303604e3..e84d86602 100644 --- a/pkgs/jnigen/README.md +++ b/pkgs/jnigen/README.md @@ -83,7 +83,7 @@ class AndroidUtils extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, ffi.Pointer, int)>(); - /// from: static public void showToast(android.app.Activity mainActivity, java.lang.CharSequence text, int duration) + /// from: `static public void showToast(android.app.Activity mainActivity, java.lang.CharSequence text, int duration)` static void showToast( jni.JObject mainActivity, jni.JObject text, diff --git a/pkgs/jnigen/example/in_app_java/lib/android_utils.dart b/pkgs/jnigen/example/in_app_java/lib/android_utils.dart index fda9f6e8d..2008ac3f6 100644 --- a/pkgs/jnigen/example/in_app_java/lib/android_utils.dart +++ b/pkgs/jnigen/example/in_app_java/lib/android_utils.dart @@ -28,7 +28,7 @@ import 'dart:isolate' show ReceivePort; import 'package:jni/internal_helpers_for_jnigen.dart'; import 'package:jni/jni.dart' as jni; -/// from: androidx.emoji2.text.EmojiCompat$CodepointSequenceMatchResult +/// from: `androidx.emoji2.text.EmojiCompat$CodepointSequenceMatchResult` class EmojiCompat_CodepointSequenceMatchResult extends jni.JObject { @override late final jni.JObjType $type = @@ -75,7 +75,7 @@ final class $EmojiCompat_CodepointSequenceMatchResultType } } -/// from: androidx.emoji2.text.EmojiCompat$Config +/// from: `androidx.emoji2.text.EmojiCompat$Config` /// /// Configuration class for EmojiCompat. Changes to the values will be ignored after /// \#init(Config) is called. @@ -108,7 +108,7 @@ class EmojiCompat_Config extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: protected void (androidx.emoji2.text.EmojiCompat.MetadataRepoLoader metadataLoader) + /// from: `protected void (androidx.emoji2.text.EmojiCompat.MetadataRepoLoader metadataLoader)` /// The returned object must be released after use, by calling the [release] method. /// /// Default constructor. @@ -137,7 +137,7 @@ class EmojiCompat_Config extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public androidx.emoji2.text.EmojiCompat.Config registerInitCallback(androidx.emoji2.text.EmojiCompat.InitCallback initCallback) + /// from: `public androidx.emoji2.text.EmojiCompat.Config registerInitCallback(androidx.emoji2.text.EmojiCompat.InitCallback initCallback)` /// The returned object must be released after use, by calling the [release] method. /// /// Registers an initialization callback. @@ -169,7 +169,7 @@ class EmojiCompat_Config extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public androidx.emoji2.text.EmojiCompat.Config unregisterInitCallback(androidx.emoji2.text.EmojiCompat.InitCallback initCallback) + /// from: `public androidx.emoji2.text.EmojiCompat.Config unregisterInitCallback(androidx.emoji2.text.EmojiCompat.InitCallback initCallback)` /// The returned object must be released after use, by calling the [release] method. /// /// Unregisters a callback that was added before. @@ -198,7 +198,7 @@ class EmojiCompat_Config extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, int)>(); - /// from: public androidx.emoji2.text.EmojiCompat.Config setReplaceAll(boolean replaceAll) + /// from: `public androidx.emoji2.text.EmojiCompat.Config setReplaceAll(boolean replaceAll)` /// The returned object must be released after use, by calling the [release] method. /// /// Determines whether EmojiCompat should replace all the emojis it finds with the @@ -227,7 +227,7 @@ class EmojiCompat_Config extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, int)>(); - /// from: public androidx.emoji2.text.EmojiCompat.Config setUseEmojiAsDefaultStyle(boolean useEmojiAsDefaultStyle) + /// from: `public androidx.emoji2.text.EmojiCompat.Config setUseEmojiAsDefaultStyle(boolean useEmojiAsDefaultStyle)` /// The returned object must be released after use, by calling the [release] method. /// /// Determines whether EmojiCompat should use the emoji presentation style for emojis @@ -268,7 +268,7 @@ class EmojiCompat_Config extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, int, ffi.Pointer)>(); - /// from: public androidx.emoji2.text.EmojiCompat.Config setUseEmojiAsDefaultStyle(boolean useEmojiAsDefaultStyle, java.util.List emojiAsDefaultStyleExceptions) + /// from: `public androidx.emoji2.text.EmojiCompat.Config setUseEmojiAsDefaultStyle(boolean useEmojiAsDefaultStyle, java.util.List emojiAsDefaultStyleExceptions)` /// The returned object must be released after use, by calling the [release] method. /// /// @see \#setUseEmojiAsDefaultStyle(boolean) @@ -308,7 +308,7 @@ class EmojiCompat_Config extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, int)>(); - /// from: public androidx.emoji2.text.EmojiCompat.Config setEmojiSpanIndicatorEnabled(boolean emojiSpanIndicatorEnabled) + /// from: `public androidx.emoji2.text.EmojiCompat.Config setEmojiSpanIndicatorEnabled(boolean emojiSpanIndicatorEnabled)` /// The returned object must be released after use, by calling the [release] method. /// /// Determines whether a background will be drawn for the emojis that are found and @@ -339,7 +339,7 @@ class EmojiCompat_Config extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, int)>(); - /// from: public androidx.emoji2.text.EmojiCompat.Config setEmojiSpanIndicatorColor(int color) + /// from: `public androidx.emoji2.text.EmojiCompat.Config setEmojiSpanIndicatorColor(int color)` /// The returned object must be released after use, by calling the [release] method. /// /// Sets the color used as emoji span indicator. The default value is @@ -366,7 +366,7 @@ class EmojiCompat_Config extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, int)>(); - /// from: public androidx.emoji2.text.EmojiCompat.Config setMetadataLoadStrategy(int strategy) + /// from: `public androidx.emoji2.text.EmojiCompat.Config setMetadataLoadStrategy(int strategy)` /// The returned object must be released after use, by calling the [release] method. /// /// Determines the strategy to start loading the metadata. By default EmojiCompat @@ -425,7 +425,7 @@ class EmojiCompat_Config extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public androidx.emoji2.text.EmojiCompat.Config setSpanFactory(androidx.emoji2.text.EmojiCompat.SpanFactory factory) + /// from: `public androidx.emoji2.text.EmojiCompat.Config setSpanFactory(androidx.emoji2.text.EmojiCompat.SpanFactory factory)` /// The returned object must be released after use, by calling the [release] method. /// /// Set the span factory used to actually draw emoji replacements. @@ -455,7 +455,7 @@ class EmojiCompat_Config extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public androidx.emoji2.text.EmojiCompat.Config setGlyphChecker(androidx.emoji2.text.EmojiCompat.GlyphChecker glyphChecker) + /// from: `public androidx.emoji2.text.EmojiCompat.Config setGlyphChecker(androidx.emoji2.text.EmojiCompat.GlyphChecker glyphChecker)` /// The returned object must be released after use, by calling the [release] method. /// /// The interface that is used by EmojiCompat in order to check if a given emoji can be @@ -488,7 +488,7 @@ class EmojiCompat_Config extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: protected final androidx.emoji2.text.EmojiCompat.MetadataRepoLoader getMetadataRepoLoader() + /// from: `protected final androidx.emoji2.text.EmojiCompat.MetadataRepoLoader getMetadataRepoLoader()` /// The returned object must be released after use, by calling the [release] method. /// /// Returns the MetadataRepoLoader. @@ -525,7 +525,7 @@ final class $EmojiCompat_ConfigType extends jni.JObjType { } } -/// from: androidx.emoji2.text.EmojiCompat$DefaultSpanFactory +/// from: `androidx.emoji2.text.EmojiCompat$DefaultSpanFactory` /// /// @hide class EmojiCompat_DefaultSpanFactory extends jni.JObject { @@ -557,7 +557,7 @@ class EmojiCompat_DefaultSpanFactory extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public void () + /// from: `public void ()` /// The returned object must be released after use, by calling the [release] method. factory EmojiCompat_DefaultSpanFactory() { return EmojiCompat_DefaultSpanFactory.fromReference( @@ -581,7 +581,7 @@ class EmojiCompat_DefaultSpanFactory extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public androidx.emoji2.text.EmojiSpan createSpan(androidx.emoji2.text.TypefaceEmojiRasterizer rasterizer) + /// from: `public androidx.emoji2.text.EmojiSpan createSpan(androidx.emoji2.text.TypefaceEmojiRasterizer rasterizer)` /// The returned object must be released after use, by calling the [release] method. /// /// Returns a TypefaceEmojiSpan. @@ -625,7 +625,7 @@ final class $EmojiCompat_DefaultSpanFactoryType } } -/// from: androidx.emoji2.text.EmojiCompat$GlyphChecker +/// from: `androidx.emoji2.text.EmojiCompat$GlyphChecker` /// /// Interface to check if a given emoji exists on the system. class EmojiCompat_GlyphChecker extends jni.JObject { @@ -662,7 +662,7 @@ class EmojiCompat_GlyphChecker extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, int, int, int)>(); - /// from: public abstract boolean hasGlyph(java.lang.CharSequence charSequence, int start, int end, int sdkAdded) + /// from: `public abstract boolean hasGlyph(java.lang.CharSequence charSequence, int start, int end, int sdkAdded)` /// /// Return {@code true} if the emoji that is in {@code charSequence} between /// {@code start}(inclusive) and {@code end}(exclusive) can be rendered on the system @@ -738,7 +738,7 @@ final class $EmojiCompat_GlyphCheckerType } } -/// from: androidx.emoji2.text.EmojiCompat$InitCallback +/// from: `androidx.emoji2.text.EmojiCompat$InitCallback` /// /// Listener class for the initialization of the EmojiCompat. class EmojiCompat_InitCallback extends jni.JObject { @@ -770,7 +770,7 @@ class EmojiCompat_InitCallback extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public void () + /// from: `public void ()` /// The returned object must be released after use, by calling the [release] method. factory EmojiCompat_InitCallback() { return EmojiCompat_InitCallback.fromReference( @@ -795,7 +795,7 @@ class EmojiCompat_InitCallback extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public void onInitialized() + /// from: `public void onInitialized()` /// /// Called when EmojiCompat is initialized and the emoji data is loaded. When used on devices /// running API 18 or below, this function is always called. @@ -820,7 +820,7 @@ class EmojiCompat_InitCallback extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void onFailed(java.lang.Throwable throwable) + /// from: `public void onFailed(java.lang.Throwable throwable)` /// /// Called when an unrecoverable error occurs during EmojiCompat initialization. When used on /// devices running API 18 or below, this function is never called. @@ -860,7 +860,7 @@ final class $EmojiCompat_InitCallbackType } } -/// from: androidx.emoji2.text.EmojiCompat$LoadStrategy +/// from: `androidx.emoji2.text.EmojiCompat$LoadStrategy` class EmojiCompat_LoadStrategy extends jni.JObject { @override late final jni.JObjType $type = type; @@ -903,7 +903,7 @@ final class $EmojiCompat_LoadStrategyType } } -/// from: androidx.emoji2.text.EmojiCompat$MetadataRepoLoader +/// from: `androidx.emoji2.text.EmojiCompat$MetadataRepoLoader` /// /// Interface to load emoji metadata. class EmojiCompat_MetadataRepoLoader extends jni.JObject { @@ -935,7 +935,7 @@ class EmojiCompat_MetadataRepoLoader extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public abstract void load(androidx.emoji2.text.EmojiCompat.MetadataRepoLoaderCallback loaderCallback) + /// from: `public abstract void load(androidx.emoji2.text.EmojiCompat.MetadataRepoLoaderCallback loaderCallback)` /// /// Start loading the metadata. When the loading operation is finished MetadataRepoLoaderCallback\#onLoaded(MetadataRepo) or /// MetadataRepoLoaderCallback\#onFailed(Throwable) should be called. When used on @@ -978,7 +978,7 @@ final class $EmojiCompat_MetadataRepoLoaderType } } -/// from: androidx.emoji2.text.EmojiCompat$MetadataRepoLoaderCallback +/// from: `androidx.emoji2.text.EmojiCompat$MetadataRepoLoaderCallback` /// /// Callback to inform EmojiCompat about the state of the metadata load. Passed to /// MetadataRepoLoader during MetadataRepoLoader\#load(MetadataRepoLoaderCallback) call. @@ -1011,7 +1011,7 @@ class EmojiCompat_MetadataRepoLoaderCallback extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public void () + /// from: `public void ()` /// The returned object must be released after use, by calling the [release] method. factory EmojiCompat_MetadataRepoLoaderCallback() { return EmojiCompat_MetadataRepoLoaderCallback.fromReference( @@ -1035,7 +1035,7 @@ class EmojiCompat_MetadataRepoLoaderCallback extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public abstract void onLoaded(androidx.emoji2.text.MetadataRepo metadataRepo) + /// from: `public abstract void onLoaded(androidx.emoji2.text.MetadataRepo metadataRepo)` /// /// Called by MetadataRepoLoader when metadata is loaded successfully. ///@param metadataRepo MetadataRepo instance, cannot be {@code null} @@ -1063,7 +1063,7 @@ class EmojiCompat_MetadataRepoLoaderCallback extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public abstract void onFailed(java.lang.Throwable throwable) + /// from: `public abstract void onFailed(java.lang.Throwable throwable)` /// /// Called by MetadataRepoLoader if an error occurs while loading the metadata. ///@param throwable the exception that caused the failure, {@code nullable} @@ -1105,7 +1105,7 @@ final class $EmojiCompat_MetadataRepoLoaderCallbackType } } -/// from: androidx.emoji2.text.EmojiCompat$ReplaceStrategy +/// from: `androidx.emoji2.text.EmojiCompat$ReplaceStrategy` class EmojiCompat_ReplaceStrategy extends jni.JObject { @override late final jni.JObjType $type = type; @@ -1148,7 +1148,7 @@ final class $EmojiCompat_ReplaceStrategyType } } -/// from: androidx.emoji2.text.EmojiCompat$SpanFactory +/// from: `androidx.emoji2.text.EmojiCompat$SpanFactory` /// /// Factory class that creates the EmojiSpans. /// @@ -1185,7 +1185,7 @@ class EmojiCompat_SpanFactory extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public abstract androidx.emoji2.text.EmojiSpan createSpan(androidx.emoji2.text.TypefaceEmojiRasterizer rasterizer) + /// from: `public abstract androidx.emoji2.text.EmojiSpan createSpan(androidx.emoji2.text.TypefaceEmojiRasterizer rasterizer)` /// The returned object must be released after use, by calling the [release] method. /// /// Create EmojiSpan instance. @@ -1228,7 +1228,7 @@ final class $EmojiCompat_SpanFactoryType } } -/// from: androidx.emoji2.text.EmojiCompat +/// from: `androidx.emoji2.text.EmojiCompat` /// /// Main class to keep Android devices up to date with the newest emojis by adding EmojiSpans /// to a given CharSequence. @@ -1294,7 +1294,7 @@ class EmojiCompat extends jni.JObject { r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EDITOR_INFO_METAVERSION_KEY + /// from: `static public final java.lang.String EDITOR_INFO_METAVERSION_KEY` /// The returned object must be released after use, by calling the [release] method. /// /// Key in EditorInfo\#extras that represents the emoji metadata version used by the @@ -1311,7 +1311,7 @@ class EmojiCompat extends jni.JObject { r'Ljava/lang/String;', ); - /// from: static public final java.lang.String EDITOR_INFO_REPLACE_ALL_KEY + /// from: `static public final java.lang.String EDITOR_INFO_REPLACE_ALL_KEY` /// The returned object must be released after use, by calling the [release] method. /// /// Key in EditorInfo\#extras that represents EmojiCompat.Config\#setReplaceAll(boolean) configuration parameter. The key is added only if @@ -1319,62 +1319,62 @@ class EmojiCompat extends jni.JObject { static jni.JString get EDITOR_INFO_REPLACE_ALL_KEY => _id_EDITOR_INFO_REPLACE_ALL_KEY.get(_class, const jni.JStringType()); - /// from: static public final int LOAD_STATE_DEFAULT + /// from: `static public final int LOAD_STATE_DEFAULT` /// /// EmojiCompat instance is constructed, however the initialization did not start yet. ///@see \#getLoadState() static const LOAD_STATE_DEFAULT = 3; - /// from: static public final int LOAD_STATE_LOADING + /// from: `static public final int LOAD_STATE_LOADING` /// /// EmojiCompat is initializing. ///@see \#getLoadState() static const LOAD_STATE_LOADING = 0; - /// from: static public final int LOAD_STATE_SUCCEEDED + /// from: `static public final int LOAD_STATE_SUCCEEDED` /// /// EmojiCompat successfully initialized. ///@see \#getLoadState() static const LOAD_STATE_SUCCEEDED = 1; - /// from: static public final int LOAD_STATE_FAILED + /// from: `static public final int LOAD_STATE_FAILED` /// /// An unrecoverable error occurred during initialization of EmojiCompat. Calls to functions /// such as \#process(CharSequence) will fail. ///@see \#getLoadState() static const LOAD_STATE_FAILED = 2; - /// from: static public final int REPLACE_STRATEGY_DEFAULT + /// from: `static public final int REPLACE_STRATEGY_DEFAULT` /// /// Replace strategy that uses the value given in EmojiCompat.Config. ///@see \#process(CharSequence, int, int, int, int) static const REPLACE_STRATEGY_DEFAULT = 0; - /// from: static public final int REPLACE_STRATEGY_ALL + /// from: `static public final int REPLACE_STRATEGY_ALL` /// /// Replace strategy to add EmojiSpans for all emoji that were found. ///@see \#process(CharSequence, int, int, int, int) static const REPLACE_STRATEGY_ALL = 1; - /// from: static public final int REPLACE_STRATEGY_NON_EXISTENT + /// from: `static public final int REPLACE_STRATEGY_NON_EXISTENT` /// /// Replace strategy to add EmojiSpans only for emoji that do not exist in the system. static const REPLACE_STRATEGY_NON_EXISTENT = 2; - /// from: static public final int LOAD_STRATEGY_DEFAULT + /// from: `static public final int LOAD_STRATEGY_DEFAULT` /// /// EmojiCompat will start loading metadata when \#init(Config) is called. ///@see Config\#setMetadataLoadStrategy(int) static const LOAD_STRATEGY_DEFAULT = 0; - /// from: static public final int LOAD_STRATEGY_MANUAL + /// from: `static public final int LOAD_STRATEGY_MANUAL` /// /// EmojiCompat will wait for \#load() to be called by developer in order to /// start loading metadata. ///@see Config\#setMetadataLoadStrategy(int) static const LOAD_STRATEGY_MANUAL = 1; - /// from: static public final int EMOJI_UNSUPPORTED + /// from: `static public final int EMOJI_UNSUPPORTED` /// /// Result of \#getEmojiMatch(CharSequence, int) that means no part of this codepoint /// sequence will ever generate an EmojiSpan at the requested metadata level. @@ -1405,7 +1405,7 @@ class EmojiCompat extends jni.JObject { /// this application. static const EMOJI_UNSUPPORTED = 0; - /// from: static public final int EMOJI_SUPPORTED + /// from: `static public final int EMOJI_SUPPORTED` /// /// Result of \#getEmojiMatch(CharSequence, int) that means this codepoint can be drawn /// by an EmojiSpan at this metadata level. @@ -1431,7 +1431,7 @@ class EmojiCompat extends jni.JObject { /// returns false for this emoji. static const EMOJI_SUPPORTED = 1; - /// from: static public final int EMOJI_FALLBACK + /// from: `static public final int EMOJI_FALLBACK` /// /// Result of \#getEmojiMatch(CharSequence, int) that means the full codepoint sequence /// is not known to emojicompat, but at least one subsequence is an emoji that is known at @@ -1499,7 +1499,7 @@ class EmojiCompat extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: static public androidx.emoji2.text.EmojiCompat init(android.content.Context context) + /// from: `static public androidx.emoji2.text.EmojiCompat init(android.content.Context context)` /// The returned object must be released after use, by calling the [release] method. /// /// Initialize the singleton instance with the default system-provided configuration. @@ -1544,7 +1544,7 @@ class EmojiCompat extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, ffi.Pointer)>(); - /// from: static public androidx.emoji2.text.EmojiCompat init(android.content.Context context, androidx.emoji2.text.DefaultEmojiCompatConfig.DefaultEmojiCompatConfigFactory defaultFactory) + /// from: `static public androidx.emoji2.text.EmojiCompat init(android.content.Context context, androidx.emoji2.text.DefaultEmojiCompatConfig.DefaultEmojiCompatConfigFactory defaultFactory)` /// The returned object must be released after use, by calling the [release] method. /// /// @hide @@ -1573,7 +1573,7 @@ class EmojiCompat extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: static public androidx.emoji2.text.EmojiCompat init(androidx.emoji2.text.EmojiCompat.Config config) + /// from: `static public androidx.emoji2.text.EmojiCompat init(androidx.emoji2.text.EmojiCompat.Config config)` /// The returned object must be released after use, by calling the [release] method. /// /// Initialize the singleton instance with a configuration. When used on devices running API 18 @@ -1607,7 +1607,7 @@ class EmojiCompat extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: static public boolean isConfigured() + /// from: `static public boolean isConfigured()` /// /// Return true if EmojiCompat has been configured by a successful call to /// EmojiCompat\#init. @@ -1640,7 +1640,7 @@ class EmojiCompat extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: static public androidx.emoji2.text.EmojiCompat reset(androidx.emoji2.text.EmojiCompat.Config config) + /// from: `static public androidx.emoji2.text.EmojiCompat reset(androidx.emoji2.text.EmojiCompat.Config config)` /// The returned object must be released after use, by calling the [release] method. /// /// Used by the tests to reset EmojiCompat with a new configuration. Every time it is called a @@ -1670,7 +1670,7 @@ class EmojiCompat extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: static public androidx.emoji2.text.EmojiCompat reset(androidx.emoji2.text.EmojiCompat emojiCompat) + /// from: `static public androidx.emoji2.text.EmojiCompat reset(androidx.emoji2.text.EmojiCompat emojiCompat)` /// The returned object must be released after use, by calling the [release] method. /// /// Used by the tests to reset EmojiCompat with a new singleton instance. @@ -1698,7 +1698,7 @@ class EmojiCompat extends jni.JObject { jni.JThrowablePtr Function( ffi.Pointer, jni.JMethodIDPtr, int)>(); - /// from: static public void skipDefaultConfigurationLookup(boolean shouldSkip) + /// from: `static public void skipDefaultConfigurationLookup(boolean shouldSkip)` /// /// Reset default configuration lookup flag, for tests. ///@hide @@ -1729,7 +1729,7 @@ class EmojiCompat extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: static public androidx.emoji2.text.EmojiCompat get() + /// from: `static public androidx.emoji2.text.EmojiCompat get()` /// The returned object must be released after use, by calling the [release] method. /// /// Return singleton EmojiCompat instance. Should be called after @@ -1758,7 +1758,7 @@ class EmojiCompat extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public void load() + /// from: `public void load()` /// /// When Config\#setMetadataLoadStrategy(int) is set to \#LOAD_STRATEGY_MANUAL, /// this function starts loading the metadata. Calling the function when @@ -1793,7 +1793,7 @@ class EmojiCompat extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void registerInitCallback(androidx.emoji2.text.EmojiCompat.InitCallback initCallback) + /// from: `public void registerInitCallback(androidx.emoji2.text.EmojiCompat.InitCallback initCallback)` /// /// Registers an initialization callback. If the initialization is already completed by the time /// the listener is added, the callback functions are called immediately. Callbacks are called on @@ -1830,7 +1830,7 @@ class EmojiCompat extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void unregisterInitCallback(androidx.emoji2.text.EmojiCompat.InitCallback initCallback) + /// from: `public void unregisterInitCallback(androidx.emoji2.text.EmojiCompat.InitCallback initCallback)` /// /// Unregisters a callback that was added before. ///@param initCallback the callback to be removed, cannot be {@code null} @@ -1861,7 +1861,7 @@ class EmojiCompat extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public int getLoadState() + /// from: `public int getLoadState()` /// /// Returns loading state of the EmojiCompat instance. When used on devices running API 18 or /// below always returns \#LOAD_STATE_SUCCEEDED. @@ -1890,7 +1890,7 @@ class EmojiCompat extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public boolean isEmojiSpanIndicatorEnabled() + /// from: `public boolean isEmojiSpanIndicatorEnabled()` /// /// @return whether a background should be drawn for the emoji for debugging ///@hide @@ -1917,7 +1917,7 @@ class EmojiCompat extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public int getEmojiSpanIndicatorColor() + /// from: `public int getEmojiSpanIndicatorColor()` /// /// @return color of background drawn if EmojiCompat\#isEmojiSpanIndicatorEnabled is true ///@hide @@ -1943,7 +1943,7 @@ class EmojiCompat extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, int)>(); - /// from: public int getEmojiStart(java.lang.CharSequence charSequence, int offset) + /// from: `public int getEmojiStart(java.lang.CharSequence charSequence, int offset)` /// /// Together with \#getEmojiEnd(CharSequence, int), if the character at {@code offset} is /// part of an emoji, returns the index range of that emoji, start index inclusively/end index @@ -1982,7 +1982,7 @@ class EmojiCompat extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, int)>(); - /// from: public int getEmojiEnd(java.lang.CharSequence charSequence, int offset) + /// from: `public int getEmojiEnd(java.lang.CharSequence charSequence, int offset)` /// /// see \#getEmojiStart(CharSequence, int). int getEmojiEnd( @@ -2014,7 +2014,7 @@ class EmojiCompat extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, int, ffi.Pointer)>(); - /// from: static public boolean handleOnKeyDown(android.text.Editable editable, int keyCode, android.view.KeyEvent event) + /// from: `static public boolean handleOnKeyDown(android.text.Editable editable, int keyCode, android.view.KeyEvent event)` /// /// Handles onKeyDown commands from a KeyListener and if {@code keyCode} is one of /// KeyEvent\#KEYCODE_DEL or KeyEvent\#KEYCODE_FORWARD_DEL it tries to delete an @@ -2068,7 +2068,7 @@ class EmojiCompat extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, ffi.Pointer, int, int, int)>(); - /// from: static public boolean handleDeleteSurroundingText(android.view.inputmethod.InputConnection inputConnection, android.text.Editable editable, int beforeLength, int afterLength, boolean inCodePoints) + /// from: `static public boolean handleDeleteSurroundingText(android.view.inputmethod.InputConnection inputConnection, android.text.Editable editable, int beforeLength, int afterLength, boolean inCodePoints)` /// /// Handles deleteSurroundingText commands from InputConnection and tries to delete an /// EmojiSpan from an Editable. Returns {@code true} if an EmojiSpan is @@ -2118,7 +2118,7 @@ class EmojiCompat extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public boolean hasEmojiGlyph(java.lang.CharSequence sequence) + /// from: `public boolean hasEmojiGlyph(java.lang.CharSequence sequence)` /// /// Returns {@code true} if EmojiCompat is capable of rendering an emoji. When used on devices /// running API 18 or below, always returns {@code false}. @@ -2150,7 +2150,7 @@ class EmojiCompat extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, int)>(); - /// from: public boolean hasEmojiGlyph(java.lang.CharSequence sequence, int metadataVersion) + /// from: `public boolean hasEmojiGlyph(java.lang.CharSequence sequence, int metadataVersion)` /// /// Returns {@code true} if EmojiCompat is capable of rendering an emoji at the given metadata /// version. When used on devices running API 18 or below, always returns {@code false}. @@ -2188,7 +2188,7 @@ class EmojiCompat extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, int)>(); - /// from: public int getEmojiMatch(java.lang.CharSequence sequence, int metadataVersion) + /// from: `public int getEmojiMatch(java.lang.CharSequence sequence, int metadataVersion)` /// /// Attempts to lookup the entire sequence at the specified metadata version and returns what /// the runtime match behavior would be. @@ -2229,7 +2229,7 @@ class EmojiCompat extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public java.lang.CharSequence process(java.lang.CharSequence charSequence) + /// from: `public java.lang.CharSequence process(java.lang.CharSequence charSequence)` /// The returned object must be released after use, by calling the [release] method. /// /// Checks a given CharSequence for emojis, and adds EmojiSpans if any emojis are found. When @@ -2262,7 +2262,7 @@ class EmojiCompat extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, int, int)>(); - /// from: public java.lang.CharSequence process(java.lang.CharSequence charSequence, int start, int end) + /// from: `public java.lang.CharSequence process(java.lang.CharSequence charSequence, int start, int end)` /// The returned object must be released after use, by calling the [release] method. /// /// Checks a given CharSequence for emojis, and adds EmojiSpans if any emojis are found. @@ -2319,7 +2319,7 @@ class EmojiCompat extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, int, int, int)>(); - /// from: public java.lang.CharSequence process(java.lang.CharSequence charSequence, int start, int end, int maxEmojiCount) + /// from: `public java.lang.CharSequence process(java.lang.CharSequence charSequence, int start, int end, int maxEmojiCount)` /// The returned object must be released after use, by calling the [release] method. /// /// Checks a given CharSequence for emojis, and adds EmojiSpans if any emojis are found. @@ -2381,7 +2381,7 @@ class EmojiCompat extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, int, int, int, int)>(); - /// from: public java.lang.CharSequence process(java.lang.CharSequence charSequence, int start, int end, int maxEmojiCount, int replaceStrategy) + /// from: `public java.lang.CharSequence process(java.lang.CharSequence charSequence, int start, int end, int maxEmojiCount, int replaceStrategy)` /// The returned object must be released after use, by calling the [release] method. /// /// Checks a given CharSequence for emojis, and adds EmojiSpans if any emojis are found. @@ -2449,7 +2449,7 @@ class EmojiCompat extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public java.lang.String getAssetSignature() + /// from: `public java.lang.String getAssetSignature()` /// The returned object must be released after use, by calling the [release] method. /// /// Returns signature for the currently loaded emoji assets. The signature is a SHA that is @@ -2478,7 +2478,7 @@ class EmojiCompat extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void updateEditorInfo(android.view.inputmethod.EditorInfo outAttrs) + /// from: `public void updateEditorInfo(android.view.inputmethod.EditorInfo outAttrs)` /// /// Updates the EditorInfo attributes in order to communicate information to Keyboards. When /// used on devices running API 18 or below, does not update EditorInfo attributes. @@ -2531,7 +2531,7 @@ final class $EmojiCompatType extends jni.JObjType { } } -/// from: androidx.emoji2.text.DefaultEmojiCompatConfig$DefaultEmojiCompatConfigFactory +/// from: `androidx.emoji2.text.DefaultEmojiCompatConfig$DefaultEmojiCompatConfigFactory` /// /// Actual factory for generating default emoji configs, does service locator lookup internally. ///@see DefaultEmojiCompatConfig\#create @@ -2568,7 +2568,7 @@ class DefaultEmojiCompatConfig_DefaultEmojiCompatConfigFactory jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void (androidx.emoji2.text.DefaultEmojiCompatConfig.DefaultEmojiCompatConfigHelper helper) + /// from: `public void (androidx.emoji2.text.DefaultEmojiCompatConfig.DefaultEmojiCompatConfigHelper helper)` /// The returned object must be released after use, by calling the [release] method. /// /// @hide @@ -2597,7 +2597,7 @@ class DefaultEmojiCompatConfig_DefaultEmojiCompatConfigFactory jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public androidx.emoji2.text.EmojiCompat.Config create(android.content.Context context) + /// from: `public androidx.emoji2.text.EmojiCompat.Config create(android.content.Context context)` /// The returned object must be released after use, by calling the [release] method. /// /// @see DefaultEmojiCompatConfig\#create @@ -2644,7 +2644,7 @@ final class $DefaultEmojiCompatConfig_DefaultEmojiCompatConfigFactoryType } } -/// from: androidx.emoji2.text.DefaultEmojiCompatConfig$DefaultEmojiCompatConfigHelper +/// from: `androidx.emoji2.text.DefaultEmojiCompatConfig$DefaultEmojiCompatConfigHelper` /// /// Helper to lookup signatures in package manager. ///@hide @@ -2681,7 +2681,7 @@ class DefaultEmojiCompatConfig_DefaultEmojiCompatConfigHelper jni.JMethodIDPtr, )>(); - /// from: public void () + /// from: `public void ()` /// The returned object must be released after use, by calling the [release] method. factory DefaultEmojiCompatConfig_DefaultEmojiCompatConfigHelper() { return DefaultEmojiCompatConfig_DefaultEmojiCompatConfigHelper @@ -2709,7 +2709,7 @@ class DefaultEmojiCompatConfig_DefaultEmojiCompatConfigHelper jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, ffi.Pointer)>(); - /// from: public android.content.pm.Signature[] getSigningSignatures(android.content.pm.PackageManager packageManager, java.lang.String providerPackage) + /// from: `public android.content.pm.Signature[] getSigningSignatures(android.content.pm.PackageManager packageManager, java.lang.String providerPackage)` /// The returned object must be released after use, by calling the [release] method. /// /// Get the signing signatures for a package in package manager. @@ -2745,7 +2745,7 @@ class DefaultEmojiCompatConfig_DefaultEmojiCompatConfigHelper jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, ffi.Pointer, int)>(); - /// from: public java.util.List queryIntentContentProviders(android.content.pm.PackageManager packageManager, android.content.Intent intent, int flags) + /// from: `public java.util.List queryIntentContentProviders(android.content.pm.PackageManager packageManager, android.content.Intent intent, int flags)` /// The returned object must be released after use, by calling the [release] method. /// /// Get the content provider by intent. @@ -2779,7 +2779,7 @@ class DefaultEmojiCompatConfig_DefaultEmojiCompatConfigHelper jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public android.content.pm.ProviderInfo getProviderInfo(android.content.pm.ResolveInfo resolveInfo) + /// from: `public android.content.pm.ProviderInfo getProviderInfo(android.content.pm.ResolveInfo resolveInfo)` /// The returned object must be released after use, by calling the [release] method. /// /// Get a ProviderInfo, if present, from a ResolveInfo @@ -2829,7 +2829,7 @@ final class $DefaultEmojiCompatConfig_DefaultEmojiCompatConfigHelperType } } -/// from: androidx.emoji2.text.DefaultEmojiCompatConfig$DefaultEmojiCompatConfigHelper_API19 +/// from: `androidx.emoji2.text.DefaultEmojiCompatConfig$DefaultEmojiCompatConfigHelper_API19` /// /// Actually do lookups > API 19 ///@hide @@ -2866,7 +2866,7 @@ class DefaultEmojiCompatConfig_DefaultEmojiCompatConfigHelper_API19 jni.JMethodIDPtr, )>(); - /// from: public void () + /// from: `public void ()` /// The returned object must be released after use, by calling the [release] method. factory DefaultEmojiCompatConfig_DefaultEmojiCompatConfigHelper_API19() { return DefaultEmojiCompatConfig_DefaultEmojiCompatConfigHelper_API19 @@ -2895,7 +2895,7 @@ class DefaultEmojiCompatConfig_DefaultEmojiCompatConfigHelper_API19 jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, ffi.Pointer, int)>(); - /// from: public java.util.List queryIntentContentProviders(android.content.pm.PackageManager packageManager, android.content.Intent intent, int flags) + /// from: `public java.util.List queryIntentContentProviders(android.content.pm.PackageManager packageManager, android.content.Intent intent, int flags)` /// The returned object must be released after use, by calling the [release] method. jni.JList queryIntentContentProviders( jni.JObject packageManager, @@ -2927,7 +2927,7 @@ class DefaultEmojiCompatConfig_DefaultEmojiCompatConfigHelper_API19 jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public android.content.pm.ProviderInfo getProviderInfo(android.content.pm.ResolveInfo resolveInfo) + /// from: `public android.content.pm.ProviderInfo getProviderInfo(android.content.pm.ResolveInfo resolveInfo)` /// The returned object must be released after use, by calling the [release] method. jni.JObject getProviderInfo( jni.JObject resolveInfo, @@ -2976,7 +2976,7 @@ final class $DefaultEmojiCompatConfig_DefaultEmojiCompatConfigHelper_API19Type } } -/// from: androidx.emoji2.text.DefaultEmojiCompatConfig$DefaultEmojiCompatConfigHelper_API28 +/// from: `androidx.emoji2.text.DefaultEmojiCompatConfig$DefaultEmojiCompatConfigHelper_API28` /// /// Helper to lookup signatures in package manager > API 28 ///@hide @@ -3013,7 +3013,7 @@ class DefaultEmojiCompatConfig_DefaultEmojiCompatConfigHelper_API28 jni.JMethodIDPtr, )>(); - /// from: public void () + /// from: `public void ()` /// The returned object must be released after use, by calling the [release] method. factory DefaultEmojiCompatConfig_DefaultEmojiCompatConfigHelper_API28() { return DefaultEmojiCompatConfig_DefaultEmojiCompatConfigHelper_API28 @@ -3041,7 +3041,7 @@ class DefaultEmojiCompatConfig_DefaultEmojiCompatConfigHelper_API28 jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, ffi.Pointer)>(); - /// from: public android.content.pm.Signature[] getSigningSignatures(android.content.pm.PackageManager packageManager, java.lang.String providerPackage) + /// from: `public android.content.pm.Signature[] getSigningSignatures(android.content.pm.PackageManager packageManager, java.lang.String providerPackage)` /// The returned object must be released after use, by calling the [release] method. jni.JArray getSigningSignatures1( jni.JObject packageManager, @@ -3092,7 +3092,7 @@ final class $DefaultEmojiCompatConfig_DefaultEmojiCompatConfigHelper_API28Type } } -/// from: androidx.emoji2.text.DefaultEmojiCompatConfig +/// from: `androidx.emoji2.text.DefaultEmojiCompatConfig` /// /// The default config will use downloadable fonts to fetch the emoji compat font file. /// @@ -3157,7 +3157,7 @@ class DefaultEmojiCompatConfig extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: static public androidx.emoji2.text.FontRequestEmojiCompatConfig create(android.content.Context context) + /// from: `static public androidx.emoji2.text.FontRequestEmojiCompatConfig create(android.content.Context context)` /// The returned object must be released after use, by calling the [release] method. /// /// Get the default emoji compat config for this device. @@ -3205,7 +3205,7 @@ final class $DefaultEmojiCompatConfigType } } -/// from: android.os.Build$Partition +/// from: `android.os.Build$Partition` class Build_Partition extends jni.JObject { @override late final jni.JObjType $type = type; @@ -3223,7 +3223,7 @@ class Build_Partition extends jni.JObject { r'Ljava/lang/String;', ); - /// from: static public final java.lang.String PARTITION_NAME_SYSTEM + /// from: `static public final java.lang.String PARTITION_NAME_SYSTEM` /// The returned object must be released after use, by calling the [release] method. static jni.JString get PARTITION_NAME_SYSTEM => _id_PARTITION_NAME_SYSTEM.get(_class, const jni.JStringType()); @@ -3245,7 +3245,7 @@ class Build_Partition extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public java.lang.String getName() + /// from: `public java.lang.String getName()` /// The returned object must be released after use, by calling the [release] method. jni.JString getName() { return _getName(reference.pointer, _id_getName as jni.JMethodIDPtr) @@ -3269,7 +3269,7 @@ class Build_Partition extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public java.lang.String getFingerprint() + /// from: `public java.lang.String getFingerprint()` /// The returned object must be released after use, by calling the [release] method. jni.JString getFingerprint() { return _getFingerprint( @@ -3294,7 +3294,7 @@ class Build_Partition extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public long getBuildTimeMillis() + /// from: `public long getBuildTimeMillis()` int getBuildTimeMillis() { return _getBuildTimeMillis( reference.pointer, _id_getBuildTimeMillis as jni.JMethodIDPtr) @@ -3317,7 +3317,7 @@ class Build_Partition extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public boolean equals(java.lang.Object object) + /// from: `public boolean equals(java.lang.Object object)` bool equals( jni.JObject object, ) { @@ -3343,7 +3343,7 @@ class Build_Partition extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public int hashCode() + /// from: `public int hashCode()` int hashCode1() { return _hashCode1(reference.pointer, _id_hashCode1 as jni.JMethodIDPtr) .integer; @@ -3376,7 +3376,7 @@ final class $Build_PartitionType extends jni.JObjType { } } -/// from: android.os.Build$VERSION +/// from: `android.os.Build$VERSION` class Build_VERSION extends jni.JObject { @override late final jni.JObjType $type = type; @@ -3394,7 +3394,7 @@ class Build_VERSION extends jni.JObject { r'Ljava/lang/String;', ); - /// from: static public final java.lang.String BASE_OS + /// from: `static public final java.lang.String BASE_OS` /// The returned object must be released after use, by calling the [release] method. static jni.JString get BASE_OS => _id_BASE_OS.get(_class, const jni.JStringType()); @@ -3404,7 +3404,7 @@ class Build_VERSION extends jni.JObject { r'Ljava/lang/String;', ); - /// from: static public final java.lang.String CODENAME + /// from: `static public final java.lang.String CODENAME` /// The returned object must be released after use, by calling the [release] method. static jni.JString get CODENAME => _id_CODENAME.get(_class, const jni.JStringType()); @@ -3414,7 +3414,7 @@ class Build_VERSION extends jni.JObject { r'Ljava/lang/String;', ); - /// from: static public final java.lang.String INCREMENTAL + /// from: `static public final java.lang.String INCREMENTAL` /// The returned object must be released after use, by calling the [release] method. static jni.JString get INCREMENTAL => _id_INCREMENTAL.get(_class, const jni.JStringType()); @@ -3424,7 +3424,7 @@ class Build_VERSION extends jni.JObject { r'I', ); - /// from: static public final int MEDIA_PERFORMANCE_CLASS + /// from: `static public final int MEDIA_PERFORMANCE_CLASS` static int get MEDIA_PERFORMANCE_CLASS => _id_MEDIA_PERFORMANCE_CLASS.get(_class, const jni.jintType()); @@ -3433,7 +3433,7 @@ class Build_VERSION extends jni.JObject { r'I', ); - /// from: static public final int PREVIEW_SDK_INT + /// from: `static public final int PREVIEW_SDK_INT` static int get PREVIEW_SDK_INT => _id_PREVIEW_SDK_INT.get(_class, const jni.jintType()); @@ -3442,7 +3442,7 @@ class Build_VERSION extends jni.JObject { r'Ljava/lang/String;', ); - /// from: static public final java.lang.String RELEASE + /// from: `static public final java.lang.String RELEASE` /// The returned object must be released after use, by calling the [release] method. static jni.JString get RELEASE => _id_RELEASE.get(_class, const jni.JStringType()); @@ -3452,7 +3452,7 @@ class Build_VERSION extends jni.JObject { r'Ljava/lang/String;', ); - /// from: static public final java.lang.String RELEASE_OR_CODENAME + /// from: `static public final java.lang.String RELEASE_OR_CODENAME` /// The returned object must be released after use, by calling the [release] method. static jni.JString get RELEASE_OR_CODENAME => _id_RELEASE_OR_CODENAME.get(_class, const jni.JStringType()); @@ -3462,7 +3462,7 @@ class Build_VERSION extends jni.JObject { r'Ljava/lang/String;', ); - /// from: static public final java.lang.String RELEASE_OR_PREVIEW_DISPLAY + /// from: `static public final java.lang.String RELEASE_OR_PREVIEW_DISPLAY` /// The returned object must be released after use, by calling the [release] method. static jni.JString get RELEASE_OR_PREVIEW_DISPLAY => _id_RELEASE_OR_PREVIEW_DISPLAY.get(_class, const jni.JStringType()); @@ -3472,7 +3472,7 @@ class Build_VERSION extends jni.JObject { r'Ljava/lang/String;', ); - /// from: static public final java.lang.String SDK + /// from: `static public final java.lang.String SDK` /// The returned object must be released after use, by calling the [release] method. static jni.JString get SDK => _id_SDK.get(_class, const jni.JStringType()); @@ -3481,7 +3481,7 @@ class Build_VERSION extends jni.JObject { r'I', ); - /// from: static public final int SDK_INT + /// from: `static public final int SDK_INT` static int get SDK_INT => _id_SDK_INT.get(_class, const jni.jintType()); static final _id_SECURITY_PATCH = _class.staticFieldId( @@ -3489,7 +3489,7 @@ class Build_VERSION extends jni.JObject { r'Ljava/lang/String;', ); - /// from: static public final java.lang.String SECURITY_PATCH + /// from: `static public final java.lang.String SECURITY_PATCH` /// The returned object must be released after use, by calling the [release] method. static jni.JString get SECURITY_PATCH => _id_SECURITY_PATCH.get(_class, const jni.JStringType()); @@ -3510,7 +3510,7 @@ class Build_VERSION extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public void () + /// from: `public void ()` /// The returned object must be released after use, by calling the [release] method. factory Build_VERSION() { return Build_VERSION.fromReference( @@ -3545,7 +3545,7 @@ final class $Build_VERSIONType extends jni.JObjType { } } -/// from: android.os.Build$VERSION_CODES +/// from: `android.os.Build$VERSION_CODES` class Build_VERSION_CODES extends jni.JObject { @override late final jni.JObjType $type = type; @@ -3559,106 +3559,106 @@ class Build_VERSION_CODES extends jni.JObject { /// The type which includes information such as the signature of this class. static const type = $Build_VERSION_CODESType(); - /// from: static public final int BASE + /// from: `static public final int BASE` static const BASE = 1; - /// from: static public final int BASE_1_1 + /// from: `static public final int BASE_1_1` static const BASE_1_1 = 2; - /// from: static public final int CUPCAKE + /// from: `static public final int CUPCAKE` static const CUPCAKE = 3; - /// from: static public final int CUR_DEVELOPMENT + /// from: `static public final int CUR_DEVELOPMENT` static const CUR_DEVELOPMENT = 10000; - /// from: static public final int DONUT + /// from: `static public final int DONUT` static const DONUT = 4; - /// from: static public final int ECLAIR + /// from: `static public final int ECLAIR` static const ECLAIR = 5; - /// from: static public final int ECLAIR_0_1 + /// from: `static public final int ECLAIR_0_1` static const ECLAIR_0_1 = 6; - /// from: static public final int ECLAIR_MR1 + /// from: `static public final int ECLAIR_MR1` static const ECLAIR_MR1 = 7; - /// from: static public final int FROYO + /// from: `static public final int FROYO` static const FROYO = 8; - /// from: static public final int GINGERBREAD + /// from: `static public final int GINGERBREAD` static const GINGERBREAD = 9; - /// from: static public final int GINGERBREAD_MR1 + /// from: `static public final int GINGERBREAD_MR1` static const GINGERBREAD_MR1 = 10; - /// from: static public final int HONEYCOMB + /// from: `static public final int HONEYCOMB` static const HONEYCOMB = 11; - /// from: static public final int HONEYCOMB_MR1 + /// from: `static public final int HONEYCOMB_MR1` static const HONEYCOMB_MR1 = 12; - /// from: static public final int HONEYCOMB_MR2 + /// from: `static public final int HONEYCOMB_MR2` static const HONEYCOMB_MR2 = 13; - /// from: static public final int ICE_CREAM_SANDWICH + /// from: `static public final int ICE_CREAM_SANDWICH` static const ICE_CREAM_SANDWICH = 14; - /// from: static public final int ICE_CREAM_SANDWICH_MR1 + /// from: `static public final int ICE_CREAM_SANDWICH_MR1` static const ICE_CREAM_SANDWICH_MR1 = 15; - /// from: static public final int JELLY_BEAN + /// from: `static public final int JELLY_BEAN` static const JELLY_BEAN = 16; - /// from: static public final int JELLY_BEAN_MR1 + /// from: `static public final int JELLY_BEAN_MR1` static const JELLY_BEAN_MR1 = 17; - /// from: static public final int JELLY_BEAN_MR2 + /// from: `static public final int JELLY_BEAN_MR2` static const JELLY_BEAN_MR2 = 18; - /// from: static public final int KITKAT + /// from: `static public final int KITKAT` static const KITKAT = 19; - /// from: static public final int KITKAT_WATCH + /// from: `static public final int KITKAT_WATCH` static const KITKAT_WATCH = 20; - /// from: static public final int LOLLIPOP + /// from: `static public final int LOLLIPOP` static const LOLLIPOP = 21; - /// from: static public final int LOLLIPOP_MR1 + /// from: `static public final int LOLLIPOP_MR1` static const LOLLIPOP_MR1 = 22; - /// from: static public final int M + /// from: `static public final int M` static const M = 23; - /// from: static public final int N + /// from: `static public final int N` static const N = 24; - /// from: static public final int N_MR1 + /// from: `static public final int N_MR1` static const N_MR1 = 25; - /// from: static public final int O + /// from: `static public final int O` static const O = 26; - /// from: static public final int O_MR1 + /// from: `static public final int O_MR1` static const O_MR1 = 27; - /// from: static public final int P + /// from: `static public final int P` static const P = 28; - /// from: static public final int Q + /// from: `static public final int Q` static const Q = 29; - /// from: static public final int R + /// from: `static public final int R` static const R = 30; - /// from: static public final int S + /// from: `static public final int S` static const S = 31; - /// from: static public final int S_V2 + /// from: `static public final int S_V2` static const S_V2 = 32; - /// from: static public final int TIRAMISU + /// from: `static public final int TIRAMISU` static const TIRAMISU = 33; static final _id_new0 = _class.constructorId( r'()V', @@ -3676,7 +3676,7 @@ class Build_VERSION_CODES extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public void () + /// from: `public void ()` /// The returned object must be released after use, by calling the [release] method. factory Build_VERSION_CODES() { return Build_VERSION_CODES.fromReference( @@ -3711,7 +3711,7 @@ final class $Build_VERSION_CODESType extends jni.JObjType { } } -/// from: android.os.Build +/// from: `android.os.Build` class Build extends jni.JObject { @override late final jni.JObjType $type = type; @@ -3729,7 +3729,7 @@ class Build extends jni.JObject { r'Ljava/lang/String;', ); - /// from: static public final java.lang.String BOARD + /// from: `static public final java.lang.String BOARD` /// The returned object must be released after use, by calling the [release] method. static jni.JString get BOARD => _id_BOARD.get(_class, const jni.JStringType()); @@ -3739,7 +3739,7 @@ class Build extends jni.JObject { r'Ljava/lang/String;', ); - /// from: static public final java.lang.String BOOTLOADER + /// from: `static public final java.lang.String BOOTLOADER` /// The returned object must be released after use, by calling the [release] method. static jni.JString get BOOTLOADER => _id_BOOTLOADER.get(_class, const jni.JStringType()); @@ -3749,7 +3749,7 @@ class Build extends jni.JObject { r'Ljava/lang/String;', ); - /// from: static public final java.lang.String BRAND + /// from: `static public final java.lang.String BRAND` /// The returned object must be released after use, by calling the [release] method. static jni.JString get BRAND => _id_BRAND.get(_class, const jni.JStringType()); @@ -3759,7 +3759,7 @@ class Build extends jni.JObject { r'Ljava/lang/String;', ); - /// from: static public final java.lang.String CPU_ABI + /// from: `static public final java.lang.String CPU_ABI` /// The returned object must be released after use, by calling the [release] method. static jni.JString get CPU_ABI => _id_CPU_ABI.get(_class, const jni.JStringType()); @@ -3769,7 +3769,7 @@ class Build extends jni.JObject { r'Ljava/lang/String;', ); - /// from: static public final java.lang.String CPU_ABI2 + /// from: `static public final java.lang.String CPU_ABI2` /// The returned object must be released after use, by calling the [release] method. static jni.JString get CPU_ABI2 => _id_CPU_ABI2.get(_class, const jni.JStringType()); @@ -3779,7 +3779,7 @@ class Build extends jni.JObject { r'Ljava/lang/String;', ); - /// from: static public final java.lang.String DEVICE + /// from: `static public final java.lang.String DEVICE` /// The returned object must be released after use, by calling the [release] method. static jni.JString get DEVICE => _id_DEVICE.get(_class, const jni.JStringType()); @@ -3789,7 +3789,7 @@ class Build extends jni.JObject { r'Ljava/lang/String;', ); - /// from: static public final java.lang.String DISPLAY + /// from: `static public final java.lang.String DISPLAY` /// The returned object must be released after use, by calling the [release] method. static jni.JString get DISPLAY => _id_DISPLAY.get(_class, const jni.JStringType()); @@ -3799,7 +3799,7 @@ class Build extends jni.JObject { r'Ljava/lang/String;', ); - /// from: static public final java.lang.String FINGERPRINT + /// from: `static public final java.lang.String FINGERPRINT` /// The returned object must be released after use, by calling the [release] method. static jni.JString get FINGERPRINT => _id_FINGERPRINT.get(_class, const jni.JStringType()); @@ -3809,7 +3809,7 @@ class Build extends jni.JObject { r'Ljava/lang/String;', ); - /// from: static public final java.lang.String HARDWARE + /// from: `static public final java.lang.String HARDWARE` /// The returned object must be released after use, by calling the [release] method. static jni.JString get HARDWARE => _id_HARDWARE.get(_class, const jni.JStringType()); @@ -3819,7 +3819,7 @@ class Build extends jni.JObject { r'Ljava/lang/String;', ); - /// from: static public final java.lang.String HOST + /// from: `static public final java.lang.String HOST` /// The returned object must be released after use, by calling the [release] method. static jni.JString get HOST => _id_HOST.get(_class, const jni.JStringType()); @@ -3828,7 +3828,7 @@ class Build extends jni.JObject { r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ID + /// from: `static public final java.lang.String ID` /// The returned object must be released after use, by calling the [release] method. static jni.JString get ID => _id_ID.get(_class, const jni.JStringType()); @@ -3837,7 +3837,7 @@ class Build extends jni.JObject { r'Ljava/lang/String;', ); - /// from: static public final java.lang.String MANUFACTURER + /// from: `static public final java.lang.String MANUFACTURER` /// The returned object must be released after use, by calling the [release] method. static jni.JString get MANUFACTURER => _id_MANUFACTURER.get(_class, const jni.JStringType()); @@ -3847,7 +3847,7 @@ class Build extends jni.JObject { r'Ljava/lang/String;', ); - /// from: static public final java.lang.String MODEL + /// from: `static public final java.lang.String MODEL` /// The returned object must be released after use, by calling the [release] method. static jni.JString get MODEL => _id_MODEL.get(_class, const jni.JStringType()); @@ -3857,7 +3857,7 @@ class Build extends jni.JObject { r'Ljava/lang/String;', ); - /// from: static public final java.lang.String ODM_SKU + /// from: `static public final java.lang.String ODM_SKU` /// The returned object must be released after use, by calling the [release] method. static jni.JString get ODM_SKU => _id_ODM_SKU.get(_class, const jni.JStringType()); @@ -3867,7 +3867,7 @@ class Build extends jni.JObject { r'Ljava/lang/String;', ); - /// from: static public final java.lang.String PRODUCT + /// from: `static public final java.lang.String PRODUCT` /// The returned object must be released after use, by calling the [release] method. static jni.JString get PRODUCT => _id_PRODUCT.get(_class, const jni.JStringType()); @@ -3877,7 +3877,7 @@ class Build extends jni.JObject { r'Ljava/lang/String;', ); - /// from: static public final java.lang.String RADIO + /// from: `static public final java.lang.String RADIO` /// The returned object must be released after use, by calling the [release] method. static jni.JString get RADIO => _id_RADIO.get(_class, const jni.JStringType()); @@ -3887,7 +3887,7 @@ class Build extends jni.JObject { r'Ljava/lang/String;', ); - /// from: static public final java.lang.String SERIAL + /// from: `static public final java.lang.String SERIAL` /// The returned object must be released after use, by calling the [release] method. static jni.JString get SERIAL => _id_SERIAL.get(_class, const jni.JStringType()); @@ -3897,7 +3897,7 @@ class Build extends jni.JObject { r'Ljava/lang/String;', ); - /// from: static public final java.lang.String SKU + /// from: `static public final java.lang.String SKU` /// The returned object must be released after use, by calling the [release] method. static jni.JString get SKU => _id_SKU.get(_class, const jni.JStringType()); @@ -3906,7 +3906,7 @@ class Build extends jni.JObject { r'Ljava/lang/String;', ); - /// from: static public final java.lang.String SOC_MANUFACTURER + /// from: `static public final java.lang.String SOC_MANUFACTURER` /// The returned object must be released after use, by calling the [release] method. static jni.JString get SOC_MANUFACTURER => _id_SOC_MANUFACTURER.get(_class, const jni.JStringType()); @@ -3916,7 +3916,7 @@ class Build extends jni.JObject { r'Ljava/lang/String;', ); - /// from: static public final java.lang.String SOC_MODEL + /// from: `static public final java.lang.String SOC_MODEL` /// The returned object must be released after use, by calling the [release] method. static jni.JString get SOC_MODEL => _id_SOC_MODEL.get(_class, const jni.JStringType()); @@ -3926,7 +3926,7 @@ class Build extends jni.JObject { r'[Ljava/lang/String;', ); - /// from: static public final java.lang.String[] SUPPORTED_32_BIT_ABIS + /// from: `static public final java.lang.String[] SUPPORTED_32_BIT_ABIS` /// The returned object must be released after use, by calling the [release] method. static jni.JArray get SUPPORTED_32_BIT_ABIS => _id_SUPPORTED_32_BIT_ABIS.get( @@ -3937,7 +3937,7 @@ class Build extends jni.JObject { r'[Ljava/lang/String;', ); - /// from: static public final java.lang.String[] SUPPORTED_64_BIT_ABIS + /// from: `static public final java.lang.String[] SUPPORTED_64_BIT_ABIS` /// The returned object must be released after use, by calling the [release] method. static jni.JArray get SUPPORTED_64_BIT_ABIS => _id_SUPPORTED_64_BIT_ABIS.get( @@ -3948,7 +3948,7 @@ class Build extends jni.JObject { r'[Ljava/lang/String;', ); - /// from: static public final java.lang.String[] SUPPORTED_ABIS + /// from: `static public final java.lang.String[] SUPPORTED_ABIS` /// The returned object must be released after use, by calling the [release] method. static jni.JArray get SUPPORTED_ABIS => _id_SUPPORTED_ABIS.get(_class, const jni.JArrayType(jni.JStringType())); @@ -3958,7 +3958,7 @@ class Build extends jni.JObject { r'Ljava/lang/String;', ); - /// from: static public final java.lang.String TAGS + /// from: `static public final java.lang.String TAGS` /// The returned object must be released after use, by calling the [release] method. static jni.JString get TAGS => _id_TAGS.get(_class, const jni.JStringType()); @@ -3967,7 +3967,7 @@ class Build extends jni.JObject { r'J', ); - /// from: static public final long TIME + /// from: `static public final long TIME` static int get TIME => _id_TIME.get(_class, const jni.jlongType()); static final _id_TYPE = _class.staticFieldId( @@ -3975,7 +3975,7 @@ class Build extends jni.JObject { r'Ljava/lang/String;', ); - /// from: static public final java.lang.String TYPE + /// from: `static public final java.lang.String TYPE` /// The returned object must be released after use, by calling the [release] method. static jni.JString get TYPE => _id_TYPE.get(_class, const jni.JStringType()); @@ -3984,7 +3984,7 @@ class Build extends jni.JObject { r'Ljava/lang/String;', ); - /// from: static public final java.lang.String UNKNOWN + /// from: `static public final java.lang.String UNKNOWN` /// The returned object must be released after use, by calling the [release] method. static jni.JString get UNKNOWN => _id_UNKNOWN.get(_class, const jni.JStringType()); @@ -3994,7 +3994,7 @@ class Build extends jni.JObject { r'Ljava/lang/String;', ); - /// from: static public final java.lang.String USER + /// from: `static public final java.lang.String USER` /// The returned object must be released after use, by calling the [release] method. static jni.JString get USER => _id_USER.get(_class, const jni.JStringType()); @@ -4014,7 +4014,7 @@ class Build extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public void () + /// from: `public void ()` /// The returned object must be released after use, by calling the [release] method. factory Build() { return Build.fromReference( @@ -4039,7 +4039,7 @@ class Build extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: static public java.lang.String getSerial() + /// from: `static public java.lang.String getSerial()` /// The returned object must be released after use, by calling the [release] method. static jni.JString getSerial() { return _getSerial( @@ -4064,7 +4064,7 @@ class Build extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: static public java.util.List getFingerprintedPartitions() + /// from: `static public java.util.List getFingerprintedPartitions()` /// The returned object must be released after use, by calling the [release] method. static jni.JList getFingerprintedPartitions() { return _getFingerprintedPartitions(_class.reference.pointer, @@ -4089,7 +4089,7 @@ class Build extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: static public java.lang.String getRadioVersion() + /// from: `static public java.lang.String getRadioVersion()` /// The returned object must be released after use, by calling the [release] method. static jni.JString getRadioVersion() { return _getRadioVersion( @@ -4123,7 +4123,7 @@ final class $BuildType extends jni.JObjType { } } -/// from: java.util.HashMap +/// from: `java.util.HashMap` class HashMap<$K extends jni.JObject, $V extends jni.JObject> extends jni.JObject { @override @@ -4164,7 +4164,7 @@ class HashMap<$K extends jni.JObject, $V extends jni.JObject> jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, int, double)>(); - /// from: public void (int i, float f) + /// from: `public void (int i, float f)` /// The returned object must be released after use, by calling the [release] method. factory HashMap( int i, @@ -4191,7 +4191,7 @@ class HashMap<$K extends jni.JObject, $V extends jni.JObject> jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, int)>(); - /// from: public void (int i) + /// from: `public void (int i)` /// The returned object must be released after use, by calling the [release] method. factory HashMap.new1( int i, { @@ -4221,7 +4221,7 @@ class HashMap<$K extends jni.JObject, $V extends jni.JObject> jni.JMethodIDPtr, )>(); - /// from: public void () + /// from: `public void ()` /// The returned object must be released after use, by calling the [release] method. factory HashMap.new2({ required jni.JObjType<$K> K, @@ -4249,7 +4249,7 @@ class HashMap<$K extends jni.JObject, $V extends jni.JObject> jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void (java.util.Map map) + /// from: `public void (java.util.Map map)` /// The returned object must be released after use, by calling the [release] method. factory HashMap.new3( jni.JMap<$K, $V> map, { @@ -4287,7 +4287,7 @@ class HashMap<$K extends jni.JObject, $V extends jni.JObject> jni.JMethodIDPtr, )>(); - /// from: public int size() + /// from: `public int size()` int size() { return _size(reference.pointer, _id_size as jni.JMethodIDPtr).integer; } @@ -4309,7 +4309,7 @@ class HashMap<$K extends jni.JObject, $V extends jni.JObject> jni.JMethodIDPtr, )>(); - /// from: public boolean isEmpty() + /// from: `public boolean isEmpty()` bool isEmpty() { return _isEmpty(reference.pointer, _id_isEmpty as jni.JMethodIDPtr).boolean; } @@ -4330,7 +4330,7 @@ class HashMap<$K extends jni.JObject, $V extends jni.JObject> jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public V get(java.lang.Object object) + /// from: `public V get(java.lang.Object object)` /// The returned object must be released after use, by calling the [release] method. $V get0( jni.JObject object, @@ -4356,7 +4356,7 @@ class HashMap<$K extends jni.JObject, $V extends jni.JObject> jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public boolean containsKey(java.lang.Object object) + /// from: `public boolean containsKey(java.lang.Object object)` bool containsKey( jni.JObject object, ) { @@ -4384,7 +4384,7 @@ class HashMap<$K extends jni.JObject, $V extends jni.JObject> jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, ffi.Pointer)>(); - /// from: public V put(K object, V object1) + /// from: `public V put(K object, V object1)` /// The returned object must be released after use, by calling the [release] method. $V put( $K object, @@ -4411,7 +4411,7 @@ class HashMap<$K extends jni.JObject, $V extends jni.JObject> jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void putAll(java.util.Map map) + /// from: `public void putAll(java.util.Map map)` void putAll( jni.JMap<$K, $V> map, ) { @@ -4436,7 +4436,7 @@ class HashMap<$K extends jni.JObject, $V extends jni.JObject> jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public V remove(java.lang.Object object) + /// from: `public V remove(java.lang.Object object)` /// The returned object must be released after use, by calling the [release] method. $V remove( jni.JObject object, @@ -4463,7 +4463,7 @@ class HashMap<$K extends jni.JObject, $V extends jni.JObject> jni.JMethodIDPtr, )>(); - /// from: public void clear() + /// from: `public void clear()` void clear() { _clear(reference.pointer, _id_clear as jni.JMethodIDPtr).check(); } @@ -4484,7 +4484,7 @@ class HashMap<$K extends jni.JObject, $V extends jni.JObject> jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public boolean containsValue(java.lang.Object object) + /// from: `public boolean containsValue(java.lang.Object object)` bool containsValue( jni.JObject object, ) { @@ -4510,7 +4510,7 @@ class HashMap<$K extends jni.JObject, $V extends jni.JObject> jni.JMethodIDPtr, )>(); - /// from: public java.util.Set keySet() + /// from: `public java.util.Set keySet()` /// The returned object must be released after use, by calling the [release] method. jni.JSet<$K> keySet() { return _keySet(reference.pointer, _id_keySet as jni.JMethodIDPtr) @@ -4534,7 +4534,7 @@ class HashMap<$K extends jni.JObject, $V extends jni.JObject> jni.JMethodIDPtr, )>(); - /// from: public java.util.Collection values() + /// from: `public java.util.Collection values()` /// The returned object must be released after use, by calling the [release] method. jni.JObject values() { return _values(reference.pointer, _id_values as jni.JMethodIDPtr) @@ -4558,7 +4558,7 @@ class HashMap<$K extends jni.JObject, $V extends jni.JObject> jni.JMethodIDPtr, )>(); - /// from: public java.util.Set entrySet() + /// from: `public java.util.Set entrySet()` /// The returned object must be released after use, by calling the [release] method. jni.JSet entrySet() { return _entrySet(reference.pointer, _id_entrySet as jni.JMethodIDPtr) @@ -4584,7 +4584,7 @@ class HashMap<$K extends jni.JObject, $V extends jni.JObject> jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, ffi.Pointer)>(); - /// from: public V getOrDefault(java.lang.Object object, V object1) + /// from: `public V getOrDefault(java.lang.Object object, V object1)` /// The returned object must be released after use, by calling the [release] method. $V getOrDefault( jni.JObject object, @@ -4617,7 +4617,7 @@ class HashMap<$K extends jni.JObject, $V extends jni.JObject> jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, ffi.Pointer)>(); - /// from: public V putIfAbsent(K object, V object1) + /// from: `public V putIfAbsent(K object, V object1)` /// The returned object must be released after use, by calling the [release] method. $V putIfAbsent( $K object, @@ -4647,7 +4647,7 @@ class HashMap<$K extends jni.JObject, $V extends jni.JObject> jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, ffi.Pointer)>(); - /// from: public boolean remove(java.lang.Object object, java.lang.Object object1) + /// from: `public boolean remove(java.lang.Object object, java.lang.Object object1)` bool remove1( jni.JObject object, jni.JObject object1, @@ -4681,7 +4681,7 @@ class HashMap<$K extends jni.JObject, $V extends jni.JObject> ffi.Pointer, ffi.Pointer)>(); - /// from: public boolean replace(K object, V object1, V object2) + /// from: `public boolean replace(K object, V object1, V object2)` bool replace( $K object, $V object1, @@ -4715,7 +4715,7 @@ class HashMap<$K extends jni.JObject, $V extends jni.JObject> jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, ffi.Pointer)>(); - /// from: public V replace(K object, V object1) + /// from: `public V replace(K object, V object1)` /// The returned object must be released after use, by calling the [release] method. $V replace1( $K object, @@ -4745,7 +4745,7 @@ class HashMap<$K extends jni.JObject, $V extends jni.JObject> jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, ffi.Pointer)>(); - /// from: public V computeIfAbsent(K object, java.util.function.Function function) + /// from: `public V computeIfAbsent(K object, java.util.function.Function function)` /// The returned object must be released after use, by calling the [release] method. $V computeIfAbsent( $K object, @@ -4778,7 +4778,7 @@ class HashMap<$K extends jni.JObject, $V extends jni.JObject> jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, ffi.Pointer)>(); - /// from: public V computeIfPresent(K object, java.util.function.BiFunction biFunction) + /// from: `public V computeIfPresent(K object, java.util.function.BiFunction biFunction)` /// The returned object must be released after use, by calling the [release] method. $V computeIfPresent( $K object, @@ -4811,7 +4811,7 @@ class HashMap<$K extends jni.JObject, $V extends jni.JObject> jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, ffi.Pointer)>(); - /// from: public V compute(K object, java.util.function.BiFunction biFunction) + /// from: `public V compute(K object, java.util.function.BiFunction biFunction)` /// The returned object must be released after use, by calling the [release] method. $V compute( $K object, @@ -4846,7 +4846,7 @@ class HashMap<$K extends jni.JObject, $V extends jni.JObject> ffi.Pointer, ffi.Pointer)>(); - /// from: public V merge(K object, V object1, java.util.function.BiFunction biFunction) + /// from: `public V merge(K object, V object1, java.util.function.BiFunction biFunction)` /// The returned object must be released after use, by calling the [release] method. $V merge( $K object, @@ -4878,7 +4878,7 @@ class HashMap<$K extends jni.JObject, $V extends jni.JObject> jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void forEach(java.util.function.BiConsumer biConsumer) + /// from: `public void forEach(java.util.function.BiConsumer biConsumer)` void forEach( jni.JObject biConsumer, ) { @@ -4903,7 +4903,7 @@ class HashMap<$K extends jni.JObject, $V extends jni.JObject> jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void replaceAll(java.util.function.BiFunction biFunction) + /// from: `public void replaceAll(java.util.function.BiFunction biFunction)` void replaceAll( jni.JObject biFunction, ) { @@ -4929,7 +4929,7 @@ class HashMap<$K extends jni.JObject, $V extends jni.JObject> jni.JMethodIDPtr, )>(); - /// from: public java.lang.Object clone() + /// from: `public java.lang.Object clone()` /// The returned object must be released after use, by calling the [release] method. jni.JObject clone() { return _clone(reference.pointer, _id_clone as jni.JMethodIDPtr) @@ -4972,7 +4972,7 @@ final class $HashMapType<$K extends jni.JObject, $V extends jni.JObject> } } -/// from: com.example.in_app_java.AndroidUtils +/// from: `com.example.in_app_java.AndroidUtils` class AndroidUtils extends jni.JObject { @override late final jni.JObjType $type = type; @@ -5006,7 +5006,7 @@ class AndroidUtils extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, ffi.Pointer, int)>(); - /// from: static public void showToast(android.app.Activity mainActivity, java.lang.CharSequence text, int duration) + /// from: `static public void showToast(android.app.Activity mainActivity, java.lang.CharSequence text, int duration)` static void showToast( jni.JObject mainActivity, jni.JObject text, diff --git a/pkgs/jnigen/example/kotlin_plugin/lib/kotlin_bindings.dart b/pkgs/jnigen/example/kotlin_plugin/lib/kotlin_bindings.dart index 1e2c36ef3..ada9d0016 100644 --- a/pkgs/jnigen/example/kotlin_plugin/lib/kotlin_bindings.dart +++ b/pkgs/jnigen/example/kotlin_plugin/lib/kotlin_bindings.dart @@ -28,7 +28,7 @@ import 'dart:isolate' show ReceivePort; import 'package:jni/internal_helpers_for_jnigen.dart'; import 'package:jni/jni.dart' as jni; -/// from: Example +/// from: `Example` class Example extends jni.JObject { @override late final jni.JObjType $type = type; @@ -57,7 +57,7 @@ class Example extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public void () + /// from: `public void ()` /// The returned object must be released after use, by calling the [release] method. factory Example() { return Example.fromReference( @@ -81,7 +81,7 @@ class Example extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public final java.lang.Object thinkBeforeAnswering(kotlin.coroutines.Continuation continuation) + /// from: `public final java.lang.Object thinkBeforeAnswering(kotlin.coroutines.Continuation continuation)` /// The returned object must be released after use, by calling the [release] method. Future thinkBeforeAnswering() async { final $p = ReceivePort(); diff --git a/pkgs/jnigen/example/notification_plugin/lib/notifications.dart b/pkgs/jnigen/example/notification_plugin/lib/notifications.dart index d54a518c8..2d44869d6 100644 --- a/pkgs/jnigen/example/notification_plugin/lib/notifications.dart +++ b/pkgs/jnigen/example/notification_plugin/lib/notifications.dart @@ -32,7 +32,7 @@ import 'dart:isolate' show ReceivePort; import 'package:jni/internal_helpers_for_jnigen.dart'; import 'package:jni/jni.dart' as jni; -/// from: com.example.notification_plugin.Notifications +/// from: `com.example.notification_plugin.Notifications` class Notifications extends jni.JObject { @override late final jni.JObjType $type = type; @@ -62,7 +62,7 @@ class Notifications extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public void () + /// from: `public void ()` /// The returned object must be released after use, by calling the [release] method. factory Notifications() { return Notifications.fromReference( @@ -96,7 +96,7 @@ class Notifications extends jni.JObject { ffi.Pointer, ffi.Pointer)>(); - /// from: static public void showNotification(android.content.Context context, int notificationID, java.lang.String title, java.lang.String text) + /// from: `static public void showNotification(android.content.Context context, int notificationID, java.lang.String title, java.lang.String text)` static void showNotification( jni.JObject context, int notificationID, diff --git a/pkgs/jnigen/example/pdfbox_plugin/lib/src/third_party/org/apache/pdfbox/pdmodel/PDDocument.dart b/pkgs/jnigen/example/pdfbox_plugin/lib/src/third_party/org/apache/pdfbox/pdmodel/PDDocument.dart index d577ad61c..89b78c6bb 100644 --- a/pkgs/jnigen/example/pdfbox_plugin/lib/src/third_party/org/apache/pdfbox/pdmodel/PDDocument.dart +++ b/pkgs/jnigen/example/pdfbox_plugin/lib/src/third_party/org/apache/pdfbox/pdmodel/PDDocument.dart @@ -48,7 +48,7 @@ import 'package:jni/jni.dart' as jni; import 'PDDocumentInformation.dart' as pddocumentinformation_; -/// from: org.apache.pdfbox.pdmodel.PDDocument +/// from: `org.apache.pdfbox.pdmodel.PDDocument` /// /// This is the in-memory representation of the PDF document. /// The \#close() method must be called once the document is no longer needed. @@ -82,7 +82,7 @@ class PDDocument extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public void () + /// from: `public void ()` /// The returned object must be released after use, by calling the [release] method. /// /// Creates an empty PDF document. @@ -108,7 +108,7 @@ class PDDocument extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void (org.apache.pdfbox.io.MemoryUsageSetting memUsageSetting) + /// from: `public void (org.apache.pdfbox.io.MemoryUsageSetting memUsageSetting)` /// The returned object must be released after use, by calling the [release] method. /// /// Creates an empty PDF document. @@ -137,7 +137,7 @@ class PDDocument extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void (org.apache.pdfbox.cos.COSDocument doc) + /// from: `public void (org.apache.pdfbox.cos.COSDocument doc)` /// The returned object must be released after use, by calling the [release] method. /// /// Constructor that uses an existing document. The COSDocument that is passed in must be valid. @@ -168,7 +168,7 @@ class PDDocument extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, ffi.Pointer)>(); - /// from: public void (org.apache.pdfbox.cos.COSDocument doc, org.apache.pdfbox.io.RandomAccessRead source) + /// from: `public void (org.apache.pdfbox.cos.COSDocument doc, org.apache.pdfbox.io.RandomAccessRead source)` /// The returned object must be released after use, by calling the [release] method. /// /// Constructor that uses an existing document. The COSDocument that is passed in must be valid. @@ -209,7 +209,7 @@ class PDDocument extends jni.JObject { ffi.Pointer, ffi.Pointer)>(); - /// from: public void (org.apache.pdfbox.cos.COSDocument doc, org.apache.pdfbox.io.RandomAccessRead source, org.apache.pdfbox.pdmodel.encryption.AccessPermission permission) + /// from: `public void (org.apache.pdfbox.cos.COSDocument doc, org.apache.pdfbox.io.RandomAccessRead source, org.apache.pdfbox.pdmodel.encryption.AccessPermission permission)` /// The returned object must be released after use, by calling the [release] method. /// /// Constructor that uses an existing document. The COSDocument that is passed in must be valid. @@ -246,7 +246,7 @@ class PDDocument extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void addPage(org.apache.pdfbox.pdmodel.PDPage page) + /// from: `public void addPage(org.apache.pdfbox.pdmodel.PDPage page)` /// /// This will add a page to the document. This is a convenience method, that will add the page to the root of the /// hierarchy and set the parent of the page to the root. @@ -275,7 +275,7 @@ class PDDocument extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void addSignature(org.apache.pdfbox.pdmodel.interactive.digitalsignature.PDSignature sigObject) + /// from: `public void addSignature(org.apache.pdfbox.pdmodel.interactive.digitalsignature.PDSignature sigObject)` /// /// Add parameters of signature to be created externally using default signature options. See /// \#saveIncrementalForExternalSigning(OutputStream) method description on external @@ -314,7 +314,7 @@ class PDDocument extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, ffi.Pointer)>(); - /// from: public void addSignature(org.apache.pdfbox.pdmodel.interactive.digitalsignature.PDSignature sigObject, org.apache.pdfbox.pdmodel.interactive.digitalsignature.SignatureOptions options) + /// from: `public void addSignature(org.apache.pdfbox.pdmodel.interactive.digitalsignature.PDSignature sigObject, org.apache.pdfbox.pdmodel.interactive.digitalsignature.SignatureOptions options)` /// /// Add parameters of signature to be created externally. See /// \#saveIncrementalForExternalSigning(OutputStream) method description on external @@ -355,7 +355,7 @@ class PDDocument extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, ffi.Pointer)>(); - /// from: public void addSignature(org.apache.pdfbox.pdmodel.interactive.digitalsignature.PDSignature sigObject, org.apache.pdfbox.pdmodel.interactive.digitalsignature.SignatureInterface signatureInterface) + /// from: `public void addSignature(org.apache.pdfbox.pdmodel.interactive.digitalsignature.PDSignature sigObject, org.apache.pdfbox.pdmodel.interactive.digitalsignature.SignatureInterface signatureInterface)` /// /// Add a signature to be created using the instance of given interface. /// @@ -400,7 +400,7 @@ class PDDocument extends jni.JObject { ffi.Pointer, ffi.Pointer)>(); - /// from: public void addSignature(org.apache.pdfbox.pdmodel.interactive.digitalsignature.PDSignature sigObject, org.apache.pdfbox.pdmodel.interactive.digitalsignature.SignatureInterface signatureInterface, org.apache.pdfbox.pdmodel.interactive.digitalsignature.SignatureOptions options) + /// from: `public void addSignature(org.apache.pdfbox.pdmodel.interactive.digitalsignature.PDSignature sigObject, org.apache.pdfbox.pdmodel.interactive.digitalsignature.SignatureInterface signatureInterface, org.apache.pdfbox.pdmodel.interactive.digitalsignature.SignatureOptions options)` /// /// This will add a signature to the document. If the 0-based page number in the options /// parameter is smaller than 0 or larger than max, the nearest valid page number will be used @@ -453,7 +453,7 @@ class PDDocument extends jni.JObject { ffi.Pointer, ffi.Pointer)>(); - /// from: public void addSignatureField(java.util.List sigFields, org.apache.pdfbox.pdmodel.interactive.digitalsignature.SignatureInterface signatureInterface, org.apache.pdfbox.pdmodel.interactive.digitalsignature.SignatureOptions options) + /// from: `public void addSignatureField(java.util.List sigFields, org.apache.pdfbox.pdmodel.interactive.digitalsignature.SignatureInterface signatureInterface, org.apache.pdfbox.pdmodel.interactive.digitalsignature.SignatureOptions options)` /// /// This will add a list of signature fields to the document. ///@param sigFields are the PDSignatureFields that should be added to the document @@ -493,7 +493,7 @@ class PDDocument extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void removePage(org.apache.pdfbox.pdmodel.PDPage page) + /// from: `public void removePage(org.apache.pdfbox.pdmodel.PDPage page)` /// /// Remove the page from the document. ///@param page The page to remove from the document. @@ -520,7 +520,7 @@ class PDDocument extends jni.JObject { jni.JThrowablePtr Function( ffi.Pointer, jni.JMethodIDPtr, int)>(); - /// from: public void removePage(int pageNumber) + /// from: `public void removePage(int pageNumber)` /// /// Remove the page from the document. ///@param pageNumber 0 based index to page number. @@ -548,7 +548,7 @@ class PDDocument extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public org.apache.pdfbox.pdmodel.PDPage importPage(org.apache.pdfbox.pdmodel.PDPage page) + /// from: `public org.apache.pdfbox.pdmodel.PDPage importPage(org.apache.pdfbox.pdmodel.PDPage page)` /// The returned object must be released after use, by calling the [release] method. /// /// This will import and copy the contents from another location. Currently the content stream is @@ -597,7 +597,7 @@ class PDDocument extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public org.apache.pdfbox.cos.COSDocument getDocument() + /// from: `public org.apache.pdfbox.cos.COSDocument getDocument()` /// The returned object must be released after use, by calling the [release] method. /// /// This will get the low level document. @@ -624,7 +624,7 @@ class PDDocument extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public org.apache.pdfbox.pdmodel.PDDocumentInformation getDocumentInformation() + /// from: `public org.apache.pdfbox.pdmodel.PDDocumentInformation getDocumentInformation()` /// The returned object must be released after use, by calling the [release] method. /// /// This will get the document info dictionary. If it doesn't exist, an empty document info @@ -656,7 +656,7 @@ class PDDocument extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void setDocumentInformation(org.apache.pdfbox.pdmodel.PDDocumentInformation info) + /// from: `public void setDocumentInformation(org.apache.pdfbox.pdmodel.PDDocumentInformation info)` /// /// This will set the document information for this document. /// @@ -691,7 +691,7 @@ class PDDocument extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public org.apache.pdfbox.pdmodel.PDDocumentCatalog getDocumentCatalog() + /// from: `public org.apache.pdfbox.pdmodel.PDDocumentCatalog getDocumentCatalog()` /// The returned object must be released after use, by calling the [release] method. /// /// This will get the document CATALOG. This is guaranteed to not return null. @@ -719,7 +719,7 @@ class PDDocument extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public boolean isEncrypted() + /// from: `public boolean isEncrypted()` /// /// This will tell if this document is encrypted or not. ///@return true If this document is encrypted. @@ -745,7 +745,7 @@ class PDDocument extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public org.apache.pdfbox.pdmodel.encryption.PDEncryption getEncryption() + /// from: `public org.apache.pdfbox.pdmodel.encryption.PDEncryption getEncryption()` /// The returned object must be released after use, by calling the [release] method. /// /// This will get the encryption dictionary for this document. This will still return the parameters if the document @@ -775,7 +775,7 @@ class PDDocument extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void setEncryptionDictionary(org.apache.pdfbox.pdmodel.encryption.PDEncryption encryption) + /// from: `public void setEncryptionDictionary(org.apache.pdfbox.pdmodel.encryption.PDEncryption encryption)` /// /// This will set the encryption dictionary for this document. ///@param encryption The encryption dictionary(most likely a PDStandardEncryption object) @@ -807,7 +807,7 @@ class PDDocument extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public org.apache.pdfbox.pdmodel.interactive.digitalsignature.PDSignature getLastSignatureDictionary() + /// from: `public org.apache.pdfbox.pdmodel.interactive.digitalsignature.PDSignature getLastSignatureDictionary()` /// The returned object must be released after use, by calling the [release] method. /// /// This will return the last signature from the field tree. Note that this may not be the @@ -837,7 +837,7 @@ class PDDocument extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public java.util.List getSignatureFields() + /// from: `public java.util.List getSignatureFields()` /// The returned object must be released after use, by calling the [release] method. /// /// Retrieve all signature fields from the document. @@ -866,7 +866,7 @@ class PDDocument extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public java.util.List getSignatureDictionaries() + /// from: `public java.util.List getSignatureDictionaries()` /// The returned object must be released after use, by calling the [release] method. /// /// Retrieve all signature dictionaries from the document. @@ -894,7 +894,7 @@ class PDDocument extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void registerTrueTypeFontForClosing(org.apache.fontbox.ttf.TrueTypeFont ttf) + /// from: `public void registerTrueTypeFontForClosing(org.apache.fontbox.ttf.TrueTypeFont ttf)` /// /// For internal PDFBox use when creating PDF documents: register a TrueTypeFont to make sure it /// is closed when the PDDocument is closed to avoid memory leaks. Users don't have to call this @@ -926,7 +926,7 @@ class PDDocument extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: static public org.apache.pdfbox.pdmodel.PDDocument load(java.io.File file) + /// from: `static public org.apache.pdfbox.pdmodel.PDDocument load(java.io.File file)` /// The returned object must be released after use, by calling the [release] method. /// /// Parses a PDF. Unrestricted main memory will be used for buffering PDF streams. @@ -961,7 +961,7 @@ class PDDocument extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, ffi.Pointer)>(); - /// from: static public org.apache.pdfbox.pdmodel.PDDocument load(java.io.File file, org.apache.pdfbox.io.MemoryUsageSetting memUsageSetting) + /// from: `static public org.apache.pdfbox.pdmodel.PDDocument load(java.io.File file, org.apache.pdfbox.io.MemoryUsageSetting memUsageSetting)` /// The returned object must be released after use, by calling the [release] method. /// /// Parses a PDF. @@ -998,7 +998,7 @@ class PDDocument extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, ffi.Pointer)>(); - /// from: static public org.apache.pdfbox.pdmodel.PDDocument load(java.io.File file, java.lang.String password) + /// from: `static public org.apache.pdfbox.pdmodel.PDDocument load(java.io.File file, java.lang.String password)` /// The returned object must be released after use, by calling the [release] method. /// /// Parses a PDF. Unrestricted main memory will be used for buffering PDF streams. @@ -1040,7 +1040,7 @@ class PDDocument extends jni.JObject { ffi.Pointer, ffi.Pointer)>(); - /// from: static public org.apache.pdfbox.pdmodel.PDDocument load(java.io.File file, java.lang.String password, org.apache.pdfbox.io.MemoryUsageSetting memUsageSetting) + /// from: `static public org.apache.pdfbox.pdmodel.PDDocument load(java.io.File file, java.lang.String password, org.apache.pdfbox.io.MemoryUsageSetting memUsageSetting)` /// The returned object must be released after use, by calling the [release] method. /// /// Parses a PDF. @@ -1090,7 +1090,7 @@ class PDDocument extends jni.JObject { ffi.Pointer, ffi.Pointer)>(); - /// from: static public org.apache.pdfbox.pdmodel.PDDocument load(java.io.File file, java.lang.String password, java.io.InputStream keyStore, java.lang.String alias) + /// from: `static public org.apache.pdfbox.pdmodel.PDDocument load(java.io.File file, java.lang.String password, java.io.InputStream keyStore, java.lang.String alias)` /// The returned object must be released after use, by calling the [release] method. /// /// Parses a PDF. Unrestricted main memory will be used for buffering PDF streams. @@ -1144,7 +1144,7 @@ class PDDocument extends jni.JObject { ffi.Pointer, ffi.Pointer)>(); - /// from: static public org.apache.pdfbox.pdmodel.PDDocument load(java.io.File file, java.lang.String password, java.io.InputStream keyStore, java.lang.String alias, org.apache.pdfbox.io.MemoryUsageSetting memUsageSetting) + /// from: `static public org.apache.pdfbox.pdmodel.PDDocument load(java.io.File file, java.lang.String password, java.io.InputStream keyStore, java.lang.String alias, org.apache.pdfbox.io.MemoryUsageSetting memUsageSetting)` /// The returned object must be released after use, by calling the [release] method. /// /// Parses a PDF. @@ -1189,7 +1189,7 @@ class PDDocument extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: static public org.apache.pdfbox.pdmodel.PDDocument load(java.io.InputStream input) + /// from: `static public org.apache.pdfbox.pdmodel.PDDocument load(java.io.InputStream input)` /// The returned object must be released after use, by calling the [release] method. /// /// Parses a PDF. The given input stream is copied to the memory to enable random access to the @@ -1225,7 +1225,7 @@ class PDDocument extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, ffi.Pointer)>(); - /// from: static public org.apache.pdfbox.pdmodel.PDDocument load(java.io.InputStream input, org.apache.pdfbox.io.MemoryUsageSetting memUsageSetting) + /// from: `static public org.apache.pdfbox.pdmodel.PDDocument load(java.io.InputStream input, org.apache.pdfbox.io.MemoryUsageSetting memUsageSetting)` /// The returned object must be released after use, by calling the [release] method. /// /// Parses a PDF. Depending on the memory settings parameter the given input stream is either @@ -1263,7 +1263,7 @@ class PDDocument extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, ffi.Pointer)>(); - /// from: static public org.apache.pdfbox.pdmodel.PDDocument load(java.io.InputStream input, java.lang.String password) + /// from: `static public org.apache.pdfbox.pdmodel.PDDocument load(java.io.InputStream input, java.lang.String password)` /// The returned object must be released after use, by calling the [release] method. /// /// Parses a PDF. The given input stream is copied to the memory to enable random access to the @@ -1308,7 +1308,7 @@ class PDDocument extends jni.JObject { ffi.Pointer, ffi.Pointer)>(); - /// from: static public org.apache.pdfbox.pdmodel.PDDocument load(java.io.InputStream input, java.lang.String password, java.io.InputStream keyStore, java.lang.String alias) + /// from: `static public org.apache.pdfbox.pdmodel.PDDocument load(java.io.InputStream input, java.lang.String password, java.io.InputStream keyStore, java.lang.String alias)` /// The returned object must be released after use, by calling the [release] method. /// /// Parses a PDF. The given input stream is copied to the memory to enable random access to the @@ -1359,7 +1359,7 @@ class PDDocument extends jni.JObject { ffi.Pointer, ffi.Pointer)>(); - /// from: static public org.apache.pdfbox.pdmodel.PDDocument load(java.io.InputStream input, java.lang.String password, org.apache.pdfbox.io.MemoryUsageSetting memUsageSetting) + /// from: `static public org.apache.pdfbox.pdmodel.PDDocument load(java.io.InputStream input, java.lang.String password, org.apache.pdfbox.io.MemoryUsageSetting memUsageSetting)` /// The returned object must be released after use, by calling the [release] method. /// /// Parses a PDF. Depending on the memory settings parameter the given input stream is either @@ -1412,7 +1412,7 @@ class PDDocument extends jni.JObject { ffi.Pointer, ffi.Pointer)>(); - /// from: static public org.apache.pdfbox.pdmodel.PDDocument load(java.io.InputStream input, java.lang.String password, java.io.InputStream keyStore, java.lang.String alias, org.apache.pdfbox.io.MemoryUsageSetting memUsageSetting) + /// from: `static public org.apache.pdfbox.pdmodel.PDDocument load(java.io.InputStream input, java.lang.String password, java.io.InputStream keyStore, java.lang.String alias, org.apache.pdfbox.io.MemoryUsageSetting memUsageSetting)` /// The returned object must be released after use, by calling the [release] method. /// /// Parses a PDF. Depending on the memory settings parameter the given input stream is either @@ -1459,7 +1459,7 @@ class PDDocument extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: static public org.apache.pdfbox.pdmodel.PDDocument load(byte[] input) + /// from: `static public org.apache.pdfbox.pdmodel.PDDocument load(byte[] input)` /// The returned object must be released after use, by calling the [release] method. /// /// Parses a PDF. Unrestricted main memory will be used for buffering PDF streams. @@ -1494,7 +1494,7 @@ class PDDocument extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, ffi.Pointer)>(); - /// from: static public org.apache.pdfbox.pdmodel.PDDocument load(byte[] input, java.lang.String password) + /// from: `static public org.apache.pdfbox.pdmodel.PDDocument load(byte[] input, java.lang.String password)` /// The returned object must be released after use, by calling the [release] method. /// /// Parses a PDF. Unrestricted main memory will be used for buffering PDF streams. @@ -1538,7 +1538,7 @@ class PDDocument extends jni.JObject { ffi.Pointer, ffi.Pointer)>(); - /// from: static public org.apache.pdfbox.pdmodel.PDDocument load(byte[] input, java.lang.String password, java.io.InputStream keyStore, java.lang.String alias) + /// from: `static public org.apache.pdfbox.pdmodel.PDDocument load(byte[] input, java.lang.String password, java.io.InputStream keyStore, java.lang.String alias)` /// The returned object must be released after use, by calling the [release] method. /// /// Parses a PDF. Unrestricted main memory will be used for buffering PDF streams. @@ -1593,7 +1593,7 @@ class PDDocument extends jni.JObject { ffi.Pointer, ffi.Pointer)>(); - /// from: static public org.apache.pdfbox.pdmodel.PDDocument load(byte[] input, java.lang.String password, java.io.InputStream keyStore, java.lang.String alias, org.apache.pdfbox.io.MemoryUsageSetting memUsageSetting) + /// from: `static public org.apache.pdfbox.pdmodel.PDDocument load(byte[] input, java.lang.String password, java.io.InputStream keyStore, java.lang.String alias, org.apache.pdfbox.io.MemoryUsageSetting memUsageSetting)` /// The returned object must be released after use, by calling the [release] method. /// /// Parses a PDF. @@ -1639,7 +1639,7 @@ class PDDocument extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void save(java.lang.String fileName) + /// from: `public void save(java.lang.String fileName)` /// /// Save the document to a file. /// @@ -1672,7 +1672,7 @@ class PDDocument extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void save(java.io.File file) + /// from: `public void save(java.io.File file)` /// /// Save the document to a file. /// @@ -1705,7 +1705,7 @@ class PDDocument extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void save(java.io.OutputStream output) + /// from: `public void save(java.io.OutputStream output)` /// /// This will save the document to an output stream. /// @@ -1739,7 +1739,7 @@ class PDDocument extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void saveIncremental(java.io.OutputStream output) + /// from: `public void saveIncremental(java.io.OutputStream output)` /// /// Save the PDF as an incremental update. This is only possible if the PDF was loaded from a /// file or a stream, not if the document was created in PDFBox itself. There must be a path of @@ -1781,7 +1781,7 @@ class PDDocument extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, ffi.Pointer)>(); - /// from: public void saveIncremental(java.io.OutputStream output, java.util.Set objectsToWrite) + /// from: `public void saveIncremental(java.io.OutputStream output, java.util.Set objectsToWrite)` /// /// Save the PDF as an incremental update. This is only possible if the PDF was loaded from a /// file or a stream, not if the document was created in PDFBox itself. This allows to include @@ -1830,7 +1830,7 @@ class PDDocument extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public org.apache.pdfbox.pdmodel.interactive.digitalsignature.ExternalSigningSupport saveIncrementalForExternalSigning(java.io.OutputStream output) + /// from: `public org.apache.pdfbox.pdmodel.interactive.digitalsignature.ExternalSigningSupport saveIncrementalForExternalSigning(java.io.OutputStream output)` /// The returned object must be released after use, by calling the [release] method. /// /// @@ -1893,7 +1893,7 @@ class PDDocument extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, int)>(); - /// from: public org.apache.pdfbox.pdmodel.PDPage getPage(int pageIndex) + /// from: `public org.apache.pdfbox.pdmodel.PDPage getPage(int pageIndex)` /// The returned object must be released after use, by calling the [release] method. /// /// Returns the page at the given 0-based index. @@ -1928,7 +1928,7 @@ class PDDocument extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public org.apache.pdfbox.pdmodel.PDPageTree getPages() + /// from: `public org.apache.pdfbox.pdmodel.PDPageTree getPages()` /// The returned object must be released after use, by calling the [release] method. /// /// Returns the page tree. @@ -1955,7 +1955,7 @@ class PDDocument extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public int getNumberOfPages() + /// from: `public int getNumberOfPages()` /// /// This will return the total page count of the PDF document. ///@return The total number of pages in the PDF document. @@ -1982,7 +1982,7 @@ class PDDocument extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public void close() + /// from: `public void close()` /// /// This will close the underlying COSDocument object. ///@throws IOException If there is an error releasing resources. @@ -2006,7 +2006,7 @@ class PDDocument extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void protect(org.apache.pdfbox.pdmodel.encryption.ProtectionPolicy policy) + /// from: `public void protect(org.apache.pdfbox.pdmodel.encryption.ProtectionPolicy policy)` /// /// Protects the document with a protection policy. The document content will be really /// encrypted when it will be saved. This method only marks the document for encryption. It also @@ -2043,7 +2043,7 @@ class PDDocument extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public org.apache.pdfbox.pdmodel.encryption.AccessPermission getCurrentAccessPermission() + /// from: `public org.apache.pdfbox.pdmodel.encryption.AccessPermission getCurrentAccessPermission()` /// The returned object must be released after use, by calling the [release] method. /// /// Returns the access permissions granted when the document was decrypted. If the document was not decrypted this @@ -2074,7 +2074,7 @@ class PDDocument extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public boolean isAllSecurityToBeRemoved() + /// from: `public boolean isAllSecurityToBeRemoved()` /// /// Indicates if all security is removed or not when writing the pdf. ///@return returns true if all security shall be removed otherwise false @@ -2099,7 +2099,7 @@ class PDDocument extends jni.JObject { jni.JThrowablePtr Function( ffi.Pointer, jni.JMethodIDPtr, int)>(); - /// from: public void setAllSecurityToBeRemoved(boolean removeAllSecurity) + /// from: `public void setAllSecurityToBeRemoved(boolean removeAllSecurity)` /// /// Activates/Deactivates the removal of all security when writing the pdf. ///@param removeAllSecurity remove all security if set to true @@ -2130,7 +2130,7 @@ class PDDocument extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public java.lang.Long getDocumentId() + /// from: `public java.lang.Long getDocumentId()` /// The returned object must be released after use, by calling the [release] method. /// /// Provides the document ID. @@ -2157,7 +2157,7 @@ class PDDocument extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void setDocumentId(java.lang.Long docId) + /// from: `public void setDocumentId(java.lang.Long docId)` /// /// Sets the document ID to the given value. ///@param docId the new document ID @@ -2186,7 +2186,7 @@ class PDDocument extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public float getVersion() + /// from: `public float getVersion()` /// /// Returns the PDF specification version this document conforms to. ///@return the PDF version (e.g. 1.4f) @@ -2210,7 +2210,7 @@ class PDDocument extends jni.JObject { jni.JThrowablePtr Function( ffi.Pointer, jni.JMethodIDPtr, double)>(); - /// from: public void setVersion(float newVersion) + /// from: `public void setVersion(float newVersion)` /// /// Sets the PDF specification version for this document. ///@param newVersion the new PDF version (e.g. 1.4f) @@ -2239,7 +2239,7 @@ class PDDocument extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public org.apache.pdfbox.pdmodel.ResourceCache getResourceCache() + /// from: `public org.apache.pdfbox.pdmodel.ResourceCache getResourceCache()` /// The returned object must be released after use, by calling the [release] method. /// /// Returns the resource cache associated with this document, or null if there is none. @@ -2266,7 +2266,7 @@ class PDDocument extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void setResourceCache(org.apache.pdfbox.pdmodel.ResourceCache resourceCache) + /// from: `public void setResourceCache(org.apache.pdfbox.pdmodel.ResourceCache resourceCache)` /// /// Sets the resource cache associated with this document. ///@param resourceCache A resource cache, or null. diff --git a/pkgs/jnigen/example/pdfbox_plugin/lib/src/third_party/org/apache/pdfbox/pdmodel/PDDocumentInformation.dart b/pkgs/jnigen/example/pdfbox_plugin/lib/src/third_party/org/apache/pdfbox/pdmodel/PDDocumentInformation.dart index 50b6099c4..d0bfa7881 100644 --- a/pkgs/jnigen/example/pdfbox_plugin/lib/src/third_party/org/apache/pdfbox/pdmodel/PDDocumentInformation.dart +++ b/pkgs/jnigen/example/pdfbox_plugin/lib/src/third_party/org/apache/pdfbox/pdmodel/PDDocumentInformation.dart @@ -46,7 +46,7 @@ import 'dart:isolate' show ReceivePort; import 'package:jni/internal_helpers_for_jnigen.dart'; import 'package:jni/jni.dart' as jni; -/// from: org.apache.pdfbox.pdmodel.PDDocumentInformation +/// from: `org.apache.pdfbox.pdmodel.PDDocumentInformation` /// /// This is the document metadata. Each getXXX method will return the entry if /// it exists or null if it does not exist. If you pass in null for the setXXX @@ -82,7 +82,7 @@ class PDDocumentInformation extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public void () + /// from: `public void ()` /// The returned object must be released after use, by calling the [release] method. /// /// Default Constructor. @@ -107,7 +107,7 @@ class PDDocumentInformation extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void (org.apache.pdfbox.cos.COSDictionary dic) + /// from: `public void (org.apache.pdfbox.cos.COSDictionary dic)` /// The returned object must be released after use, by calling the [release] method. /// /// Constructor that is used for a preexisting dictionary. @@ -137,7 +137,7 @@ class PDDocumentInformation extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public org.apache.pdfbox.cos.COSDictionary getCOSObject() + /// from: `public org.apache.pdfbox.cos.COSDictionary getCOSObject()` /// The returned object must be released after use, by calling the [release] method. /// /// This will get the underlying dictionary that this object wraps. @@ -164,7 +164,7 @@ class PDDocumentInformation extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public java.lang.Object getPropertyStringValue(java.lang.String propertyKey) + /// from: `public java.lang.Object getPropertyStringValue(java.lang.String propertyKey)` /// The returned object must be released after use, by calling the [release] method. /// /// Return the properties String value. @@ -202,7 +202,7 @@ class PDDocumentInformation extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public java.lang.String getTitle() + /// from: `public java.lang.String getTitle()` /// The returned object must be released after use, by calling the [release] method. /// /// This will get the title of the document. This will return null if no title exists. @@ -228,7 +228,7 @@ class PDDocumentInformation extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void setTitle(java.lang.String title) + /// from: `public void setTitle(java.lang.String title)` /// /// This will set the title of the document. ///@param title The new title for the document. @@ -257,7 +257,7 @@ class PDDocumentInformation extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public java.lang.String getAuthor() + /// from: `public java.lang.String getAuthor()` /// The returned object must be released after use, by calling the [release] method. /// /// This will get the author of the document. This will return null if no author exists. @@ -283,7 +283,7 @@ class PDDocumentInformation extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void setAuthor(java.lang.String author) + /// from: `public void setAuthor(java.lang.String author)` /// /// This will set the author of the document. ///@param author The new author for the document. @@ -312,7 +312,7 @@ class PDDocumentInformation extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public java.lang.String getSubject() + /// from: `public java.lang.String getSubject()` /// The returned object must be released after use, by calling the [release] method. /// /// This will get the subject of the document. This will return null if no subject exists. @@ -338,7 +338,7 @@ class PDDocumentInformation extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void setSubject(java.lang.String subject) + /// from: `public void setSubject(java.lang.String subject)` /// /// This will set the subject of the document. ///@param subject The new subject for the document. @@ -367,7 +367,7 @@ class PDDocumentInformation extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public java.lang.String getKeywords() + /// from: `public java.lang.String getKeywords()` /// The returned object must be released after use, by calling the [release] method. /// /// This will get the keywords of the document. This will return null if no keywords exists. @@ -393,7 +393,7 @@ class PDDocumentInformation extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void setKeywords(java.lang.String keywords) + /// from: `public void setKeywords(java.lang.String keywords)` /// /// This will set the keywords of the document. ///@param keywords The new keywords for the document. @@ -422,7 +422,7 @@ class PDDocumentInformation extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public java.lang.String getCreator() + /// from: `public java.lang.String getCreator()` /// The returned object must be released after use, by calling the [release] method. /// /// This will get the creator of the document. This will return null if no creator exists. @@ -448,7 +448,7 @@ class PDDocumentInformation extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void setCreator(java.lang.String creator) + /// from: `public void setCreator(java.lang.String creator)` /// /// This will set the creator of the document. ///@param creator The new creator for the document. @@ -477,7 +477,7 @@ class PDDocumentInformation extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public java.lang.String getProducer() + /// from: `public java.lang.String getProducer()` /// The returned object must be released after use, by calling the [release] method. /// /// This will get the producer of the document. This will return null if no producer exists. @@ -503,7 +503,7 @@ class PDDocumentInformation extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void setProducer(java.lang.String producer) + /// from: `public void setProducer(java.lang.String producer)` /// /// This will set the producer of the document. ///@param producer The new producer for the document. @@ -532,7 +532,7 @@ class PDDocumentInformation extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public java.util.Calendar getCreationDate() + /// from: `public java.util.Calendar getCreationDate()` /// The returned object must be released after use, by calling the [release] method. /// /// This will get the creation date of the document. This will return null if no creation date exists. @@ -559,7 +559,7 @@ class PDDocumentInformation extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void setCreationDate(java.util.Calendar date) + /// from: `public void setCreationDate(java.util.Calendar date)` /// /// This will set the creation date of the document. ///@param date The new creation date for the document. @@ -588,7 +588,7 @@ class PDDocumentInformation extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public java.util.Calendar getModificationDate() + /// from: `public java.util.Calendar getModificationDate()` /// The returned object must be released after use, by calling the [release] method. /// /// This will get the modification date of the document. This will return null if no modification date exists. @@ -615,7 +615,7 @@ class PDDocumentInformation extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void setModificationDate(java.util.Calendar date) + /// from: `public void setModificationDate(java.util.Calendar date)` /// /// This will set the modification date of the document. ///@param date The new modification date for the document. @@ -644,7 +644,7 @@ class PDDocumentInformation extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public java.lang.String getTrapped() + /// from: `public java.lang.String getTrapped()` /// The returned object must be released after use, by calling the [release] method. /// /// This will get the trapped value for the document. @@ -672,7 +672,7 @@ class PDDocumentInformation extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public java.util.Set getMetadataKeys() + /// from: `public java.util.Set getMetadataKeys()` /// The returned object must be released after use, by calling the [release] method. /// /// This will get the keys of all metadata information fields for the document. @@ -700,7 +700,7 @@ class PDDocumentInformation extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public java.lang.String getCustomMetadataValue(java.lang.String fieldName) + /// from: `public java.lang.String getCustomMetadataValue(java.lang.String fieldName)` /// The returned object must be released after use, by calling the [release] method. /// /// This will get the value of a custom metadata information field for the document. @@ -736,7 +736,7 @@ class PDDocumentInformation extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, ffi.Pointer)>(); - /// from: public void setCustomMetadataValue(java.lang.String fieldName, java.lang.String fieldValue) + /// from: `public void setCustomMetadataValue(java.lang.String fieldName, java.lang.String fieldValue)` /// /// Set the custom metadata value. ///@param fieldName The name of the custom metadata field. @@ -769,7 +769,7 @@ class PDDocumentInformation extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void setTrapped(java.lang.String value) + /// from: `public void setTrapped(java.lang.String value)` /// /// This will set the trapped of the document. This will be /// 'True', 'False', or 'Unknown'. diff --git a/pkgs/jnigen/example/pdfbox_plugin/lib/src/third_party/org/apache/pdfbox/text/PDFTextStripper.dart b/pkgs/jnigen/example/pdfbox_plugin/lib/src/third_party/org/apache/pdfbox/text/PDFTextStripper.dart index b92fee373..c6894184d 100644 --- a/pkgs/jnigen/example/pdfbox_plugin/lib/src/third_party/org/apache/pdfbox/text/PDFTextStripper.dart +++ b/pkgs/jnigen/example/pdfbox_plugin/lib/src/third_party/org/apache/pdfbox/text/PDFTextStripper.dart @@ -48,7 +48,7 @@ import 'package:jni/jni.dart' as jni; import '../pdmodel/PDDocument.dart' as pddocument_; -/// from: org.apache.pdfbox.text.PDFTextStripper +/// from: `org.apache.pdfbox.text.PDFTextStripper` /// /// This class will take a pdf document and strip out all of the text and ignore the formatting and such. Please note; it /// is up to clients of this class to verify that a specific user has the correct permissions to extract text from the @@ -75,7 +75,7 @@ class PDFTextStripper extends jni.JObject { r'Ljava/lang/String;', ); - /// from: protected final java.lang.String LINE_SEPARATOR + /// from: `protected final java.lang.String LINE_SEPARATOR` /// The returned object must be released after use, by calling the [release] method. /// /// The platform's line separator. @@ -87,7 +87,7 @@ class PDFTextStripper extends jni.JObject { r'Ljava/util/ArrayList;', ); - /// from: protected java.util.ArrayList> charactersByArticle + /// from: `protected java.util.ArrayList> charactersByArticle` /// The returned object must be released after use, by calling the [release] method. /// /// The charactersByArticle is used to extract text by article divisions. For example a PDF that has two columns like @@ -105,7 +105,7 @@ class PDFTextStripper extends jni.JObject { jni.JObject get charactersByArticle => _id_charactersByArticle.get(this, const jni.JObjectType()); - /// from: protected java.util.ArrayList> charactersByArticle + /// from: `protected java.util.ArrayList> charactersByArticle` /// The returned object must be released after use, by calling the [release] method. /// /// The charactersByArticle is used to extract text by article divisions. For example a PDF that has two columns like @@ -128,12 +128,12 @@ class PDFTextStripper extends jni.JObject { r'Lorg/apache/pdfbox/pdmodel/PDDocument;', ); - /// from: protected org.apache.pdfbox.pdmodel.PDDocument document + /// from: `protected org.apache.pdfbox.pdmodel.PDDocument document` /// The returned object must be released after use, by calling the [release] method. pddocument_.PDDocument get document => _id_document.get(this, const pddocument_.$PDDocumentType()); - /// from: protected org.apache.pdfbox.pdmodel.PDDocument document + /// from: `protected org.apache.pdfbox.pdmodel.PDDocument document` /// The returned object must be released after use, by calling the [release] method. set document(pddocument_.PDDocument value) => _id_document.set(this, const pddocument_.$PDDocumentType(), value); @@ -143,11 +143,11 @@ class PDFTextStripper extends jni.JObject { r'Ljava/io/Writer;', ); - /// from: protected java.io.Writer output + /// from: `protected java.io.Writer output` /// The returned object must be released after use, by calling the [release] method. jni.JObject get output => _id_output.get(this, const jni.JObjectType()); - /// from: protected java.io.Writer output + /// from: `protected java.io.Writer output` /// The returned object must be released after use, by calling the [release] method. set output(jni.JObject value) => _id_output.set(this, const jni.JObjectType(), value); @@ -168,7 +168,7 @@ class PDFTextStripper extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public void () + /// from: `public void ()` /// The returned object must be released after use, by calling the [release] method. /// /// Instantiate a new PDFTextStripper object. @@ -195,7 +195,7 @@ class PDFTextStripper extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public java.lang.String getText(org.apache.pdfbox.pdmodel.PDDocument doc) + /// from: `public java.lang.String getText(org.apache.pdfbox.pdmodel.PDDocument doc)` /// The returned object must be released after use, by calling the [release] method. /// /// This will return the text of a document. See writeText.
@@ -235,7 +235,7 @@ class PDFTextStripper extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, ffi.Pointer)>(); - /// from: public void writeText(org.apache.pdfbox.pdmodel.PDDocument doc, java.io.Writer outputStream) + /// from: `public void writeText(org.apache.pdfbox.pdmodel.PDDocument doc, java.io.Writer outputStream)` /// /// This will take a PDDocument and write the text of that document to the print writer. ///@param doc The document to get the data from. @@ -266,7 +266,7 @@ class PDFTextStripper extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: protected void processPages(org.apache.pdfbox.pdmodel.PDPageTree pages) + /// from: `protected void processPages(org.apache.pdfbox.pdmodel.PDPageTree pages)` /// /// This will process all of the pages and the text that is in them. ///@param pages The pages object in the document. @@ -295,7 +295,7 @@ class PDFTextStripper extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: protected void startDocument(org.apache.pdfbox.pdmodel.PDDocument document) + /// from: `protected void startDocument(org.apache.pdfbox.pdmodel.PDDocument document)` /// /// This method is available for subclasses of this class. It will be called before processing of the document start. ///@param document The PDF document that is being processed. @@ -324,7 +324,7 @@ class PDFTextStripper extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: protected void endDocument(org.apache.pdfbox.pdmodel.PDDocument document) + /// from: `protected void endDocument(org.apache.pdfbox.pdmodel.PDDocument document)` /// /// This method is available for subclasses of this class. It will be called after processing of the document /// finishes. @@ -354,7 +354,7 @@ class PDFTextStripper extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void processPage(org.apache.pdfbox.pdmodel.PDPage page) + /// from: `public void processPage(org.apache.pdfbox.pdmodel.PDPage page)` /// /// This will process the contents of a page. ///@param page The page to process. @@ -384,7 +384,7 @@ class PDFTextStripper extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: protected void startArticle() + /// from: `protected void startArticle()` /// /// Start a new article, which is typically defined as a column on a single page (also referred to as a bead). This /// assumes that the primary direction of text is left to right. Default implementation is to do nothing. Subclasses @@ -410,7 +410,7 @@ class PDFTextStripper extends jni.JObject { jni.JThrowablePtr Function( ffi.Pointer, jni.JMethodIDPtr, int)>(); - /// from: protected void startArticle(boolean isLTR) + /// from: `protected void startArticle(boolean isLTR)` /// /// Start a new article, which is typically defined as a column on a single page (also referred to as a bead). /// Default implementation is to do nothing. Subclasses may provide additional information. @@ -441,7 +441,7 @@ class PDFTextStripper extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: protected void endArticle() + /// from: `protected void endArticle()` /// /// End an article. Default implementation is to do nothing. Subclasses may provide additional information. ///@throws IOException If there is any error writing to the stream. @@ -465,7 +465,7 @@ class PDFTextStripper extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: protected void startPage(org.apache.pdfbox.pdmodel.PDPage page) + /// from: `protected void startPage(org.apache.pdfbox.pdmodel.PDPage page)` /// /// Start a new page. Default implementation is to do nothing. Subclasses may provide additional information. ///@param page The page we are about to process. @@ -494,7 +494,7 @@ class PDFTextStripper extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: protected void endPage(org.apache.pdfbox.pdmodel.PDPage page) + /// from: `protected void endPage(org.apache.pdfbox.pdmodel.PDPage page)` /// /// End a page. Default implementation is to do nothing. Subclasses may provide additional information. ///@param page The page we are about to process. @@ -524,7 +524,7 @@ class PDFTextStripper extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: protected void writePage() + /// from: `protected void writePage()` /// /// This will print the text of the processed page to "output". It will estimate, based on the coordinates of the /// text, where newlines and word spacings should be placed. The text will be sorted only if that feature was @@ -551,7 +551,7 @@ class PDFTextStripper extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: protected void writeLineSeparator() + /// from: `protected void writeLineSeparator()` /// /// Write the line separator value to the output stream. ///@throws IOException If there is a problem writing out the line separator to the document. @@ -578,7 +578,7 @@ class PDFTextStripper extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: protected void writeWordSeparator() + /// from: `protected void writeWordSeparator()` /// /// Write the word separator value to the output stream. ///@throws IOException If there is a problem writing out the word separator to the document. @@ -604,7 +604,7 @@ class PDFTextStripper extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: protected void writeCharacters(org.apache.pdfbox.text.TextPosition text) + /// from: `protected void writeCharacters(org.apache.pdfbox.text.TextPosition text)` /// /// Write the string in TextPosition to the output stream. ///@param text The text to write to the stream. @@ -636,7 +636,7 @@ class PDFTextStripper extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, ffi.Pointer)>(); - /// from: protected void writeString(java.lang.String text, java.util.List textPositions) + /// from: `protected void writeString(java.lang.String text, java.util.List textPositions)` /// /// Write a Java string to the output stream. The default implementation will ignore the textPositions /// and just calls \#writeString(String). @@ -668,7 +668,7 @@ class PDFTextStripper extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: protected void writeString(java.lang.String text) + /// from: `protected void writeString(java.lang.String text)` /// /// Write a Java string to the output stream. ///@param text The text to write to the stream. @@ -697,7 +697,7 @@ class PDFTextStripper extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: protected void processTextPosition(org.apache.pdfbox.text.TextPosition text) + /// from: `protected void processTextPosition(org.apache.pdfbox.text.TextPosition text)` /// /// This will process a TextPosition object and add the text to the list of characters on a page. It takes care of /// overlapping text. @@ -727,7 +727,7 @@ class PDFTextStripper extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public int getStartPage() + /// from: `public int getStartPage()` /// /// This is the page that the text extraction will start on. The pages start at page 1. For example in a 5 page PDF /// document, if the start page is 1 then all pages will be extracted. If the start page is 4 then pages 4 and 5 will @@ -754,7 +754,7 @@ class PDFTextStripper extends jni.JObject { jni.JThrowablePtr Function( ffi.Pointer, jni.JMethodIDPtr, int)>(); - /// from: public void setStartPage(int startPageValue) + /// from: `public void setStartPage(int startPageValue)` /// /// This will set the first page to be extracted by this class. ///@param startPageValue New value of 1-based startPage property. @@ -783,7 +783,7 @@ class PDFTextStripper extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public int getEndPage() + /// from: `public int getEndPage()` /// /// This will get the last page that will be extracted. This is inclusive, for example if a 5 page PDF an endPage /// value of 5 would extract the entire document, an end page of 2 would extract pages 1 and 2. This defaults to @@ -809,7 +809,7 @@ class PDFTextStripper extends jni.JObject { jni.JThrowablePtr Function( ffi.Pointer, jni.JMethodIDPtr, int)>(); - /// from: public void setEndPage(int endPageValue) + /// from: `public void setEndPage(int endPageValue)` /// /// This will set the last page to be extracted by this class. ///@param endPageValue New value of 1-based endPage property. @@ -837,7 +837,7 @@ class PDFTextStripper extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void setLineSeparator(java.lang.String separator) + /// from: `public void setLineSeparator(java.lang.String separator)` /// /// Set the desired line separator for output text. The line.separator system property is used if the line separator /// preference is not set explicitly using this method. @@ -869,7 +869,7 @@ class PDFTextStripper extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public java.lang.String getLineSeparator() + /// from: `public java.lang.String getLineSeparator()` /// The returned object must be released after use, by calling the [release] method. /// /// This will get the line separator. @@ -897,7 +897,7 @@ class PDFTextStripper extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public java.lang.String getWordSeparator() + /// from: `public java.lang.String getWordSeparator()` /// The returned object must be released after use, by calling the [release] method. /// /// This will get the word separator. @@ -924,7 +924,7 @@ class PDFTextStripper extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void setWordSeparator(java.lang.String separator) + /// from: `public void setWordSeparator(java.lang.String separator)` /// /// Set the desired word separator for output text. The PDFBox text extraction algorithm will output a space /// character if there is enough space between two words. By default a space character is used. If you need and @@ -960,7 +960,7 @@ class PDFTextStripper extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public boolean getSuppressDuplicateOverlappingText() + /// from: `public boolean getSuppressDuplicateOverlappingText()` /// /// @return Returns the suppressDuplicateOverlappingText. bool getSuppressDuplicateOverlappingText() { @@ -986,7 +986,7 @@ class PDFTextStripper extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: protected int getCurrentPageNo() + /// from: `protected int getCurrentPageNo()` /// /// Get the current page number that is being processed. ///@return A 1 based number representing the current page. @@ -1013,7 +1013,7 @@ class PDFTextStripper extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: protected java.io.Writer getOutput() + /// from: `protected java.io.Writer getOutput()` /// The returned object must be released after use, by calling the [release] method. /// /// The output stream that is being written to. @@ -1040,7 +1040,7 @@ class PDFTextStripper extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: protected java.util.List> getCharactersByArticle() + /// from: `protected java.util.List> getCharactersByArticle()` /// The returned object must be released after use, by calling the [release] method. /// /// Character strings are grouped by articles. It is quite common that there will only be a single article. This @@ -1069,7 +1069,7 @@ class PDFTextStripper extends jni.JObject { jni.JThrowablePtr Function( ffi.Pointer, jni.JMethodIDPtr, int)>(); - /// from: public void setSuppressDuplicateOverlappingText(boolean suppressDuplicateOverlappingTextValue) + /// from: `public void setSuppressDuplicateOverlappingText(boolean suppressDuplicateOverlappingTextValue)` /// /// By default the text stripper will attempt to remove text that overlapps each other. Word paints the same /// character several times in order to make it look bold. By setting this to false all text will be extracted, which @@ -1102,7 +1102,7 @@ class PDFTextStripper extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public boolean getSeparateByBeads() + /// from: `public boolean getSeparateByBeads()` /// /// This will tell if the text stripper should separate by beads. ///@return If the text will be grouped by beads. @@ -1127,7 +1127,7 @@ class PDFTextStripper extends jni.JObject { jni.JThrowablePtr Function( ffi.Pointer, jni.JMethodIDPtr, int)>(); - /// from: public void setShouldSeparateByBeads(boolean aShouldSeparateByBeads) + /// from: `public void setShouldSeparateByBeads(boolean aShouldSeparateByBeads)` /// /// Set if the text stripper should group the text output by a list of beads. The default value is true! ///@param aShouldSeparateByBeads The new grouping of beads. @@ -1158,7 +1158,7 @@ class PDFTextStripper extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public org.apache.pdfbox.pdmodel.interactive.documentnavigation.outline.PDOutlineItem getEndBookmark() + /// from: `public org.apache.pdfbox.pdmodel.interactive.documentnavigation.outline.PDOutlineItem getEndBookmark()` /// The returned object must be released after use, by calling the [release] method. /// /// Get the bookmark where text extraction should end, inclusive. Default is null. @@ -1185,7 +1185,7 @@ class PDFTextStripper extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void setEndBookmark(org.apache.pdfbox.pdmodel.interactive.documentnavigation.outline.PDOutlineItem aEndBookmark) + /// from: `public void setEndBookmark(org.apache.pdfbox.pdmodel.interactive.documentnavigation.outline.PDOutlineItem aEndBookmark)` /// /// Set the bookmark where the text extraction should stop. ///@param aEndBookmark The ending bookmark. @@ -1214,7 +1214,7 @@ class PDFTextStripper extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public org.apache.pdfbox.pdmodel.interactive.documentnavigation.outline.PDOutlineItem getStartBookmark() + /// from: `public org.apache.pdfbox.pdmodel.interactive.documentnavigation.outline.PDOutlineItem getStartBookmark()` /// The returned object must be released after use, by calling the [release] method. /// /// Get the bookmark where text extraction should start, inclusive. Default is null. @@ -1241,7 +1241,7 @@ class PDFTextStripper extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void setStartBookmark(org.apache.pdfbox.pdmodel.interactive.documentnavigation.outline.PDOutlineItem aStartBookmark) + /// from: `public void setStartBookmark(org.apache.pdfbox.pdmodel.interactive.documentnavigation.outline.PDOutlineItem aStartBookmark)` /// /// Set the bookmark where text extraction should start, inclusive. ///@param aStartBookmark The starting bookmark. @@ -1272,7 +1272,7 @@ class PDFTextStripper extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public boolean getAddMoreFormatting() + /// from: `public boolean getAddMoreFormatting()` /// /// This will tell if the text stripper should add some more text formatting. ///@return true if some more text formatting will be added @@ -1297,7 +1297,7 @@ class PDFTextStripper extends jni.JObject { jni.JThrowablePtr Function( ffi.Pointer, jni.JMethodIDPtr, int)>(); - /// from: public void setAddMoreFormatting(boolean newAddMoreFormatting) + /// from: `public void setAddMoreFormatting(boolean newAddMoreFormatting)` /// /// There will some additional text formatting be added if addMoreFormatting is set to true. Default is false. ///@param newAddMoreFormatting Tell PDFBox to add some more text formatting @@ -1328,7 +1328,7 @@ class PDFTextStripper extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public boolean getSortByPosition() + /// from: `public boolean getSortByPosition()` /// /// This will tell if the text stripper should sort the text tokens before writing to the stream. ///@return true If the text tokens will be sorted before being written. @@ -1353,7 +1353,7 @@ class PDFTextStripper extends jni.JObject { jni.JThrowablePtr Function( ffi.Pointer, jni.JMethodIDPtr, int)>(); - /// from: public void setSortByPosition(boolean newSortByPosition) + /// from: `public void setSortByPosition(boolean newSortByPosition)` /// /// The order of the text tokens in a PDF file may not be in the same as they appear visually on the screen. For /// example, a PDF writer may write out all text by font, so all bold or larger text, then make a second pass and @@ -1390,7 +1390,7 @@ class PDFTextStripper extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public float getSpacingTolerance() + /// from: `public float getSpacingTolerance()` /// /// Get the current space width-based tolerance value that is being used to estimate where spaces in text should be /// added. Note that the default value for this has been determined from trial and error. @@ -1416,7 +1416,7 @@ class PDFTextStripper extends jni.JObject { jni.JThrowablePtr Function( ffi.Pointer, jni.JMethodIDPtr, double)>(); - /// from: public void setSpacingTolerance(float spacingToleranceValue) + /// from: `public void setSpacingTolerance(float spacingToleranceValue)` /// /// Set the space width-based tolerance value that is used to estimate where spaces in text should be added. Note /// that the default value for this has been determined from trial and error. Setting this value larger will reduce @@ -1447,7 +1447,7 @@ class PDFTextStripper extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public float getAverageCharTolerance() + /// from: `public float getAverageCharTolerance()` /// /// Get the current character width-based tolerance value that is being used to estimate where spaces in text should /// be added. Note that the default value for this has been determined from trial and error. @@ -1473,7 +1473,7 @@ class PDFTextStripper extends jni.JObject { jni.JThrowablePtr Function( ffi.Pointer, jni.JMethodIDPtr, double)>(); - /// from: public void setAverageCharTolerance(float averageCharToleranceValue) + /// from: `public void setAverageCharTolerance(float averageCharToleranceValue)` /// /// Set the character width-based tolerance value that is used to estimate where spaces in text should be added. Note /// that the default value for this has been determined from trial and error. Setting this value larger will reduce @@ -1506,7 +1506,7 @@ class PDFTextStripper extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public float getIndentThreshold() + /// from: `public float getIndentThreshold()` /// /// returns the multiple of whitespace character widths for the current text which the current line start can be /// indented from the previous line start beyond which the current line start is considered to be a paragraph start. @@ -1532,7 +1532,7 @@ class PDFTextStripper extends jni.JObject { jni.JThrowablePtr Function( ffi.Pointer, jni.JMethodIDPtr, double)>(); - /// from: public void setIndentThreshold(float indentThresholdValue) + /// from: `public void setIndentThreshold(float indentThresholdValue)` /// /// sets the multiple of whitespace character widths for the current text which the current line start can be /// indented from the previous line start beyond which the current line start is considered to be a paragraph start. @@ -1563,7 +1563,7 @@ class PDFTextStripper extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public float getDropThreshold() + /// from: `public float getDropThreshold()` /// /// the minimum whitespace, as a multiple of the max height of the current characters beyond which the current line /// start is considered to be a paragraph start. @@ -1589,7 +1589,7 @@ class PDFTextStripper extends jni.JObject { jni.JThrowablePtr Function( ffi.Pointer, jni.JMethodIDPtr, double)>(); - /// from: public void setDropThreshold(float dropThresholdValue) + /// from: `public void setDropThreshold(float dropThresholdValue)` /// /// sets the minimum whitespace, as a multiple of the max height of the current characters beyond which the current /// line start is considered to be a paragraph start. The default value is 2.5. @@ -1620,7 +1620,7 @@ class PDFTextStripper extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public java.lang.String getParagraphStart() + /// from: `public java.lang.String getParagraphStart()` /// The returned object must be released after use, by calling the [release] method. /// /// Returns the string which will be used at the beginning of a paragraph. @@ -1647,7 +1647,7 @@ class PDFTextStripper extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void setParagraphStart(java.lang.String s) + /// from: `public void setParagraphStart(java.lang.String s)` /// /// Sets the string which will be used at the beginning of a paragraph. ///@param s the paragraph start string @@ -1676,7 +1676,7 @@ class PDFTextStripper extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public java.lang.String getParagraphEnd() + /// from: `public java.lang.String getParagraphEnd()` /// The returned object must be released after use, by calling the [release] method. /// /// Returns the string which will be used at the end of a paragraph. @@ -1703,7 +1703,7 @@ class PDFTextStripper extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void setParagraphEnd(java.lang.String s) + /// from: `public void setParagraphEnd(java.lang.String s)` /// /// Sets the string which will be used at the end of a paragraph. ///@param s the paragraph end string @@ -1732,7 +1732,7 @@ class PDFTextStripper extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public java.lang.String getPageStart() + /// from: `public java.lang.String getPageStart()` /// The returned object must be released after use, by calling the [release] method. /// /// Returns the string which will be used at the beginning of a page. @@ -1759,7 +1759,7 @@ class PDFTextStripper extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void setPageStart(java.lang.String pageStartValue) + /// from: `public void setPageStart(java.lang.String pageStartValue)` /// /// Sets the string which will be used at the beginning of a page. ///@param pageStartValue the page start string @@ -1788,7 +1788,7 @@ class PDFTextStripper extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public java.lang.String getPageEnd() + /// from: `public java.lang.String getPageEnd()` /// The returned object must be released after use, by calling the [release] method. /// /// Returns the string which will be used at the end of a page. @@ -1814,7 +1814,7 @@ class PDFTextStripper extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void setPageEnd(java.lang.String pageEndValue) + /// from: `public void setPageEnd(java.lang.String pageEndValue)` /// /// Sets the string which will be used at the end of a page. ///@param pageEndValue the page end string @@ -1843,7 +1843,7 @@ class PDFTextStripper extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public java.lang.String getArticleStart() + /// from: `public java.lang.String getArticleStart()` /// The returned object must be released after use, by calling the [release] method. /// /// Returns the string which will be used at the beginning of an article. @@ -1870,7 +1870,7 @@ class PDFTextStripper extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void setArticleStart(java.lang.String articleStartValue) + /// from: `public void setArticleStart(java.lang.String articleStartValue)` /// /// Sets the string which will be used at the beginning of an article. ///@param articleStartValue the article start string @@ -1899,7 +1899,7 @@ class PDFTextStripper extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public java.lang.String getArticleEnd() + /// from: `public java.lang.String getArticleEnd()` /// The returned object must be released after use, by calling the [release] method. /// /// Returns the string which will be used at the end of an article. @@ -1926,7 +1926,7 @@ class PDFTextStripper extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void setArticleEnd(java.lang.String articleEndValue) + /// from: `public void setArticleEnd(java.lang.String articleEndValue)` /// /// Sets the string which will be used at the end of an article. ///@param articleEndValue the article end string @@ -1955,7 +1955,7 @@ class PDFTextStripper extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: protected void writeParagraphSeparator() + /// from: `protected void writeParagraphSeparator()` /// /// writes the paragraph separator string to the output. ///@throws IOException if something went wrong @@ -1982,7 +1982,7 @@ class PDFTextStripper extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: protected void writeParagraphStart() + /// from: `protected void writeParagraphStart()` /// /// Write something (if defined) at the start of a paragraph. ///@throws IOException if something went wrong @@ -2009,7 +2009,7 @@ class PDFTextStripper extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: protected void writeParagraphEnd() + /// from: `protected void writeParagraphEnd()` /// /// Write something (if defined) at the end of a paragraph. ///@throws IOException if something went wrong @@ -2036,7 +2036,7 @@ class PDFTextStripper extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: protected void writePageStart() + /// from: `protected void writePageStart()` /// /// Write something (if defined) at the start of a page. ///@throws IOException if something went wrong @@ -2062,7 +2062,7 @@ class PDFTextStripper extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: protected void writePageEnd() + /// from: `protected void writePageEnd()` /// /// Write something (if defined) at the end of a page. ///@throws IOException if something went wrong @@ -2087,7 +2087,7 @@ class PDFTextStripper extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: protected void setListItemPatterns(java.util.List patterns) + /// from: `protected void setListItemPatterns(java.util.List patterns)` /// /// use to supply a different set of regular expression patterns for matching list item starts. ///@param patterns list of patterns @@ -2118,7 +2118,7 @@ class PDFTextStripper extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: protected java.util.List getListItemPatterns() + /// from: `protected java.util.List getListItemPatterns()` /// The returned object must be released after use, by calling the [release] method. /// /// returns a list of regular expression Patterns representing different common list item formats. For example @@ -2162,7 +2162,7 @@ class PDFTextStripper extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, ffi.Pointer)>(); - /// from: static protected java.util.regex.Pattern matchPattern(java.lang.String string, java.util.List patterns) + /// from: `static protected java.util.regex.Pattern matchPattern(java.lang.String string, java.util.List patterns)` /// The returned object must be released after use, by calling the [release] method. /// /// iterates over the specified list of Patterns until it finds one that matches the specified string. Then returns diff --git a/pkgs/jnigen/lib/src/bindings/dart_generator.dart b/pkgs/jnigen/lib/src/bindings/dart_generator.dart index 5c1d1cb19..4b2c465b5 100644 --- a/pkgs/jnigen/lib/src/bindings/dart_generator.dart +++ b/pkgs/jnigen/lib/src/bindings/dart_generator.dart @@ -304,7 +304,7 @@ ${modifier}final $classRef = $_jni.JClass.forName(r'$internalName'); return; } // Docs. - s.write('/// from: ${node.binaryName}\n'); + s.write('/// from: `${node.binaryName}`\n'); node.javadoc?.accept(_DocGenerator(s, depth: 0)); // Class definition. @@ -956,7 +956,7 @@ ${modifier}final _id_$name = void writeDocs(Field node, {required bool writeReleaseInstructions}) { final originalDecl = '${node.type.shorthand} ${node.name}'; - s.writeln(' /// from: ${node.modifiers.join(' ')} $originalDecl'); + s.writeln(' /// from: `${node.modifiers.join(' ')} $originalDecl`'); if (node.type.kind != Kind.primitive && writeReleaseInstructions) { s.writeln(_releaseInstruction); } @@ -1116,11 +1116,11 @@ ${modifier}final _$name = $_protectedExtension writeAccessor(node); // Docs - s.write(' /// from: '); + s.write(' /// from: `'); s.writeAll(node.modifiers.map((m) => '$m ')); s.write('${node.returnType.shorthand} ${node.name}('); s.writeAll(node.params.map((p) => '${p.type.shorthand} ${p.name}'), ', '); - s.writeln(')'); + s.writeln(')`'); if (node.returnType.kind != Kind.primitive || node.isCtor) { s.writeln(_releaseInstruction); } diff --git a/pkgs/jnigen/pubspec.yaml b/pkgs/jnigen/pubspec.yaml index 9b4db9cd8..9d24dc97f 100644 --- a/pkgs/jnigen/pubspec.yaml +++ b/pkgs/jnigen/pubspec.yaml @@ -4,7 +4,7 @@ name: jnigen description: A Dart bindings generator for Java and Kotlin that uses JNI under the hood to interop with Java virtual machine. -version: 0.10.0 +version: 0.10.1 repository: https://github.com/dart-lang/native/tree/main/pkgs/jnigen environment: diff --git a/pkgs/jnigen/test/jackson_core_test/third_party/bindings/com/fasterxml/jackson/core/JsonFactory.dart b/pkgs/jnigen/test/jackson_core_test/third_party/bindings/com/fasterxml/jackson/core/JsonFactory.dart index 57513fb9d..2aacdd8c2 100644 --- a/pkgs/jnigen/test/jackson_core_test/third_party/bindings/com/fasterxml/jackson/core/JsonFactory.dart +++ b/pkgs/jnigen/test/jackson_core_test/third_party/bindings/com/fasterxml/jackson/core/JsonFactory.dart @@ -47,7 +47,7 @@ import 'package:jni/jni.dart' as jni; import 'JsonParser.dart' as jsonparser_; -/// from: com.fasterxml.jackson.core.JsonFactory$Feature +/// from: `com.fasterxml.jackson.core.JsonFactory$Feature` /// /// Enumeration that defines all on/off features that can only be /// changed for JsonFactory. @@ -81,7 +81,7 @@ class JsonFactory_Feature extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: static public com.fasterxml.jackson.core.JsonFactory.Feature[] values() + /// from: `static public com.fasterxml.jackson.core.JsonFactory.Feature[] values()` /// The returned object must be released after use, by calling the [release] method. static jni.JArray values() { return _values(_class.reference.pointer, _id_values as jni.JMethodIDPtr) @@ -104,7 +104,7 @@ class JsonFactory_Feature extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: static public com.fasterxml.jackson.core.JsonFactory.Feature valueOf(java.lang.String name) + /// from: `static public com.fasterxml.jackson.core.JsonFactory.Feature valueOf(java.lang.String name)` /// The returned object must be released after use, by calling the [release] method. static JsonFactory_Feature valueOf( jni.JString name, @@ -131,7 +131,7 @@ class JsonFactory_Feature extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: static public int collectDefaults() + /// from: `static public int collectDefaults()` /// /// Method that calculates bit set (flags) of all features that /// are enabled by default. @@ -159,7 +159,7 @@ class JsonFactory_Feature extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public boolean enabledByDefault() + /// from: `public boolean enabledByDefault()` bool enabledByDefault() { return _enabledByDefault( reference.pointer, _id_enabledByDefault as jni.JMethodIDPtr) @@ -179,7 +179,7 @@ class JsonFactory_Feature extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, int)>(); - /// from: public boolean enabledIn(int flags) + /// from: `public boolean enabledIn(int flags)` bool enabledIn( int flags, ) { @@ -205,7 +205,7 @@ class JsonFactory_Feature extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public int getMask() + /// from: `public int getMask()` int getMask() { return _getMask(reference.pointer, _id_getMask as jni.JMethodIDPtr).integer; } @@ -237,7 +237,7 @@ final class $JsonFactory_FeatureType extends jni.JObjType { } } -/// from: com.fasterxml.jackson.core.JsonFactory +/// from: `com.fasterxml.jackson.core.JsonFactory` /// /// The main factory class of Jackson package, used to configure and /// construct reader (aka parser, JsonParser) @@ -274,7 +274,7 @@ class JsonFactory extends jni.JObject { r'Ljava/lang/String;', ); - /// from: static public final java.lang.String FORMAT_NAME_JSON + /// from: `static public final java.lang.String FORMAT_NAME_JSON` /// The returned object must be released after use, by calling the [release] method. /// /// Name used to identify JSON format @@ -287,7 +287,7 @@ class JsonFactory extends jni.JObject { r'I', ); - /// from: static protected final int DEFAULT_FACTORY_FEATURE_FLAGS + /// from: `static protected final int DEFAULT_FACTORY_FEATURE_FLAGS` /// /// Bitfield (set of flags) of all factory features that are enabled by default. static int get DEFAULT_FACTORY_FEATURE_FLAGS => @@ -298,7 +298,7 @@ class JsonFactory extends jni.JObject { r'I', ); - /// from: static protected final int DEFAULT_PARSER_FEATURE_FLAGS + /// from: `static protected final int DEFAULT_PARSER_FEATURE_FLAGS` /// /// Bitfield (set of flags) of all parser features that are enabled /// by default. @@ -310,7 +310,7 @@ class JsonFactory extends jni.JObject { r'I', ); - /// from: static protected final int DEFAULT_GENERATOR_FEATURE_FLAGS + /// from: `static protected final int DEFAULT_GENERATOR_FEATURE_FLAGS` /// /// Bitfield (set of flags) of all generator features that are enabled /// by default. @@ -322,7 +322,7 @@ class JsonFactory extends jni.JObject { r'Lcom/fasterxml/jackson/core/SerializableString;', ); - /// from: static public final com.fasterxml.jackson.core.SerializableString DEFAULT_ROOT_VALUE_SEPARATOR + /// from: `static public final com.fasterxml.jackson.core.SerializableString DEFAULT_ROOT_VALUE_SEPARATOR` /// The returned object must be released after use, by calling the [release] method. static jni.JObject get DEFAULT_ROOT_VALUE_SEPARATOR => _id_DEFAULT_ROOT_VALUE_SEPARATOR.get(_class, const jni.JObjectType()); @@ -343,7 +343,7 @@ class JsonFactory extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public void () + /// from: `public void ()` /// The returned object must be released after use, by calling the [release] method. /// /// Default constructor used to create factory instances. @@ -375,7 +375,7 @@ class JsonFactory extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void (com.fasterxml.jackson.core.ObjectCodec oc) + /// from: `public void (com.fasterxml.jackson.core.ObjectCodec oc)` /// The returned object must be released after use, by calling the [release] method. factory JsonFactory.new1( jni.JObject oc, @@ -403,7 +403,7 @@ class JsonFactory extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, ffi.Pointer)>(); - /// from: protected void (com.fasterxml.jackson.core.JsonFactory src, com.fasterxml.jackson.core.ObjectCodec codec) + /// from: `protected void (com.fasterxml.jackson.core.JsonFactory src, com.fasterxml.jackson.core.ObjectCodec codec)` /// The returned object must be released after use, by calling the [release] method. /// /// Constructor used when copy()ing a factory instance. @@ -437,7 +437,7 @@ class JsonFactory extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void (com.fasterxml.jackson.core.JsonFactoryBuilder b) + /// from: `public void (com.fasterxml.jackson.core.JsonFactoryBuilder b)` /// The returned object must be released after use, by calling the [release] method. /// /// Constructor used by JsonFactoryBuilder for instantiation. @@ -466,7 +466,7 @@ class JsonFactory extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, int)>(); - /// from: protected void (com.fasterxml.jackson.core.TSFBuilder b, boolean bogus) + /// from: `protected void (com.fasterxml.jackson.core.TSFBuilder b, boolean bogus)` /// The returned object must be released after use, by calling the [release] method. /// /// Constructor for subtypes; needed to work around the fact that before 3.0, @@ -500,7 +500,7 @@ class JsonFactory extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public com.fasterxml.jackson.core.TSFBuilder rebuild() + /// from: `public com.fasterxml.jackson.core.TSFBuilder rebuild()` /// The returned object must be released after use, by calling the [release] method. /// /// Method that allows construction of differently configured factory, starting @@ -529,7 +529,7 @@ class JsonFactory extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: static public com.fasterxml.jackson.core.TSFBuilder builder() + /// from: `static public com.fasterxml.jackson.core.TSFBuilder builder()` /// The returned object must be released after use, by calling the [release] method. /// /// Main factory method to use for constructing JsonFactory instances with @@ -562,7 +562,7 @@ class JsonFactory extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public com.fasterxml.jackson.core.JsonFactory copy() + /// from: `public com.fasterxml.jackson.core.JsonFactory copy()` /// The returned object must be released after use, by calling the [release] method. /// /// Method for constructing a new JsonFactory that has @@ -599,7 +599,7 @@ class JsonFactory extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: protected java.lang.Object readResolve() + /// from: `protected java.lang.Object readResolve()` /// The returned object must be released after use, by calling the [release] method. /// /// Method that we need to override to actually make restoration go @@ -630,7 +630,7 @@ class JsonFactory extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public boolean requiresPropertyOrdering() + /// from: `public boolean requiresPropertyOrdering()` /// /// Introspection method that higher-level functionality may call /// to see whether underlying data format requires a stable ordering @@ -669,7 +669,7 @@ class JsonFactory extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public boolean canHandleBinaryNatively() + /// from: `public boolean canHandleBinaryNatively()` /// /// Introspection method that higher-level functionality may call /// to see whether underlying data format can read and write binary @@ -705,7 +705,7 @@ class JsonFactory extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public boolean canUseCharArrays() + /// from: `public boolean canUseCharArrays()` /// /// Introspection method that can be used by base factory to check /// whether access using char[] is something that actual @@ -741,7 +741,7 @@ class JsonFactory extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public boolean canParseAsync() + /// from: `public boolean canParseAsync()` /// /// Introspection method that can be used to check whether this /// factory can create non-blocking parsers: parsers that do not @@ -773,7 +773,7 @@ class JsonFactory extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public java.lang.Class getFormatReadFeatureType() + /// from: `public java.lang.Class getFormatReadFeatureType()` /// The returned object must be released after use, by calling the [release] method. jni.JObject getFormatReadFeatureType() { return _getFormatReadFeatureType( @@ -798,7 +798,7 @@ class JsonFactory extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public java.lang.Class getFormatWriteFeatureType() + /// from: `public java.lang.Class getFormatWriteFeatureType()` /// The returned object must be released after use, by calling the [release] method. jni.JObject getFormatWriteFeatureType() { return _getFormatWriteFeatureType(reference.pointer, @@ -822,7 +822,7 @@ class JsonFactory extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public boolean canUseSchema(com.fasterxml.jackson.core.FormatSchema schema) + /// from: `public boolean canUseSchema(com.fasterxml.jackson.core.FormatSchema schema)` /// /// Method that can be used to quickly check whether given schema /// is something that parsers and/or generators constructed by this @@ -858,7 +858,7 @@ class JsonFactory extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public java.lang.String getFormatName() + /// from: `public java.lang.String getFormatName()` /// The returned object must be released after use, by calling the [release] method. /// /// Method that returns short textual id identifying format @@ -889,7 +889,7 @@ class JsonFactory extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public com.fasterxml.jackson.core.format.MatchStrength hasFormat(com.fasterxml.jackson.core.format.InputAccessor acc) + /// from: `public com.fasterxml.jackson.core.format.MatchStrength hasFormat(com.fasterxml.jackson.core.format.InputAccessor acc)` /// The returned object must be released after use, by calling the [release] method. jni.JObject hasFormat( jni.JObject acc, @@ -916,7 +916,7 @@ class JsonFactory extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public boolean requiresCustomCodec() + /// from: `public boolean requiresCustomCodec()` /// /// Method that can be called to determine if a custom /// ObjectCodec is needed for binding data parsed @@ -949,7 +949,7 @@ class JsonFactory extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: protected com.fasterxml.jackson.core.format.MatchStrength hasJSONFormat(com.fasterxml.jackson.core.format.InputAccessor acc) + /// from: `protected com.fasterxml.jackson.core.format.MatchStrength hasJSONFormat(com.fasterxml.jackson.core.format.InputAccessor acc)` /// The returned object must be released after use, by calling the [release] method. jni.JObject hasJSONFormat( jni.JObject acc, @@ -976,7 +976,7 @@ class JsonFactory extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public com.fasterxml.jackson.core.Version version() + /// from: `public com.fasterxml.jackson.core.Version version()` /// The returned object must be released after use, by calling the [release] method. jni.JObject version() { return _version(reference.pointer, _id_version as jni.JMethodIDPtr) @@ -999,7 +999,7 @@ class JsonFactory extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, int)>(); - /// from: public final com.fasterxml.jackson.core.JsonFactory configure(com.fasterxml.jackson.core.JsonFactory.Feature f, boolean state) + /// from: `public final com.fasterxml.jackson.core.JsonFactory configure(com.fasterxml.jackson.core.JsonFactory.Feature f, boolean state)` /// The returned object must be released after use, by calling the [release] method. /// /// Method for enabling or disabling specified parser feature @@ -1033,7 +1033,7 @@ class JsonFactory extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public com.fasterxml.jackson.core.JsonFactory enable(com.fasterxml.jackson.core.JsonFactory.Feature f) + /// from: `public com.fasterxml.jackson.core.JsonFactory enable(com.fasterxml.jackson.core.JsonFactory.Feature f)` /// The returned object must be released after use, by calling the [release] method. /// /// Method for enabling specified parser feature @@ -1065,7 +1065,7 @@ class JsonFactory extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public com.fasterxml.jackson.core.JsonFactory disable(com.fasterxml.jackson.core.JsonFactory.Feature f) + /// from: `public com.fasterxml.jackson.core.JsonFactory disable(com.fasterxml.jackson.core.JsonFactory.Feature f)` /// The returned object must be released after use, by calling the [release] method. /// /// Method for disabling specified parser features @@ -1097,7 +1097,7 @@ class JsonFactory extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public final boolean isEnabled(com.fasterxml.jackson.core.JsonFactory.Feature f) + /// from: `public final boolean isEnabled(com.fasterxml.jackson.core.JsonFactory.Feature f)` /// /// Checked whether specified parser feature is enabled. ///@param f Feature to check @@ -1127,7 +1127,7 @@ class JsonFactory extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public final int getParserFeatures() + /// from: `public final int getParserFeatures()` int getParserFeatures() { return _getParserFeatures( reference.pointer, _id_getParserFeatures as jni.JMethodIDPtr) @@ -1151,7 +1151,7 @@ class JsonFactory extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public final int getGeneratorFeatures() + /// from: `public final int getGeneratorFeatures()` int getGeneratorFeatures() { return _getGeneratorFeatures( reference.pointer, _id_getGeneratorFeatures as jni.JMethodIDPtr) @@ -1175,7 +1175,7 @@ class JsonFactory extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public int getFormatParserFeatures() + /// from: `public int getFormatParserFeatures()` int getFormatParserFeatures() { return _getFormatParserFeatures( reference.pointer, _id_getFormatParserFeatures as jni.JMethodIDPtr) @@ -1199,7 +1199,7 @@ class JsonFactory extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public int getFormatGeneratorFeatures() + /// from: `public int getFormatGeneratorFeatures()` int getFormatGeneratorFeatures() { return _getFormatGeneratorFeatures(reference.pointer, _id_getFormatGeneratorFeatures as jni.JMethodIDPtr) @@ -1222,7 +1222,7 @@ class JsonFactory extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, int)>(); - /// from: public final com.fasterxml.jackson.core.JsonFactory configure(com.fasterxml.jackson.core.JsonParser.Feature f, boolean state) + /// from: `public final com.fasterxml.jackson.core.JsonFactory configure(com.fasterxml.jackson.core.JsonParser.Feature f, boolean state)` /// The returned object must be released after use, by calling the [release] method. /// /// Method for enabling or disabling specified parser feature @@ -1255,7 +1255,7 @@ class JsonFactory extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public com.fasterxml.jackson.core.JsonFactory enable(com.fasterxml.jackson.core.JsonParser.Feature f) + /// from: `public com.fasterxml.jackson.core.JsonFactory enable(com.fasterxml.jackson.core.JsonParser.Feature f)` /// The returned object must be released after use, by calling the [release] method. /// /// Method for enabling specified parser feature @@ -1286,7 +1286,7 @@ class JsonFactory extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public com.fasterxml.jackson.core.JsonFactory disable(com.fasterxml.jackson.core.JsonParser.Feature f) + /// from: `public com.fasterxml.jackson.core.JsonFactory disable(com.fasterxml.jackson.core.JsonParser.Feature f)` /// The returned object must be released after use, by calling the [release] method. /// /// Method for disabling specified parser features @@ -1317,7 +1317,7 @@ class JsonFactory extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public final boolean isEnabled(com.fasterxml.jackson.core.JsonParser.Feature f) + /// from: `public final boolean isEnabled(com.fasterxml.jackson.core.JsonParser.Feature f)` /// /// Method for checking if the specified parser feature is enabled. ///@param f Feature to check @@ -1346,7 +1346,7 @@ class JsonFactory extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public final boolean isEnabled(com.fasterxml.jackson.core.StreamReadFeature f) + /// from: `public final boolean isEnabled(com.fasterxml.jackson.core.StreamReadFeature f)` /// /// Method for checking if the specified stream read feature is enabled. ///@param f Feature to check @@ -1377,7 +1377,7 @@ class JsonFactory extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public com.fasterxml.jackson.core.io.InputDecorator getInputDecorator() + /// from: `public com.fasterxml.jackson.core.io.InputDecorator getInputDecorator()` /// The returned object must be released after use, by calling the [release] method. /// /// Method for getting currently configured input decorator (if any; @@ -1405,7 +1405,7 @@ class JsonFactory extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public com.fasterxml.jackson.core.JsonFactory setInputDecorator(com.fasterxml.jackson.core.io.InputDecorator d) + /// from: `public com.fasterxml.jackson.core.JsonFactory setInputDecorator(com.fasterxml.jackson.core.io.InputDecorator d)` /// The returned object must be released after use, by calling the [release] method. /// /// Method for overriding currently configured input decorator @@ -1436,7 +1436,7 @@ class JsonFactory extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, int)>(); - /// from: public final com.fasterxml.jackson.core.JsonFactory configure(com.fasterxml.jackson.core.JsonGenerator.Feature f, boolean state) + /// from: `public final com.fasterxml.jackson.core.JsonFactory configure(com.fasterxml.jackson.core.JsonGenerator.Feature f, boolean state)` /// The returned object must be released after use, by calling the [release] method. /// /// Method for enabling or disabling specified generator feature @@ -1469,7 +1469,7 @@ class JsonFactory extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public com.fasterxml.jackson.core.JsonFactory enable(com.fasterxml.jackson.core.JsonGenerator.Feature f) + /// from: `public com.fasterxml.jackson.core.JsonFactory enable(com.fasterxml.jackson.core.JsonGenerator.Feature f)` /// The returned object must be released after use, by calling the [release] method. /// /// Method for enabling specified generator features @@ -1500,7 +1500,7 @@ class JsonFactory extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public com.fasterxml.jackson.core.JsonFactory disable(com.fasterxml.jackson.core.JsonGenerator.Feature f) + /// from: `public com.fasterxml.jackson.core.JsonFactory disable(com.fasterxml.jackson.core.JsonGenerator.Feature f)` /// The returned object must be released after use, by calling the [release] method. /// /// Method for disabling specified generator feature @@ -1531,7 +1531,7 @@ class JsonFactory extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public final boolean isEnabled(com.fasterxml.jackson.core.JsonGenerator.Feature f) + /// from: `public final boolean isEnabled(com.fasterxml.jackson.core.JsonGenerator.Feature f)` /// /// Check whether specified generator feature is enabled. ///@param f Feature to check @@ -1560,7 +1560,7 @@ class JsonFactory extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public final boolean isEnabled(com.fasterxml.jackson.core.StreamWriteFeature f) + /// from: `public final boolean isEnabled(com.fasterxml.jackson.core.StreamWriteFeature f)` /// /// Check whether specified stream write feature is enabled. ///@param f Feature to check @@ -1591,7 +1591,7 @@ class JsonFactory extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public com.fasterxml.jackson.core.io.CharacterEscapes getCharacterEscapes() + /// from: `public com.fasterxml.jackson.core.io.CharacterEscapes getCharacterEscapes()` /// The returned object must be released after use, by calling the [release] method. /// /// Method for accessing custom escapes factory uses for JsonGenerators @@ -1619,7 +1619,7 @@ class JsonFactory extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public com.fasterxml.jackson.core.JsonFactory setCharacterEscapes(com.fasterxml.jackson.core.io.CharacterEscapes esc) + /// from: `public com.fasterxml.jackson.core.JsonFactory setCharacterEscapes(com.fasterxml.jackson.core.io.CharacterEscapes esc)` /// The returned object must be released after use, by calling the [release] method. /// /// Method for defining custom escapes factory uses for JsonGenerators @@ -1651,7 +1651,7 @@ class JsonFactory extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public com.fasterxml.jackson.core.io.OutputDecorator getOutputDecorator() + /// from: `public com.fasterxml.jackson.core.io.OutputDecorator getOutputDecorator()` /// The returned object must be released after use, by calling the [release] method. /// /// Method for getting currently configured output decorator (if any; @@ -1680,7 +1680,7 @@ class JsonFactory extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public com.fasterxml.jackson.core.JsonFactory setOutputDecorator(com.fasterxml.jackson.core.io.OutputDecorator d) + /// from: `public com.fasterxml.jackson.core.JsonFactory setOutputDecorator(com.fasterxml.jackson.core.io.OutputDecorator d)` /// The returned object must be released after use, by calling the [release] method. /// /// Method for overriding currently configured output decorator @@ -1711,7 +1711,7 @@ class JsonFactory extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public com.fasterxml.jackson.core.JsonFactory setRootValueSeparator(java.lang.String sep) + /// from: `public com.fasterxml.jackson.core.JsonFactory setRootValueSeparator(java.lang.String sep)` /// The returned object must be released after use, by calling the [release] method. /// /// Method that allows overriding String used for separating root-level @@ -1746,7 +1746,7 @@ class JsonFactory extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public java.lang.String getRootValueSeparator() + /// from: `public java.lang.String getRootValueSeparator()` /// The returned object must be released after use, by calling the [release] method. /// /// @return Root value separator configured, if any @@ -1772,7 +1772,7 @@ class JsonFactory extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public com.fasterxml.jackson.core.JsonFactory setCodec(com.fasterxml.jackson.core.ObjectCodec oc) + /// from: `public com.fasterxml.jackson.core.JsonFactory setCodec(com.fasterxml.jackson.core.ObjectCodec oc)` /// The returned object must be released after use, by calling the [release] method. /// /// Method for associating a ObjectCodec (typically @@ -1807,7 +1807,7 @@ class JsonFactory extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public com.fasterxml.jackson.core.ObjectCodec getCodec() + /// from: `public com.fasterxml.jackson.core.ObjectCodec getCodec()` /// The returned object must be released after use, by calling the [release] method. jni.JObject getCodec() { return _getCodec(reference.pointer, _id_getCodec as jni.JMethodIDPtr) @@ -1830,7 +1830,7 @@ class JsonFactory extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public com.fasterxml.jackson.core.JsonParser createParser(java.io.File f) + /// from: `public com.fasterxml.jackson.core.JsonParser createParser(java.io.File f)` /// The returned object must be released after use, by calling the [release] method. /// /// Method for constructing JSON parser instance to parse @@ -1873,7 +1873,7 @@ class JsonFactory extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public com.fasterxml.jackson.core.JsonParser createParser(java.net.URL url) + /// from: `public com.fasterxml.jackson.core.JsonParser createParser(java.net.URL url)` /// The returned object must be released after use, by calling the [release] method. /// /// Method for constructing JSON parser instance to parse @@ -1914,7 +1914,7 @@ class JsonFactory extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public com.fasterxml.jackson.core.JsonParser createParser(java.io.InputStream in) + /// from: `public com.fasterxml.jackson.core.JsonParser createParser(java.io.InputStream in)` /// The returned object must be released after use, by calling the [release] method. /// /// Method for constructing JSON parser instance to parse @@ -1958,7 +1958,7 @@ class JsonFactory extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public com.fasterxml.jackson.core.JsonParser createParser(java.io.Reader r) + /// from: `public com.fasterxml.jackson.core.JsonParser createParser(java.io.Reader r)` /// The returned object must be released after use, by calling the [release] method. /// /// Method for constructing parser for parsing @@ -1995,7 +1995,7 @@ class JsonFactory extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public com.fasterxml.jackson.core.JsonParser createParser(byte[] data) + /// from: `public com.fasterxml.jackson.core.JsonParser createParser(byte[] data)` /// The returned object must be released after use, by calling the [release] method. /// /// Method for constructing parser for parsing @@ -2025,7 +2025,7 @@ class JsonFactory extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, int, int)>(); - /// from: public com.fasterxml.jackson.core.JsonParser createParser(byte[] data, int offset, int len) + /// from: `public com.fasterxml.jackson.core.JsonParser createParser(byte[] data, int offset, int len)` /// The returned object must be released after use, by calling the [release] method. /// /// Method for constructing parser for parsing @@ -2064,7 +2064,7 @@ class JsonFactory extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public com.fasterxml.jackson.core.JsonParser createParser(java.lang.String content) + /// from: `public com.fasterxml.jackson.core.JsonParser createParser(java.lang.String content)` /// The returned object must be released after use, by calling the [release] method. /// /// Method for constructing parser for parsing @@ -2094,7 +2094,7 @@ class JsonFactory extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public com.fasterxml.jackson.core.JsonParser createParser(char[] content) + /// from: `public com.fasterxml.jackson.core.JsonParser createParser(char[] content)` /// The returned object must be released after use, by calling the [release] method. /// /// Method for constructing parser for parsing @@ -2124,7 +2124,7 @@ class JsonFactory extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, int, int)>(); - /// from: public com.fasterxml.jackson.core.JsonParser createParser(char[] content, int offset, int len) + /// from: `public com.fasterxml.jackson.core.JsonParser createParser(char[] content, int offset, int len)` /// The returned object must be released after use, by calling the [release] method. /// /// Method for constructing parser for parsing contents of given char array. @@ -2159,7 +2159,7 @@ class JsonFactory extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public com.fasterxml.jackson.core.JsonParser createParser(java.io.DataInput in) + /// from: `public com.fasterxml.jackson.core.JsonParser createParser(java.io.DataInput in)` /// The returned object must be released after use, by calling the [release] method. /// /// Optional method for constructing parser for reading contents from specified DataInput @@ -2194,7 +2194,7 @@ class JsonFactory extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public com.fasterxml.jackson.core.JsonParser createNonBlockingByteArrayParser() + /// from: `public com.fasterxml.jackson.core.JsonParser createNonBlockingByteArrayParser()` /// The returned object must be released after use, by calling the [release] method. /// /// Optional method for constructing parser for non-blocking parsing @@ -2235,7 +2235,7 @@ class JsonFactory extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, ffi.Pointer)>(); - /// from: public com.fasterxml.jackson.core.JsonGenerator createGenerator(java.io.OutputStream out, com.fasterxml.jackson.core.JsonEncoding enc) + /// from: `public com.fasterxml.jackson.core.JsonGenerator createGenerator(java.io.OutputStream out, com.fasterxml.jackson.core.JsonEncoding enc)` /// The returned object must be released after use, by calling the [release] method. /// /// Method for constructing JSON generator for writing JSON content @@ -2284,7 +2284,7 @@ class JsonFactory extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public com.fasterxml.jackson.core.JsonGenerator createGenerator(java.io.OutputStream out) + /// from: `public com.fasterxml.jackson.core.JsonGenerator createGenerator(java.io.OutputStream out)` /// The returned object must be released after use, by calling the [release] method. /// /// Convenience method for constructing generator that uses default @@ -2316,7 +2316,7 @@ class JsonFactory extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public com.fasterxml.jackson.core.JsonGenerator createGenerator(java.io.Writer w) + /// from: `public com.fasterxml.jackson.core.JsonGenerator createGenerator(java.io.Writer w)` /// The returned object must be released after use, by calling the [release] method. /// /// Method for constructing JSON generator for writing JSON content @@ -2357,7 +2357,7 @@ class JsonFactory extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, ffi.Pointer)>(); - /// from: public com.fasterxml.jackson.core.JsonGenerator createGenerator(java.io.File f, com.fasterxml.jackson.core.JsonEncoding enc) + /// from: `public com.fasterxml.jackson.core.JsonGenerator createGenerator(java.io.File f, com.fasterxml.jackson.core.JsonEncoding enc)` /// The returned object must be released after use, by calling the [release] method. /// /// Method for constructing JSON generator for writing JSON content @@ -2403,7 +2403,7 @@ class JsonFactory extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, ffi.Pointer)>(); - /// from: public com.fasterxml.jackson.core.JsonGenerator createGenerator(java.io.DataOutput out, com.fasterxml.jackson.core.JsonEncoding enc) + /// from: `public com.fasterxml.jackson.core.JsonGenerator createGenerator(java.io.DataOutput out, com.fasterxml.jackson.core.JsonEncoding enc)` /// The returned object must be released after use, by calling the [release] method. /// /// Method for constructing generator for writing content using specified @@ -2437,7 +2437,7 @@ class JsonFactory extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public com.fasterxml.jackson.core.JsonGenerator createGenerator(java.io.DataOutput out) + /// from: `public com.fasterxml.jackson.core.JsonGenerator createGenerator(java.io.DataOutput out)` /// The returned object must be released after use, by calling the [release] method. /// /// Convenience method for constructing generator that uses default @@ -2469,7 +2469,7 @@ class JsonFactory extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public com.fasterxml.jackson.core.JsonParser createJsonParser(java.io.File f) + /// from: `public com.fasterxml.jackson.core.JsonParser createJsonParser(java.io.File f)` /// The returned object must be released after use, by calling the [release] method. /// /// Method for constructing JSON parser instance to parse @@ -2514,7 +2514,7 @@ class JsonFactory extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public com.fasterxml.jackson.core.JsonParser createJsonParser(java.net.URL url) + /// from: `public com.fasterxml.jackson.core.JsonParser createJsonParser(java.net.URL url)` /// The returned object must be released after use, by calling the [release] method. /// /// Method for constructing JSON parser instance to parse @@ -2558,7 +2558,7 @@ class JsonFactory extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public com.fasterxml.jackson.core.JsonParser createJsonParser(java.io.InputStream in) + /// from: `public com.fasterxml.jackson.core.JsonParser createJsonParser(java.io.InputStream in)` /// The returned object must be released after use, by calling the [release] method. /// /// Method for constructing JSON parser instance to parse @@ -2605,7 +2605,7 @@ class JsonFactory extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public com.fasterxml.jackson.core.JsonParser createJsonParser(java.io.Reader r) + /// from: `public com.fasterxml.jackson.core.JsonParser createJsonParser(java.io.Reader r)` /// The returned object must be released after use, by calling the [release] method. /// /// Method for constructing parser for parsing @@ -2645,7 +2645,7 @@ class JsonFactory extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public com.fasterxml.jackson.core.JsonParser createJsonParser(byte[] data) + /// from: `public com.fasterxml.jackson.core.JsonParser createJsonParser(byte[] data)` /// The returned object must be released after use, by calling the [release] method. /// /// Method for constructing parser for parsing the contents of given byte array. @@ -2678,7 +2678,7 @@ class JsonFactory extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, int, int)>(); - /// from: public com.fasterxml.jackson.core.JsonParser createJsonParser(byte[] data, int offset, int len) + /// from: `public com.fasterxml.jackson.core.JsonParser createJsonParser(byte[] data, int offset, int len)` /// The returned object must be released after use, by calling the [release] method. /// /// Method for constructing parser for parsing @@ -2720,7 +2720,7 @@ class JsonFactory extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public com.fasterxml.jackson.core.JsonParser createJsonParser(java.lang.String content) + /// from: `public com.fasterxml.jackson.core.JsonParser createJsonParser(java.lang.String content)` /// The returned object must be released after use, by calling the [release] method. /// /// Method for constructing parser for parsing @@ -2759,7 +2759,7 @@ class JsonFactory extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, ffi.Pointer)>(); - /// from: public com.fasterxml.jackson.core.JsonGenerator createJsonGenerator(java.io.OutputStream out, com.fasterxml.jackson.core.JsonEncoding enc) + /// from: `public com.fasterxml.jackson.core.JsonGenerator createJsonGenerator(java.io.OutputStream out, com.fasterxml.jackson.core.JsonEncoding enc)` /// The returned object must be released after use, by calling the [release] method. /// /// Method for constructing JSON generator for writing JSON content @@ -2810,7 +2810,7 @@ class JsonFactory extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public com.fasterxml.jackson.core.JsonGenerator createJsonGenerator(java.io.Writer out) + /// from: `public com.fasterxml.jackson.core.JsonGenerator createJsonGenerator(java.io.Writer out)` /// The returned object must be released after use, by calling the [release] method. /// /// Method for constructing JSON generator for writing JSON content @@ -2850,7 +2850,7 @@ class JsonFactory extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public com.fasterxml.jackson.core.JsonGenerator createJsonGenerator(java.io.OutputStream out) + /// from: `public com.fasterxml.jackson.core.JsonGenerator createJsonGenerator(java.io.OutputStream out)` /// The returned object must be released after use, by calling the [release] method. /// /// Convenience method for constructing generator that uses default diff --git a/pkgs/jnigen/test/jackson_core_test/third_party/bindings/com/fasterxml/jackson/core/JsonParser.dart b/pkgs/jnigen/test/jackson_core_test/third_party/bindings/com/fasterxml/jackson/core/JsonParser.dart index 499a91f7b..ba0f56c79 100644 --- a/pkgs/jnigen/test/jackson_core_test/third_party/bindings/com/fasterxml/jackson/core/JsonParser.dart +++ b/pkgs/jnigen/test/jackson_core_test/third_party/bindings/com/fasterxml/jackson/core/JsonParser.dart @@ -47,7 +47,7 @@ import 'package:jni/jni.dart' as jni; import 'JsonToken.dart' as jsontoken_; -/// from: com.fasterxml.jackson.core.JsonParser$Feature +/// from: `com.fasterxml.jackson.core.JsonParser$Feature` /// /// Enumeration that defines all on/off features for parsers. class JsonParser_Feature extends jni.JObject { @@ -80,7 +80,7 @@ class JsonParser_Feature extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: static public com.fasterxml.jackson.core.JsonParser.Feature[] values() + /// from: `static public com.fasterxml.jackson.core.JsonParser.Feature[] values()` /// The returned object must be released after use, by calling the [release] method. static jni.JArray values() { return _values(_class.reference.pointer, _id_values as jni.JMethodIDPtr) @@ -103,7 +103,7 @@ class JsonParser_Feature extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: static public com.fasterxml.jackson.core.JsonParser.Feature valueOf(java.lang.String name) + /// from: `static public com.fasterxml.jackson.core.JsonParser.Feature valueOf(java.lang.String name)` /// The returned object must be released after use, by calling the [release] method. static JsonParser_Feature valueOf( jni.JString name, @@ -130,7 +130,7 @@ class JsonParser_Feature extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: static public int collectDefaults() + /// from: `static public int collectDefaults()` /// /// Method that calculates bit set (flags) of all features that /// are enabled by default. @@ -158,7 +158,7 @@ class JsonParser_Feature extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public boolean enabledByDefault() + /// from: `public boolean enabledByDefault()` bool enabledByDefault() { return _enabledByDefault( reference.pointer, _id_enabledByDefault as jni.JMethodIDPtr) @@ -178,7 +178,7 @@ class JsonParser_Feature extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, int)>(); - /// from: public boolean enabledIn(int flags) + /// from: `public boolean enabledIn(int flags)` bool enabledIn( int flags, ) { @@ -204,7 +204,7 @@ class JsonParser_Feature extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public int getMask() + /// from: `public int getMask()` int getMask() { return _getMask(reference.pointer, _id_getMask as jni.JMethodIDPtr).integer; } @@ -236,7 +236,7 @@ final class $JsonParser_FeatureType extends jni.JObjType { } } -/// from: com.fasterxml.jackson.core.JsonParser$NumberType +/// from: `com.fasterxml.jackson.core.JsonParser$NumberType` /// /// Enumeration of possible "native" (optimal) types that can be /// used for numbers. @@ -270,7 +270,7 @@ class JsonParser_NumberType extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: static public com.fasterxml.jackson.core.JsonParser.NumberType[] values() + /// from: `static public com.fasterxml.jackson.core.JsonParser.NumberType[] values()` /// The returned object must be released after use, by calling the [release] method. static jni.JArray values() { return _values(_class.reference.pointer, _id_values as jni.JMethodIDPtr) @@ -293,7 +293,7 @@ class JsonParser_NumberType extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: static public com.fasterxml.jackson.core.JsonParser.NumberType valueOf(java.lang.String name) + /// from: `static public com.fasterxml.jackson.core.JsonParser.NumberType valueOf(java.lang.String name)` /// The returned object must be released after use, by calling the [release] method. static JsonParser_NumberType valueOf( jni.JString name, @@ -331,7 +331,7 @@ final class $JsonParser_NumberTypeType } } -/// from: com.fasterxml.jackson.core.JsonParser +/// from: `com.fasterxml.jackson.core.JsonParser` /// /// Base class that defines public API for reading JSON content. /// Instances are created using factory methods of @@ -355,7 +355,7 @@ class JsonParser extends jni.JObject { r'Lcom/fasterxml/jackson/core/util/JacksonFeatureSet;', ); - /// from: static protected final com.fasterxml.jackson.core.util.JacksonFeatureSet DEFAULT_READ_CAPABILITIES + /// from: `static protected final com.fasterxml.jackson.core.util.JacksonFeatureSet DEFAULT_READ_CAPABILITIES` /// The returned object must be released after use, by calling the [release] method. /// /// Default set of StreamReadCapabilityies that may be used as @@ -381,7 +381,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: protected void () + /// from: `protected void ()` /// The returned object must be released after use, by calling the [release] method. factory JsonParser() { return JsonParser.fromReference( @@ -401,7 +401,7 @@ class JsonParser extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, int)>(); - /// from: protected void (int features) + /// from: `protected void (int features)` /// The returned object must be released after use, by calling the [release] method. factory JsonParser.new1( int features, @@ -428,7 +428,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public abstract com.fasterxml.jackson.core.ObjectCodec getCodec() + /// from: `public abstract com.fasterxml.jackson.core.ObjectCodec getCodec()` /// The returned object must be released after use, by calling the [release] method. /// /// Accessor for ObjectCodec associated with this @@ -456,7 +456,7 @@ class JsonParser extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public abstract void setCodec(com.fasterxml.jackson.core.ObjectCodec oc) + /// from: `public abstract void setCodec(com.fasterxml.jackson.core.ObjectCodec oc)` /// /// Setter that allows defining ObjectCodec associated with this /// parser, if any. Codec is used by \#readValueAs(Class) @@ -487,7 +487,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public java.lang.Object getInputSource() + /// from: `public java.lang.Object getInputSource()` /// The returned object must be released after use, by calling the [release] method. /// /// Method that can be used to get access to object that is used @@ -526,7 +526,7 @@ class JsonParser extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void setRequestPayloadOnError(com.fasterxml.jackson.core.util.RequestPayload payload) + /// from: `public void setRequestPayloadOnError(com.fasterxml.jackson.core.util.RequestPayload payload)` /// /// Sets the payload to be passed if JsonParseException is thrown. ///@param payload Payload to pass @@ -560,7 +560,7 @@ class JsonParser extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, ffi.Pointer)>(); - /// from: public void setRequestPayloadOnError(byte[] payload, java.lang.String charset) + /// from: `public void setRequestPayloadOnError(byte[] payload, java.lang.String charset)` /// /// Sets the byte[] request payload and the charset ///@param payload Payload to pass @@ -594,7 +594,7 @@ class JsonParser extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void setRequestPayloadOnError(java.lang.String payload) + /// from: `public void setRequestPayloadOnError(java.lang.String payload)` /// /// Sets the String request payload ///@param payload Payload to pass @@ -625,7 +625,7 @@ class JsonParser extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void setSchema(com.fasterxml.jackson.core.FormatSchema schema) + /// from: `public void setSchema(com.fasterxml.jackson.core.FormatSchema schema)` /// /// Method to call to make this parser use specified schema. Method must /// be called before trying to parse any content, right after parser instance @@ -662,7 +662,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public com.fasterxml.jackson.core.FormatSchema getSchema() + /// from: `public com.fasterxml.jackson.core.FormatSchema getSchema()` /// The returned object must be released after use, by calling the [release] method. /// /// Method for accessing Schema that this parser uses, if any. @@ -690,7 +690,7 @@ class JsonParser extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public boolean canUseSchema(com.fasterxml.jackson.core.FormatSchema schema) + /// from: `public boolean canUseSchema(com.fasterxml.jackson.core.FormatSchema schema)` /// /// Method that can be used to verify that given schema can be used with /// this parser (using \#setSchema). @@ -721,7 +721,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public boolean requiresCustomCodec() + /// from: `public boolean requiresCustomCodec()` /// /// Method that can be called to determine if a custom /// ObjectCodec is needed for binding data parsed @@ -754,7 +754,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public boolean canParseAsync() + /// from: `public boolean canParseAsync()` /// /// Method that can be called to determine if this parser instance /// uses non-blocking ("asynchronous") input access for decoding or not. @@ -790,7 +790,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public com.fasterxml.jackson.core.async.NonBlockingInputFeeder getNonBlockingInputFeeder() + /// from: `public com.fasterxml.jackson.core.async.NonBlockingInputFeeder getNonBlockingInputFeeder()` /// The returned object must be released after use, by calling the [release] method. /// /// Method that will either return a feeder instance (if parser uses @@ -821,7 +821,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public com.fasterxml.jackson.core.util.JacksonFeatureSet getReadCapabilities() + /// from: `public com.fasterxml.jackson.core.util.JacksonFeatureSet getReadCapabilities()` /// The returned object must be released after use, by calling the [release] method. /// /// Accessor for getting metadata on capabilities of this parser, based on @@ -851,7 +851,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public abstract com.fasterxml.jackson.core.Version version() + /// from: `public abstract com.fasterxml.jackson.core.Version version()` /// The returned object must be released after use, by calling the [release] method. /// /// Accessor for getting version of the core package, given a parser instance. @@ -880,7 +880,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public abstract void close() + /// from: `public abstract void close()` /// /// Closes the parser so that no further iteration or data access /// can be made; will also close the underlying input source @@ -917,7 +917,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public abstract boolean isClosed() + /// from: `public abstract boolean isClosed()` /// /// Method that can be called to determine whether this parser /// is closed or not. If it is closed, no new tokens can be @@ -948,7 +948,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public abstract com.fasterxml.jackson.core.JsonStreamContext getParsingContext() + /// from: `public abstract com.fasterxml.jackson.core.JsonStreamContext getParsingContext()` /// The returned object must be released after use, by calling the [release] method. /// /// Method that can be used to access current parsing context reader @@ -983,7 +983,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public com.fasterxml.jackson.core.JsonLocation currentLocation() + /// from: `public com.fasterxml.jackson.core.JsonLocation currentLocation()` /// The returned object must be released after use, by calling the [release] method. /// /// Method that returns location of the last processed input unit (character @@ -1021,7 +1021,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public com.fasterxml.jackson.core.JsonLocation currentTokenLocation() + /// from: `public com.fasterxml.jackson.core.JsonLocation currentTokenLocation()` /// The returned object must be released after use, by calling the [release] method. /// /// Method that return the __starting__ location of the current @@ -1059,7 +1059,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public abstract com.fasterxml.jackson.core.JsonLocation getCurrentLocation() + /// from: `public abstract com.fasterxml.jackson.core.JsonLocation getCurrentLocation()` /// The returned object must be released after use, by calling the [release] method. /// /// Alias for \#currentLocation(), to be deprecated in later @@ -1088,7 +1088,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public abstract com.fasterxml.jackson.core.JsonLocation getTokenLocation() + /// from: `public abstract com.fasterxml.jackson.core.JsonLocation getTokenLocation()` /// The returned object must be released after use, by calling the [release] method. /// /// Alias for \#currentTokenLocation(), to be deprecated in later @@ -1117,7 +1117,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public java.lang.Object currentValue() + /// from: `public java.lang.Object currentValue()` /// The returned object must be released after use, by calling the [release] method. /// /// Helper method, usually equivalent to: @@ -1153,7 +1153,7 @@ class JsonParser extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void assignCurrentValue(java.lang.Object v) + /// from: `public void assignCurrentValue(java.lang.Object v)` /// /// Helper method, usually equivalent to: /// @@ -1186,7 +1186,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public java.lang.Object getCurrentValue() + /// from: `public java.lang.Object getCurrentValue()` /// The returned object must be released after use, by calling the [release] method. /// /// Alias for \#currentValue(), to be deprecated in later @@ -1214,7 +1214,7 @@ class JsonParser extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void setCurrentValue(java.lang.Object v) + /// from: `public void setCurrentValue(java.lang.Object v)` /// /// Alias for \#assignCurrentValue, to be deprecated in later /// Jackson 2.x versions (and removed from Jackson 3.0). @@ -1243,7 +1243,7 @@ class JsonParser extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public int releaseBuffered(java.io.OutputStream out) + /// from: `public int releaseBuffered(java.io.OutputStream out)` /// /// Method that can be called to push back any content that /// has been read but not consumed by the parser. This is usually @@ -1280,7 +1280,7 @@ class JsonParser extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public int releaseBuffered(java.io.Writer w) + /// from: `public int releaseBuffered(java.io.Writer w)` /// /// Method that can be called to push back any content that /// has been read but not consumed by the parser. @@ -1318,7 +1318,7 @@ class JsonParser extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public com.fasterxml.jackson.core.JsonParser enable(com.fasterxml.jackson.core.JsonParser.Feature f) + /// from: `public com.fasterxml.jackson.core.JsonParser enable(com.fasterxml.jackson.core.JsonParser.Feature f)` /// The returned object must be released after use, by calling the [release] method. /// /// Method for enabling specified parser feature @@ -1349,7 +1349,7 @@ class JsonParser extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public com.fasterxml.jackson.core.JsonParser disable(com.fasterxml.jackson.core.JsonParser.Feature f) + /// from: `public com.fasterxml.jackson.core.JsonParser disable(com.fasterxml.jackson.core.JsonParser.Feature f)` /// The returned object must be released after use, by calling the [release] method. /// /// Method for disabling specified feature @@ -1380,7 +1380,7 @@ class JsonParser extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, int)>(); - /// from: public com.fasterxml.jackson.core.JsonParser configure(com.fasterxml.jackson.core.JsonParser.Feature f, boolean state) + /// from: `public com.fasterxml.jackson.core.JsonParser configure(com.fasterxml.jackson.core.JsonParser.Feature f, boolean state)` /// The returned object must be released after use, by calling the [release] method. /// /// Method for enabling or disabling specified feature @@ -1413,7 +1413,7 @@ class JsonParser extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public boolean isEnabled(com.fasterxml.jackson.core.JsonParser.Feature f) + /// from: `public boolean isEnabled(com.fasterxml.jackson.core.JsonParser.Feature f)` /// /// Method for checking whether specified Feature is enabled. ///@param f Feature to check @@ -1442,7 +1442,7 @@ class JsonParser extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public boolean isEnabled(com.fasterxml.jackson.core.StreamReadFeature f) + /// from: `public boolean isEnabled(com.fasterxml.jackson.core.StreamReadFeature f)` /// /// Method for checking whether specified Feature is enabled. ///@param f Feature to check @@ -1473,7 +1473,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public int getFeatureMask() + /// from: `public int getFeatureMask()` /// /// Bulk access method for getting state of all standard Features. ///@return Bit mask that defines current states of all standard Features. @@ -1497,7 +1497,7 @@ class JsonParser extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, int)>(); - /// from: public com.fasterxml.jackson.core.JsonParser setFeatureMask(int mask) + /// from: `public com.fasterxml.jackson.core.JsonParser setFeatureMask(int mask)` /// The returned object must be released after use, by calling the [release] method. /// /// Bulk set method for (re)setting states of all standard Features @@ -1526,7 +1526,7 @@ class JsonParser extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, int, int)>(); - /// from: public com.fasterxml.jackson.core.JsonParser overrideStdFeatures(int values, int mask) + /// from: `public com.fasterxml.jackson.core.JsonParser overrideStdFeatures(int values, int mask)` /// The returned object must be released after use, by calling the [release] method. /// /// Bulk set method for (re)setting states of features specified by mask. @@ -1567,7 +1567,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public int getFormatFeatures() + /// from: `public int getFormatFeatures()` /// /// Bulk access method for getting state of all FormatFeatures, format-specific /// on/off configuration settings. @@ -1592,7 +1592,7 @@ class JsonParser extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, int, int)>(); - /// from: public com.fasterxml.jackson.core.JsonParser overrideFormatFeatures(int values, int mask) + /// from: `public com.fasterxml.jackson.core.JsonParser overrideFormatFeatures(int values, int mask)` /// The returned object must be released after use, by calling the [release] method. /// /// Bulk set method for (re)setting states of FormatFeatures, @@ -1631,7 +1631,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public abstract com.fasterxml.jackson.core.JsonToken nextToken() + /// from: `public abstract com.fasterxml.jackson.core.JsonToken nextToken()` /// The returned object must be released after use, by calling the [release] method. /// /// Main iteration method, which will advance stream enough @@ -1664,7 +1664,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public abstract com.fasterxml.jackson.core.JsonToken nextValue() + /// from: `public abstract com.fasterxml.jackson.core.JsonToken nextValue()` /// The returned object must be released after use, by calling the [release] method. /// /// Iteration method that will advance stream enough @@ -1704,7 +1704,7 @@ class JsonParser extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public boolean nextFieldName(com.fasterxml.jackson.core.SerializableString str) + /// from: `public boolean nextFieldName(com.fasterxml.jackson.core.SerializableString str)` /// /// Method that fetches next token (as if calling \#nextToken) and /// verifies whether it is JsonToken\#FIELD_NAME with specified name @@ -1746,7 +1746,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public java.lang.String nextFieldName() + /// from: `public java.lang.String nextFieldName()` /// The returned object must be released after use, by calling the [release] method. /// /// Method that fetches next token (as if calling \#nextToken) and @@ -1780,7 +1780,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public java.lang.String nextTextValue() + /// from: `public java.lang.String nextTextValue()` /// The returned object must be released after use, by calling the [release] method. /// /// Method that fetches next token (as if calling \#nextToken) and @@ -1815,7 +1815,7 @@ class JsonParser extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, int)>(); - /// from: public int nextIntValue(int defaultValue) + /// from: `public int nextIntValue(int defaultValue)` /// /// Method that fetches next token (as if calling \#nextToken) and /// if it is JsonToken\#VALUE_NUMBER_INT returns 32-bit int value; @@ -1855,7 +1855,7 @@ class JsonParser extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, int)>(); - /// from: public long nextLongValue(long defaultValue) + /// from: `public long nextLongValue(long defaultValue)` /// /// Method that fetches next token (as if calling \#nextToken) and /// if it is JsonToken\#VALUE_NUMBER_INT returns 64-bit long value; @@ -1899,7 +1899,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public java.lang.Boolean nextBooleanValue() + /// from: `public java.lang.Boolean nextBooleanValue()` /// The returned object must be released after use, by calling the [release] method. /// /// Method that fetches next token (as if calling \#nextToken) and @@ -1941,7 +1941,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public abstract com.fasterxml.jackson.core.JsonParser skipChildren() + /// from: `public abstract com.fasterxml.jackson.core.JsonParser skipChildren()` /// The returned object must be released after use, by calling the [release] method. /// /// Method that will skip all child tokens of an array or @@ -1982,7 +1982,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public void finishToken() + /// from: `public void finishToken()` /// /// Method that may be used to force full handling of the current token /// so that even if lazy processing is enabled, the whole contents are @@ -2019,7 +2019,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public com.fasterxml.jackson.core.JsonToken currentToken() + /// from: `public com.fasterxml.jackson.core.JsonToken currentToken()` /// The returned object must be released after use, by calling the [release] method. /// /// Accessor to find which token parser currently points to, if any; @@ -2054,7 +2054,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public int currentTokenId() + /// from: `public int currentTokenId()` /// /// Method similar to \#getCurrentToken() but that returns an /// int instead of JsonToken (enum value). @@ -2088,7 +2088,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public abstract com.fasterxml.jackson.core.JsonToken getCurrentToken() + /// from: `public abstract com.fasterxml.jackson.core.JsonToken getCurrentToken()` /// The returned object must be released after use, by calling the [release] method. /// /// Alias for \#currentToken(), may be deprecated sometime after @@ -2118,7 +2118,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public abstract int getCurrentTokenId() + /// from: `public abstract int getCurrentTokenId()` /// /// Deprecated alias for \#currentTokenId(). ///@return {@code int} matching one of constants from JsonTokenId. @@ -2146,7 +2146,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public abstract boolean hasCurrentToken() + /// from: `public abstract boolean hasCurrentToken()` /// /// Method for checking whether parser currently points to /// a token (and data for that token is available). @@ -2175,7 +2175,7 @@ class JsonParser extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, int)>(); - /// from: public abstract boolean hasTokenId(int id) + /// from: `public abstract boolean hasTokenId(int id)` /// /// Method that is functionally equivalent to: /// @@ -2213,7 +2213,7 @@ class JsonParser extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public abstract boolean hasToken(com.fasterxml.jackson.core.JsonToken t) + /// from: `public abstract boolean hasToken(com.fasterxml.jackson.core.JsonToken t)` /// /// Method that is functionally equivalent to: /// @@ -2252,7 +2252,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public boolean isExpectedStartArrayToken() + /// from: `public boolean isExpectedStartArrayToken()` /// /// Specialized accessor that can be used to verify that the current /// token indicates start array (usually meaning that current token @@ -2293,7 +2293,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public boolean isExpectedStartObjectToken() + /// from: `public boolean isExpectedStartObjectToken()` /// /// Similar to \#isExpectedStartArrayToken(), but checks whether stream /// currently points to JsonToken\#START_OBJECT. @@ -2324,7 +2324,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public boolean isExpectedNumberIntToken() + /// from: `public boolean isExpectedNumberIntToken()` /// /// Similar to \#isExpectedStartArrayToken(), but checks whether stream /// currently points to JsonToken\#VALUE_NUMBER_INT. @@ -2358,7 +2358,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public boolean isNaN() + /// from: `public boolean isNaN()` /// /// Access for checking whether current token is a numeric value token, but /// one that is of "not-a-number" (NaN) variety (including both "NaN" AND @@ -2393,7 +2393,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public abstract void clearCurrentToken() + /// from: `public abstract void clearCurrentToken()` /// /// Method called to "consume" the current token by effectively /// removing it so that \#hasCurrentToken returns false, and @@ -2428,7 +2428,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public abstract com.fasterxml.jackson.core.JsonToken getLastClearedToken() + /// from: `public abstract com.fasterxml.jackson.core.JsonToken getLastClearedToken()` /// The returned object must be released after use, by calling the [release] method. /// /// Method that can be called to get the last token that was @@ -2459,7 +2459,7 @@ class JsonParser extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public abstract void overrideCurrentName(java.lang.String name) + /// from: `public abstract void overrideCurrentName(java.lang.String name)` /// /// Method that can be used to change what is considered to be /// the current (field) name. @@ -2494,7 +2494,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public abstract java.lang.String getCurrentName() + /// from: `public abstract java.lang.String getCurrentName()` /// The returned object must be released after use, by calling the [release] method. /// /// Alias of \#currentName(). @@ -2524,7 +2524,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public java.lang.String currentName() + /// from: `public java.lang.String currentName()` /// The returned object must be released after use, by calling the [release] method. /// /// Method that can be called to get the name associated with @@ -2558,7 +2558,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public abstract java.lang.String getText() + /// from: `public abstract java.lang.String getText()` /// The returned object must be released after use, by calling the [release] method. /// /// Method for accessing textual representation of the current token; @@ -2590,7 +2590,7 @@ class JsonParser extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public int getText(java.io.Writer writer) + /// from: `public int getText(java.io.Writer writer)` /// /// Method to read the textual representation of the current token in chunks and /// pass it to the given Writer. @@ -2632,7 +2632,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public abstract char[] getTextCharacters() + /// from: `public abstract char[] getTextCharacters()` /// The returned object must be released after use, by calling the [release] method. /// /// Method similar to \#getText, but that will return @@ -2685,7 +2685,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public abstract int getTextLength() + /// from: `public abstract int getTextLength()` /// /// Accessor used with \#getTextCharacters, to know length /// of String stored in returned buffer. @@ -2717,7 +2717,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public abstract int getTextOffset() + /// from: `public abstract int getTextOffset()` /// /// Accessor used with \#getTextCharacters, to know offset /// of the first text content character within buffer. @@ -2749,7 +2749,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public abstract boolean hasTextCharacters() + /// from: `public abstract boolean hasTextCharacters()` /// /// Method that can be used to determine whether calling of /// \#getTextCharacters would be the most efficient @@ -2788,7 +2788,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public abstract java.lang.Number getNumberValue() + /// from: `public abstract java.lang.Number getNumberValue()` /// The returned object must be released after use, by calling the [release] method. /// /// Generic number value accessor method that will work for @@ -2824,7 +2824,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public java.lang.Number getNumberValueExact() + /// from: `public java.lang.Number getNumberValueExact()` /// The returned object must be released after use, by calling the [release] method. /// /// Method similar to \#getNumberValue with the difference that @@ -2864,7 +2864,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public abstract com.fasterxml.jackson.core.JsonParser.NumberType getNumberType() + /// from: `public abstract com.fasterxml.jackson.core.JsonParser.NumberType getNumberType()` /// The returned object must be released after use, by calling the [release] method. /// /// If current token is of type @@ -2897,7 +2897,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public byte getByteValue() + /// from: `public byte getByteValue()` /// /// Numeric accessor that can be called when the current /// token is of type JsonToken\#VALUE_NUMBER_INT and @@ -2943,7 +2943,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public short getShortValue() + /// from: `public short getShortValue()` /// /// Numeric accessor that can be called when the current /// token is of type JsonToken\#VALUE_NUMBER_INT and @@ -2983,7 +2983,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public abstract int getIntValue() + /// from: `public abstract int getIntValue()` /// /// Numeric accessor that can be called when the current /// token is of type JsonToken\#VALUE_NUMBER_INT and @@ -3022,7 +3022,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public abstract long getLongValue() + /// from: `public abstract long getLongValue()` /// /// Numeric accessor that can be called when the current /// token is of type JsonToken\#VALUE_NUMBER_INT and @@ -3062,7 +3062,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public abstract java.math.BigInteger getBigIntegerValue() + /// from: `public abstract java.math.BigInteger getBigIntegerValue()` /// The returned object must be released after use, by calling the [release] method. /// /// Numeric accessor that can be called when the current @@ -3099,7 +3099,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public abstract float getFloatValue() + /// from: `public abstract float getFloatValue()` /// /// Numeric accessor that can be called when the current /// token is of type JsonToken\#VALUE_NUMBER_FLOAT and @@ -3139,7 +3139,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public abstract double getDoubleValue() + /// from: `public abstract double getDoubleValue()` /// /// Numeric accessor that can be called when the current /// token is of type JsonToken\#VALUE_NUMBER_FLOAT and @@ -3179,7 +3179,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public abstract java.math.BigDecimal getDecimalValue() + /// from: `public abstract java.math.BigDecimal getDecimalValue()` /// The returned object must be released after use, by calling the [release] method. /// /// Numeric accessor that can be called when the current @@ -3213,7 +3213,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public boolean getBooleanValue() + /// from: `public boolean getBooleanValue()` /// /// Convenience accessor that can be called when the current /// token is JsonToken\#VALUE_TRUE or @@ -3249,7 +3249,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public java.lang.Object getEmbeddedObject() + /// from: `public java.lang.Object getEmbeddedObject()` /// The returned object must be released after use, by calling the [release] method. /// /// Accessor that can be called if (and only if) the current token @@ -3288,7 +3288,7 @@ class JsonParser extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public abstract byte[] getBinaryValue(com.fasterxml.jackson.core.Base64Variant bv) + /// from: `public abstract byte[] getBinaryValue(com.fasterxml.jackson.core.Base64Variant bv)` /// The returned object must be released after use, by calling the [release] method. /// /// Method that can be used to read (and consume -- results @@ -3336,7 +3336,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public byte[] getBinaryValue() + /// from: `public byte[] getBinaryValue()` /// The returned object must be released after use, by calling the [release] method. /// /// Convenience alternative to \#getBinaryValue(Base64Variant) @@ -3367,7 +3367,7 @@ class JsonParser extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public int readBinaryValue(java.io.OutputStream out) + /// from: `public int readBinaryValue(java.io.OutputStream out)` /// /// Method that can be used as an alternative to \#getBigIntegerValue(), /// especially when value can be large. The main difference (beyond method @@ -3407,7 +3407,7 @@ class JsonParser extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, ffi.Pointer)>(); - /// from: public int readBinaryValue(com.fasterxml.jackson.core.Base64Variant bv, java.io.OutputStream out) + /// from: `public int readBinaryValue(com.fasterxml.jackson.core.Base64Variant bv, java.io.OutputStream out)` /// /// Similar to \#readBinaryValue(OutputStream) but allows explicitly /// specifying base64 variant to use. @@ -3446,7 +3446,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public int getValueAsInt() + /// from: `public int getValueAsInt()` /// /// Method that will try to convert value of current token to a /// Java {@code int} value. @@ -3480,7 +3480,7 @@ class JsonParser extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, int)>(); - /// from: public int getValueAsInt(int def) + /// from: `public int getValueAsInt(int def)` /// /// Method that will try to convert value of current token to a /// __int__. @@ -3520,7 +3520,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public long getValueAsLong() + /// from: `public long getValueAsLong()` /// /// Method that will try to convert value of current token to a /// __long__. @@ -3554,7 +3554,7 @@ class JsonParser extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, int)>(); - /// from: public long getValueAsLong(long def) + /// from: `public long getValueAsLong(long def)` /// /// Method that will try to convert value of current token to a /// __long__. @@ -3594,7 +3594,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public double getValueAsDouble() + /// from: `public double getValueAsDouble()` /// /// Method that will try to convert value of current token to a Java /// __double__. @@ -3628,7 +3628,7 @@ class JsonParser extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, double)>(); - /// from: public double getValueAsDouble(double def) + /// from: `public double getValueAsDouble(double def)` /// /// Method that will try to convert value of current token to a /// Java __double__. @@ -3668,7 +3668,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public boolean getValueAsBoolean() + /// from: `public boolean getValueAsBoolean()` /// /// Method that will try to convert value of current token to a /// __boolean__. @@ -3702,7 +3702,7 @@ class JsonParser extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, int)>(); - /// from: public boolean getValueAsBoolean(boolean def) + /// from: `public boolean getValueAsBoolean(boolean def)` /// /// Method that will try to convert value of current token to a /// __boolean__. @@ -3742,7 +3742,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public java.lang.String getValueAsString() + /// from: `public java.lang.String getValueAsString()` /// The returned object must be released after use, by calling the [release] method. /// /// Method that will try to convert value of current token to a @@ -3778,7 +3778,7 @@ class JsonParser extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public abstract java.lang.String getValueAsString(java.lang.String def) + /// from: `public abstract java.lang.String getValueAsString(java.lang.String def)` /// The returned object must be released after use, by calling the [release] method. /// /// Method that will try to convert value of current token to a @@ -3818,7 +3818,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public boolean canReadObjectId() + /// from: `public boolean canReadObjectId()` /// /// Introspection method that may be called to see if the underlying /// data format supports some kind of Object Ids natively (many do not; @@ -3854,7 +3854,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public boolean canReadTypeId() + /// from: `public boolean canReadTypeId()` /// /// Introspection method that may be called to see if the underlying /// data format supports some kind of Type Ids natively (many do not; @@ -3890,7 +3890,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public java.lang.Object getObjectId() + /// from: `public java.lang.Object getObjectId()` /// The returned object must be released after use, by calling the [release] method. /// /// Method that can be called to check whether current token @@ -3928,7 +3928,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public java.lang.Object getTypeId() + /// from: `public java.lang.Object getTypeId()` /// The returned object must be released after use, by calling the [release] method. /// /// Method that can be called to check whether current token @@ -3965,7 +3965,7 @@ class JsonParser extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public T readValueAs(java.lang.Class valueType) + /// from: `public T readValueAs(java.lang.Class valueType)` /// The returned object must be released after use, by calling the [release] method. /// /// Method to deserialize JSON content into a non-container @@ -4018,7 +4018,7 @@ class JsonParser extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public T readValueAs(com.fasterxml.jackson.core.type.TypeReference valueTypeRef) + /// from: `public T readValueAs(com.fasterxml.jackson.core.type.TypeReference valueTypeRef)` /// The returned object must be released after use, by calling the [release] method. /// /// Method to deserialize JSON content into a Java type, reference @@ -4070,7 +4070,7 @@ class JsonParser extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public java.util.Iterator readValuesAs(java.lang.Class valueType) + /// from: `public java.util.Iterator readValuesAs(java.lang.Class valueType)` /// The returned object must be released after use, by calling the [release] method. /// /// Method for reading sequence of Objects from parser stream, @@ -4106,7 +4106,7 @@ class JsonParser extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public java.util.Iterator readValuesAs(com.fasterxml.jackson.core.type.TypeReference valueTypeRef) + /// from: `public java.util.Iterator readValuesAs(com.fasterxml.jackson.core.type.TypeReference valueTypeRef)` /// The returned object must be released after use, by calling the [release] method. /// /// Method for reading sequence of Objects from parser stream, @@ -4145,7 +4145,7 @@ class JsonParser extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public T readValueAsTree() + /// from: `public T readValueAsTree()` /// The returned object must be released after use, by calling the [release] method. /// /// Method to deserialize JSON content into equivalent "tree model", diff --git a/pkgs/jnigen/test/jackson_core_test/third_party/bindings/com/fasterxml/jackson/core/JsonToken.dart b/pkgs/jnigen/test/jackson_core_test/third_party/bindings/com/fasterxml/jackson/core/JsonToken.dart index 3d950e0bd..aebd8dab4 100644 --- a/pkgs/jnigen/test/jackson_core_test/third_party/bindings/com/fasterxml/jackson/core/JsonToken.dart +++ b/pkgs/jnigen/test/jackson_core_test/third_party/bindings/com/fasterxml/jackson/core/JsonToken.dart @@ -45,7 +45,7 @@ import 'dart:isolate' show ReceivePort; import 'package:jni/internal_helpers_for_jnigen.dart'; import 'package:jni/jni.dart' as jni; -/// from: com.fasterxml.jackson.core.JsonToken +/// from: `com.fasterxml.jackson.core.JsonToken` /// /// Enumeration for basic token types used for returning results /// of parsing JSON content. @@ -79,7 +79,7 @@ class JsonToken extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: static public com.fasterxml.jackson.core.JsonToken[] values() + /// from: `static public com.fasterxml.jackson.core.JsonToken[] values()` /// The returned object must be released after use, by calling the [release] method. static jni.JArray values() { return _values(_class.reference.pointer, _id_values as jni.JMethodIDPtr) @@ -102,7 +102,7 @@ class JsonToken extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: static public com.fasterxml.jackson.core.JsonToken valueOf(java.lang.String name) + /// from: `static public com.fasterxml.jackson.core.JsonToken valueOf(java.lang.String name)` /// The returned object must be released after use, by calling the [release] method. static JsonToken valueOf( jni.JString name, @@ -129,7 +129,7 @@ class JsonToken extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public final int id() + /// from: `public final int id()` int id() { return _id(reference.pointer, _id_id as jni.JMethodIDPtr).integer; } @@ -151,7 +151,7 @@ class JsonToken extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public final java.lang.String asString() + /// from: `public final java.lang.String asString()` /// The returned object must be released after use, by calling the [release] method. jni.JString asString() { return _asString(reference.pointer, _id_asString as jni.JMethodIDPtr) @@ -175,7 +175,7 @@ class JsonToken extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public final char[] asCharArray() + /// from: `public final char[] asCharArray()` /// The returned object must be released after use, by calling the [release] method. jni.JArray asCharArray() { return _asCharArray(reference.pointer, _id_asCharArray as jni.JMethodIDPtr) @@ -199,7 +199,7 @@ class JsonToken extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public final byte[] asByteArray() + /// from: `public final byte[] asByteArray()` /// The returned object must be released after use, by calling the [release] method. jni.JArray asByteArray() { return _asByteArray(reference.pointer, _id_asByteArray as jni.JMethodIDPtr) @@ -223,7 +223,7 @@ class JsonToken extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public final boolean isNumeric() + /// from: `public final boolean isNumeric()` /// /// @return {@code True} if this token is {@code VALUE_NUMBER_INT} or {@code VALUE_NUMBER_FLOAT}, /// {@code false} otherwise @@ -249,7 +249,7 @@ class JsonToken extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public final boolean isStructStart() + /// from: `public final boolean isStructStart()` /// /// Accessor that is functionally equivalent to: /// @@ -281,7 +281,7 @@ class JsonToken extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public final boolean isStructEnd() + /// from: `public final boolean isStructEnd()` /// /// Accessor that is functionally equivalent to: /// @@ -312,7 +312,7 @@ class JsonToken extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public final boolean isScalarValue() + /// from: `public final boolean isScalarValue()` /// /// Method that can be used to check whether this token represents /// a valid non-structured value. This means all {@code VALUE_xxx} tokens; @@ -343,7 +343,7 @@ class JsonToken extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public final boolean isBoolean() + /// from: `public final boolean isBoolean()` /// /// @return {@code True} if this token is {@code VALUE_TRUE} or {@code VALUE_FALSE}, /// {@code false} otherwise diff --git a/pkgs/jnigen/test/kotlin_test/bindings/kotlin.dart b/pkgs/jnigen/test/kotlin_test/bindings/kotlin.dart index 6afda8fff..34dbe609b 100644 --- a/pkgs/jnigen/test/kotlin_test/bindings/kotlin.dart +++ b/pkgs/jnigen/test/kotlin_test/bindings/kotlin.dart @@ -32,7 +32,7 @@ import 'dart:isolate' show ReceivePort; import 'package:jni/internal_helpers_for_jnigen.dart'; import 'package:jni/jni.dart' as jni; -/// from: com.github.dart_lang.jnigen.SuspendFun +/// from: `com.github.dart_lang.jnigen.SuspendFun` class SuspendFun extends jni.JObject { @override late final jni.JObjType $type = type; @@ -62,7 +62,7 @@ class SuspendFun extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public void () + /// from: `public void ()` /// The returned object must be released after use, by calling the [release] method. factory SuspendFun() { return SuspendFun.fromReference( @@ -86,7 +86,7 @@ class SuspendFun extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public final java.lang.Object sayHello(kotlin.coroutines.Continuation continuation) + /// from: `public final java.lang.Object sayHello(kotlin.coroutines.Continuation continuation)` /// The returned object must be released after use, by calling the [release] method. Future sayHello() async { final $p = ReceivePort(); @@ -122,7 +122,7 @@ class SuspendFun extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, ffi.Pointer)>(); - /// from: public final java.lang.Object sayHello(java.lang.String string, kotlin.coroutines.Continuation continuation) + /// from: `public final java.lang.Object sayHello(java.lang.String string, kotlin.coroutines.Continuation continuation)` /// The returned object must be released after use, by calling the [release] method. Future sayHello1( jni.JString string, @@ -187,7 +187,7 @@ final _getTopLevelField = ProtectedJniExtensions.lookup< jni.JMethodIDPtr, )>(); -/// from: static public final int getTopLevelField() +/// from: `static public final int getTopLevelField()` int getTopLevelField() { return _getTopLevelField(_TopLevelKtClass.reference.pointer, _id_getTopLevelField as jni.JMethodIDPtr) @@ -207,7 +207,7 @@ final _setTopLevelField = ProtectedJniExtensions.lookup< jni.JThrowablePtr Function( ffi.Pointer, jni.JMethodIDPtr, int)>(); -/// from: static public final void setTopLevelField(int i) +/// from: `static public final void setTopLevelField(int i)` void setTopLevelField( int i, ) { @@ -233,7 +233,7 @@ final _topLevel = ProtectedJniExtensions.lookup< jni.JMethodIDPtr, )>(); -/// from: static public final int topLevel() +/// from: `static public final int topLevel()` int topLevel() { return _topLevel( _TopLevelKtClass.reference.pointer, _id_topLevel as jni.JMethodIDPtr) @@ -254,7 +254,7 @@ final _topLevelSum = ProtectedJniExtensions.lookup< jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, int, int)>(); -/// from: static public final int topLevelSum(int i, int i1) +/// from: `static public final int topLevelSum(int i, int i1)` int topLevelSum( int i, int i1, diff --git a/pkgs/jnigen/test/simple_package_test/bindings/simple_package.dart b/pkgs/jnigen/test/simple_package_test/bindings/simple_package.dart index cbf95216c..a2e8ed63a 100644 --- a/pkgs/jnigen/test/simple_package_test/bindings/simple_package.dart +++ b/pkgs/jnigen/test/simple_package_test/bindings/simple_package.dart @@ -32,7 +32,7 @@ import 'dart:isolate' show ReceivePort; import 'package:jni/internal_helpers_for_jnigen.dart'; import 'package:jni/jni.dart' as jni; -/// from: com.github.dart_lang.jnigen.simple_package.Example$Nested$NestedTwice +/// from: `com.github.dart_lang.jnigen.simple_package.Example$Nested$NestedTwice` class Example_Nested_NestedTwice extends jni.JObject { @override late final jni.JObjType $type = type; @@ -51,10 +51,10 @@ class Example_Nested_NestedTwice extends jni.JObject { r'I', ); - /// from: static public int ZERO + /// from: `static public int ZERO` static int get ZERO => _id_ZERO.get(_class, const jni.jintType()); - /// from: static public int ZERO + /// from: `static public int ZERO` static set ZERO(int value) => _id_ZERO.set(_class, const jni.jintType(), value); @@ -74,7 +74,7 @@ class Example_Nested_NestedTwice extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public void () + /// from: `public void ()` /// The returned object must be released after use, by calling the [release] method. factory Example_Nested_NestedTwice() { return Example_Nested_NestedTwice.fromReference( @@ -111,7 +111,7 @@ final class $Example_Nested_NestedTwiceType } } -/// from: com.github.dart_lang.jnigen.simple_package.Example$Nested +/// from: `com.github.dart_lang.jnigen.simple_package.Example$Nested` class Example_Nested extends jni.JObject { @override late final jni.JObjType $type = type; @@ -137,7 +137,7 @@ class Example_Nested extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, int)>(); - /// from: public void (boolean value) + /// from: `public void (boolean value)` /// The returned object must be released after use, by calling the [release] method. factory Example_Nested( bool value, @@ -164,7 +164,7 @@ class Example_Nested extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public void usesAnonymousInnerClass() + /// from: `public void usesAnonymousInnerClass()` void usesAnonymousInnerClass() { _usesAnonymousInnerClass( reference.pointer, _id_usesAnonymousInnerClass as jni.JMethodIDPtr) @@ -188,7 +188,7 @@ class Example_Nested extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public boolean getValue() + /// from: `public boolean getValue()` bool getValue() { return _getValue(reference.pointer, _id_getValue as jni.JMethodIDPtr) .boolean; @@ -209,7 +209,7 @@ class Example_Nested extends jni.JObject { jni.JThrowablePtr Function( ffi.Pointer, jni.JMethodIDPtr, int)>(); - /// from: public void setValue(boolean value) + /// from: `public void setValue(boolean value)` void setValue( bool value, ) { @@ -246,7 +246,7 @@ final class $Example_NestedType extends jni.JObjType { } } -/// from: com.github.dart_lang.jnigen.simple_package.Example$NonStaticNested +/// from: `com.github.dart_lang.jnigen.simple_package.Example$NonStaticNested` class Example_NonStaticNested extends jni.JObject { @override late final jni.JObjType $type = type; @@ -265,10 +265,10 @@ class Example_NonStaticNested extends jni.JObject { r'Z', ); - /// from: public boolean ok + /// from: `public boolean ok` bool get ok => _id_ok.get(this, const jni.jbooleanType()); - /// from: public boolean ok + /// from: `public boolean ok` set ok(bool value) => _id_ok.set(this, const jni.jbooleanType(), value); static final _id_new0 = _class.constructorId( @@ -286,7 +286,7 @@ class Example_NonStaticNested extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void (com.github.dart_lang.jnigen.simple_package.Example $parent) + /// from: `public void (com.github.dart_lang.jnigen.simple_package.Example $parent)` /// The returned object must be released after use, by calling the [release] method. factory Example_NonStaticNested( Example $parent, @@ -325,7 +325,7 @@ final class $Example_NonStaticNestedType } } -/// from: com.github.dart_lang.jnigen.simple_package.Example +/// from: `com.github.dart_lang.jnigen.simple_package.Example` class Example extends jni.JObject { @override late final jni.JObjType $type = type; @@ -340,23 +340,23 @@ class Example extends jni.JObject { /// The type which includes information such as the signature of this class. static const type = $ExampleType(); - /// from: static public final int ON + /// from: `static public final int ON` static const ON = 1; - /// from: static public final int OFF + /// from: `static public final int OFF` static const OFF = 0; - /// from: static public final double PI + /// from: `static public final double PI` static const PI = 3.14159; - /// from: static public final char SEMICOLON + /// from: `static public final char SEMICOLON` static const SEMICOLON = 59; static final _id_SEMICOLON_STRING = _class.staticFieldId( r'SEMICOLON_STRING', r'Ljava/lang/String;', ); - /// from: static public final java.lang.String SEMICOLON_STRING + /// from: `static public final java.lang.String SEMICOLON_STRING` /// The returned object must be released after use, by calling the [release] method. static jni.JString get SEMICOLON_STRING => _id_SEMICOLON_STRING.get(_class, const jni.JStringType()); @@ -366,7 +366,7 @@ class Example extends jni.JObject { r'Ljava/util/Random;', ); - /// from: static public final java.util.Random unusedRandom + /// from: `static public final java.util.Random unusedRandom` /// The returned object must be released after use, by calling the [release] method. static jni.JObject get unusedRandom => _id_unusedRandom.get(_class, const jni.JObjectType()); @@ -376,12 +376,12 @@ class Example extends jni.JObject { r'Ljava/util/Random;', ); - /// from: protected java.util.Random protectedField + /// from: `protected java.util.Random protectedField` /// The returned object must be released after use, by calling the [release] method. jni.JObject get protectedField => _id_protectedField.get(this, const jni.JObjectType()); - /// from: protected java.util.Random protectedField + /// from: `protected java.util.Random protectedField` /// The returned object must be released after use, by calling the [release] method. set protectedField(jni.JObject value) => _id_protectedField.set(this, const jni.JObjectType(), value); @@ -403,7 +403,7 @@ class Example extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: static public int getAmount() + /// from: `static public int getAmount()` static int getAmount() { return _getAmount( _class.reference.pointer, _id_getAmount as jni.JMethodIDPtr) @@ -427,7 +427,7 @@ class Example extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: static public double getPi() + /// from: `static public double getPi()` static double getPi() { return _getPi(_class.reference.pointer, _id_getPi as jni.JMethodIDPtr) .doubleFloat; @@ -450,7 +450,7 @@ class Example extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: static public char getAsterisk() + /// from: `static public char getAsterisk()` static int getAsterisk() { return _getAsterisk( _class.reference.pointer, _id_getAsterisk as jni.JMethodIDPtr) @@ -474,7 +474,7 @@ class Example extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: static public java.lang.String getName() + /// from: `static public java.lang.String getName()` /// The returned object must be released after use, by calling the [release] method. static jni.JString getName() { return _getName(_class.reference.pointer, _id_getName as jni.JMethodIDPtr) @@ -498,7 +498,7 @@ class Example extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: static public com.github.dart_lang.jnigen.simple_package.Example.Nested getNestedInstance() + /// from: `static public com.github.dart_lang.jnigen.simple_package.Example.Nested getNestedInstance()` /// The returned object must be released after use, by calling the [release] method. static Example_Nested getNestedInstance() { return _getNestedInstance( @@ -521,7 +521,7 @@ class Example extends jni.JObject { jni.JThrowablePtr Function( ffi.Pointer, jni.JMethodIDPtr, int)>(); - /// from: static public void setAmount(int newAmount) + /// from: `static public void setAmount(int newAmount)` static void setAmount( int newAmount, ) { @@ -546,7 +546,7 @@ class Example extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: static public void setName(java.lang.String newName) + /// from: `static public void setName(java.lang.String newName)` static void setName( jni.JString newName, ) { @@ -571,7 +571,7 @@ class Example extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: static public void setNestedInstance(com.github.dart_lang.jnigen.simple_package.Example.Nested newNested) + /// from: `static public void setNestedInstance(com.github.dart_lang.jnigen.simple_package.Example.Nested newNested)` static void setNestedInstance( Example_Nested newNested, ) { @@ -598,7 +598,7 @@ class Example extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, int, int, int, int)>(); - /// from: static public int max4(int a, int b, int c, int d) + /// from: `static public int max4(int a, int b, int c, int d)` static int max4( int a, int b, @@ -635,7 +635,7 @@ class Example extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, int, int, int, int, int, int, int, int)>(); - /// from: static public int max8(int a, int b, int c, int d, int e, int f, int g, int h) + /// from: `static public int max8(int a, int b, int c, int d, int e, int f, int g, int h)` static int max8( int a, int b, @@ -668,7 +668,7 @@ class Example extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public int getNumber() + /// from: `public int getNumber()` int getNumber() { return _getNumber(reference.pointer, _id_getNumber as jni.JMethodIDPtr) .integer; @@ -689,7 +689,7 @@ class Example extends jni.JObject { jni.JThrowablePtr Function( ffi.Pointer, jni.JMethodIDPtr, int)>(); - /// from: public void setNumber(int number) + /// from: `public void setNumber(int number)` void setNumber( int number, ) { @@ -714,7 +714,7 @@ class Example extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public boolean getIsUp() + /// from: `public boolean getIsUp()` bool getIsUp() { return _getIsUp(reference.pointer, _id_getIsUp as jni.JMethodIDPtr).boolean; } @@ -734,7 +734,7 @@ class Example extends jni.JObject { jni.JThrowablePtr Function( ffi.Pointer, jni.JMethodIDPtr, int)>(); - /// from: public void setUp(boolean isUp) + /// from: `public void setUp(boolean isUp)` void setUp( bool isUp, ) { @@ -759,7 +759,7 @@ class Example extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public java.lang.String getCodename() + /// from: `public java.lang.String getCodename()` /// The returned object must be released after use, by calling the [release] method. jni.JString getCodename() { return _getCodename(reference.pointer, _id_getCodename as jni.JMethodIDPtr) @@ -782,7 +782,7 @@ class Example extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void setCodename(java.lang.String codename) + /// from: `public void setCodename(java.lang.String codename)` void setCodename( jni.JString codename, ) { @@ -808,7 +808,7 @@ class Example extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public java.util.Random getRandom() + /// from: `public java.util.Random getRandom()` /// The returned object must be released after use, by calling the [release] method. jni.JObject getRandom() { return _getRandom(reference.pointer, _id_getRandom as jni.JMethodIDPtr) @@ -831,7 +831,7 @@ class Example extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void setRandom(java.util.Random random) + /// from: `public void setRandom(java.util.Random random)` void setRandom( jni.JObject random, ) { @@ -857,7 +857,7 @@ class Example extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public long getRandomLong() + /// from: `public long getRandomLong()` int getRandomLong() { return _getRandomLong( reference.pointer, _id_getRandomLong as jni.JMethodIDPtr) @@ -885,7 +885,7 @@ class Example extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, int, int, int, int)>(); - /// from: public long add4Longs(long a, long b, long c, long d) + /// from: `public long add4Longs(long a, long b, long c, long d)` int add4Longs( int a, int b, @@ -922,7 +922,7 @@ class Example extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, int, int, int, int, int, int, int, int)>(); - /// from: public long add8Longs(long a, long b, long c, long d, long e, long f, long g, long h) + /// from: `public long add8Longs(long a, long b, long c, long d, long e, long f, long g, long h)` int add8Longs( int a, int b, @@ -954,7 +954,7 @@ class Example extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public java.lang.String getRandomNumericString(java.util.Random random) + /// from: `public java.lang.String getRandomNumericString(java.util.Random random)` /// The returned object must be released after use, by calling the [release] method. jni.JString getRandomNumericString( jni.JObject random, @@ -985,7 +985,7 @@ class Example extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, ffi.Pointer)>(); - /// from: protected void protectedMethod(java.lang.String a, java.lang.String b) + /// from: `protected void protectedMethod(java.lang.String a, java.lang.String b)` void protectedMethod( jni.JString a, jni.JString b, @@ -1012,7 +1012,7 @@ class Example extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public final void finalMethod() + /// from: `public final void finalMethod()` void finalMethod() { _finalMethod(reference.pointer, _id_finalMethod as jni.JMethodIDPtr) .check(); @@ -1035,7 +1035,7 @@ class Example extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public java.util.List getList() + /// from: `public java.util.List getList()` /// The returned object must be released after use, by calling the [release] method. jni.JList getList() { return _getList(reference.pointer, _id_getList as jni.JMethodIDPtr) @@ -1061,7 +1061,7 @@ class Example extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, ffi.Pointer)>(); - /// from: public java.lang.String joinStrings(java.util.List values, java.lang.String delim) + /// from: `public java.lang.String joinStrings(java.util.List values, java.lang.String delim)` /// The returned object must be released after use, by calling the [release] method. /// /// Joins the strings in the list using the given delimiter. @@ -1104,7 +1104,7 @@ class Example extends jni.JObject { ffi.Pointer, ffi.Pointer)>(); - /// from: public void methodWithSeveralParams(char ch, java.lang.String s, int[] a, T t, java.util.List lt, java.util.Map wm) + /// from: `public void methodWithSeveralParams(char ch, java.lang.String s, int[] a, T t, java.util.List lt, java.util.Map wm)` void methodWithSeveralParams<$T extends jni.JObject>( int ch, jni.JString s, @@ -1146,7 +1146,7 @@ class Example extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public void () + /// from: `public void ()` /// The returned object must be released after use, by calling the [release] method. factory Example() { return Example.fromReference( @@ -1166,7 +1166,7 @@ class Example extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, int)>(); - /// from: public void (int number) + /// from: `public void (int number)` /// The returned object must be released after use, by calling the [release] method. factory Example.new1( int number, @@ -1188,7 +1188,7 @@ class Example extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, int, int)>(); - /// from: public void (int number, boolean isUp) + /// from: `public void (int number, boolean isUp)` /// The returned object must be released after use, by calling the [release] method. factory Example.new2( int number, @@ -1214,7 +1214,7 @@ class Example extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, int, int, ffi.Pointer)>(); - /// from: public void (int number, boolean isUp, java.lang.String codename) + /// from: `public void (int number, boolean isUp, java.lang.String codename)` /// The returned object must be released after use, by calling the [release] method. factory Example.new3( int number, @@ -1254,7 +1254,7 @@ class Example extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, int, int, int, int, int, int, int, int)>(); - /// from: public void (int a, int b, int c, int d, int e, int f, int g, int h) + /// from: `public void (int a, int b, int c, int d, int e, int f, int g, int h)` /// The returned object must be released after use, by calling the [release] method. factory Example.new4( int a, @@ -1288,7 +1288,7 @@ class Example extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public int whichExample() + /// from: `public int whichExample()` int whichExample() { return _whichExample( reference.pointer, _id_whichExample as jni.JMethodIDPtr) @@ -1309,7 +1309,7 @@ class Example extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, int, int)>(); - /// from: static public int addInts(int a, int b) + /// from: `static public int addInts(int a, int b)` static int addInts( int a, int b, @@ -1336,7 +1336,7 @@ class Example extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: static public int[] getArr() + /// from: `static public int[] getArr()` /// The returned object must be released after use, by calling the [release] method. static jni.JArray getArr() { return _getArr(_class.reference.pointer, _id_getArr as jni.JMethodIDPtr) @@ -1359,7 +1359,7 @@ class Example extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: static public int addAll(int[] arr) + /// from: `static public int addAll(int[] arr)` static int addAll( jni.JArray arr, ) { @@ -1385,7 +1385,7 @@ class Example extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public com.github.dart_lang.jnigen.simple_package.Example getSelf() + /// from: `public com.github.dart_lang.jnigen.simple_package.Example getSelf()` /// The returned object must be released after use, by calling the [release] method. Example getSelf() { return _getSelf(reference.pointer, _id_getSelf as jni.JMethodIDPtr) @@ -1409,7 +1409,7 @@ class Example extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: static public void throwException() + /// from: `static public void throwException()` static void throwException() { _throwException( _class.reference.pointer, _id_throwException as jni.JMethodIDPtr) @@ -1433,7 +1433,7 @@ class Example extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public void overloaded() + /// from: `public void overloaded()` void overloaded() { _overloaded(reference.pointer, _id_overloaded as jni.JMethodIDPtr).check(); } @@ -1454,7 +1454,7 @@ class Example extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, int, ffi.Pointer)>(); - /// from: public void overloaded(int a, java.lang.String b) + /// from: `public void overloaded(int a, java.lang.String b)` void overloaded1( int a, jni.JString b, @@ -1479,7 +1479,7 @@ class Example extends jni.JObject { jni.JThrowablePtr Function( ffi.Pointer, jni.JMethodIDPtr, int)>(); - /// from: public void overloaded(int a) + /// from: `public void overloaded(int a)` void overloaded2( int a, ) { @@ -1506,7 +1506,7 @@ class Example extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, ffi.Pointer)>(); - /// from: public void overloaded(java.util.List a, java.lang.String b) + /// from: `public void overloaded(java.util.List a, java.lang.String b)` void overloaded3( jni.JList a, jni.JString b, @@ -1532,7 +1532,7 @@ class Example extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void overloaded(java.util.List a) + /// from: `public void overloaded(java.util.List a)` void overloaded4( jni.JList a, ) { @@ -1568,7 +1568,7 @@ final class $ExampleType extends jni.JObjType { } } -/// from: com.github.dart_lang.jnigen.pkg2.C2 +/// from: `com.github.dart_lang.jnigen.pkg2.C2` class C2 extends jni.JObject { @override late final jni.JObjType $type = type; @@ -1587,10 +1587,10 @@ class C2 extends jni.JObject { r'I', ); - /// from: static public int CONSTANT + /// from: `static public int CONSTANT` static int get CONSTANT => _id_CONSTANT.get(_class, const jni.jintType()); - /// from: static public int CONSTANT + /// from: `static public int CONSTANT` static set CONSTANT(int value) => _id_CONSTANT.set(_class, const jni.jintType(), value); @@ -1610,7 +1610,7 @@ class C2 extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public void () + /// from: `public void ()` /// The returned object must be released after use, by calling the [release] method. factory C2() { return C2.fromReference( @@ -1643,7 +1643,7 @@ final class $C2Type extends jni.JObjType { } } -/// from: com.github.dart_lang.jnigen.pkg2.Example +/// from: `com.github.dart_lang.jnigen.pkg2.Example` class Example1 extends jni.JObject { @override late final jni.JObjType $type = type; @@ -1673,7 +1673,7 @@ class Example1 extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public void () + /// from: `public void ()` /// The returned object must be released after use, by calling the [release] method. factory Example1() { return Example1.fromReference( @@ -1698,7 +1698,7 @@ class Example1 extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public int whichExample() + /// from: `public int whichExample()` int whichExample() { return _whichExample( reference.pointer, _id_whichExample as jni.JMethodIDPtr) @@ -1731,7 +1731,7 @@ final class $Example1Type extends jni.JObjType { } } -/// from: com.github.dart_lang.jnigen.generics.GrandParent$Parent$Child +/// from: `com.github.dart_lang.jnigen.generics.GrandParent$Parent$Child` class GrandParent_Parent_Child<$T extends jni.JObject, $S extends jni.JObject, $U extends jni.JObject> extends jni.JObject { @override @@ -1771,11 +1771,11 @@ class GrandParent_Parent_Child<$T extends jni.JObject, $S extends jni.JObject, r'Ljava/lang/Object;', ); - /// from: public T grandParentValue + /// from: `public T grandParentValue` /// The returned object must be released after use, by calling the [release] method. $T get grandParentValue => _id_grandParentValue.get(this, T); - /// from: public T grandParentValue + /// from: `public T grandParentValue` /// The returned object must be released after use, by calling the [release] method. set grandParentValue($T value) => _id_grandParentValue.set(this, T, value); @@ -1784,11 +1784,11 @@ class GrandParent_Parent_Child<$T extends jni.JObject, $S extends jni.JObject, r'Ljava/lang/Object;', ); - /// from: public S parentValue + /// from: `public S parentValue` /// The returned object must be released after use, by calling the [release] method. $S get parentValue => _id_parentValue.get(this, S); - /// from: public S parentValue + /// from: `public S parentValue` /// The returned object must be released after use, by calling the [release] method. set parentValue($S value) => _id_parentValue.set(this, S, value); @@ -1797,11 +1797,11 @@ class GrandParent_Parent_Child<$T extends jni.JObject, $S extends jni.JObject, r'Ljava/lang/Object;', ); - /// from: public U value + /// from: `public U value` /// The returned object must be released after use, by calling the [release] method. $U get value => _id_value.get(this, U); - /// from: public U value + /// from: `public U value` /// The returned object must be released after use, by calling the [release] method. set value($U value) => _id_value.set(this, U, value); @@ -1823,7 +1823,7 @@ class GrandParent_Parent_Child<$T extends jni.JObject, $S extends jni.JObject, jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, ffi.Pointer)>(); - /// from: public void (com.github.dart_lang.jnigen.generics.GrandParent$Parent $parent, U newValue) + /// from: `public void (com.github.dart_lang.jnigen.generics.GrandParent$Parent $parent, U newValue)` /// The returned object must be released after use, by calling the [release] method. factory GrandParent_Parent_Child( GrandParent_Parent<$T, $S> $parent, @@ -1892,7 +1892,7 @@ final class $GrandParent_Parent_ChildType<$T extends jni.JObject, } } -/// from: com.github.dart_lang.jnigen.generics.GrandParent$Parent +/// from: `com.github.dart_lang.jnigen.generics.GrandParent$Parent` class GrandParent_Parent<$T extends jni.JObject, $S extends jni.JObject> extends jni.JObject { @override @@ -1927,11 +1927,11 @@ class GrandParent_Parent<$T extends jni.JObject, $S extends jni.JObject> r'Ljava/lang/Object;', ); - /// from: public T parentValue + /// from: `public T parentValue` /// The returned object must be released after use, by calling the [release] method. $T get parentValue => _id_parentValue.get(this, T); - /// from: public T parentValue + /// from: `public T parentValue` /// The returned object must be released after use, by calling the [release] method. set parentValue($T value) => _id_parentValue.set(this, T, value); @@ -1940,11 +1940,11 @@ class GrandParent_Parent<$T extends jni.JObject, $S extends jni.JObject> r'Ljava/lang/Object;', ); - /// from: public S value + /// from: `public S value` /// The returned object must be released after use, by calling the [release] method. $S get value => _id_value.get(this, S); - /// from: public S value + /// from: `public S value` /// The returned object must be released after use, by calling the [release] method. set value($S value) => _id_value.set(this, S, value); @@ -1966,7 +1966,7 @@ class GrandParent_Parent<$T extends jni.JObject, $S extends jni.JObject> jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, ffi.Pointer)>(); - /// from: public void (com.github.dart_lang.jnigen.generics.GrandParent $parent, S newValue) + /// from: `public void (com.github.dart_lang.jnigen.generics.GrandParent $parent, S newValue)` /// The returned object must be released after use, by calling the [release] method. factory GrandParent_Parent( GrandParent<$T> $parent, @@ -2025,7 +2025,7 @@ final class $GrandParent_ParentType<$T extends jni.JObject, } } -/// from: com.github.dart_lang.jnigen.generics.GrandParent$StaticParent$Child +/// from: `com.github.dart_lang.jnigen.generics.GrandParent$StaticParent$Child` class GrandParent_StaticParent_Child<$S extends jni.JObject, $U extends jni.JObject> extends jni.JObject { @override @@ -2061,11 +2061,11 @@ class GrandParent_StaticParent_Child<$S extends jni.JObject, r'Ljava/lang/Object;', ); - /// from: public S parentValue + /// from: `public S parentValue` /// The returned object must be released after use, by calling the [release] method. $S get parentValue => _id_parentValue.get(this, S); - /// from: public S parentValue + /// from: `public S parentValue` /// The returned object must be released after use, by calling the [release] method. set parentValue($S value) => _id_parentValue.set(this, S, value); @@ -2074,11 +2074,11 @@ class GrandParent_StaticParent_Child<$S extends jni.JObject, r'Ljava/lang/Object;', ); - /// from: public U value + /// from: `public U value` /// The returned object must be released after use, by calling the [release] method. $U get value => _id_value.get(this, U); - /// from: public U value + /// from: `public U value` /// The returned object must be released after use, by calling the [release] method. set value($U value) => _id_value.set(this, U, value); @@ -2105,7 +2105,7 @@ class GrandParent_StaticParent_Child<$S extends jni.JObject, ffi.Pointer, ffi.Pointer)>(); - /// from: public void (com.github.dart_lang.jnigen.generics.GrandParent$StaticParent $parent, S parentValue, U value) + /// from: `public void (com.github.dart_lang.jnigen.generics.GrandParent$StaticParent $parent, S parentValue, U value)` /// The returned object must be released after use, by calling the [release] method. factory GrandParent_StaticParent_Child( GrandParent_StaticParent<$S> $parent, @@ -2172,7 +2172,7 @@ final class $GrandParent_StaticParent_ChildType<$S extends jni.JObject, } } -/// from: com.github.dart_lang.jnigen.generics.GrandParent$StaticParent +/// from: `com.github.dart_lang.jnigen.generics.GrandParent$StaticParent` class GrandParent_StaticParent<$S extends jni.JObject> extends jni.JObject { @override late final jni.JObjType> $type = type(S); @@ -2201,11 +2201,11 @@ class GrandParent_StaticParent<$S extends jni.JObject> extends jni.JObject { r'Ljava/lang/Object;', ); - /// from: public S value + /// from: `public S value` /// The returned object must be released after use, by calling the [release] method. $S get value => _id_value.get(this, S); - /// from: public S value + /// from: `public S value` /// The returned object must be released after use, by calling the [release] method. set value($S value) => _id_value.set(this, S, value); @@ -2224,7 +2224,7 @@ class GrandParent_StaticParent<$S extends jni.JObject> extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void (S value) + /// from: `public void (S value)` /// The returned object must be released after use, by calling the [release] method. factory GrandParent_StaticParent( $S value, { @@ -2274,7 +2274,7 @@ final class $GrandParent_StaticParentType<$S extends jni.JObject> } } -/// from: com.github.dart_lang.jnigen.generics.GrandParent +/// from: `com.github.dart_lang.jnigen.generics.GrandParent` class GrandParent<$T extends jni.JObject> extends jni.JObject { @override late final jni.JObjType> $type = type(T); @@ -2303,11 +2303,11 @@ class GrandParent<$T extends jni.JObject> extends jni.JObject { r'Ljava/lang/Object;', ); - /// from: public T value + /// from: `public T value` /// The returned object must be released after use, by calling the [release] method. $T get value => _id_value.get(this, T); - /// from: public T value + /// from: `public T value` /// The returned object must be released after use, by calling the [release] method. set value($T value) => _id_value.set(this, T, value); @@ -2326,7 +2326,7 @@ class GrandParent<$T extends jni.JObject> extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void (T value) + /// from: `public void (T value)` /// The returned object must be released after use, by calling the [release] method. factory GrandParent( $T value, { @@ -2359,7 +2359,7 @@ class GrandParent<$T extends jni.JObject> extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public com.github.dart_lang.jnigen.generics.GrandParent.Parent stringParent() + /// from: `public com.github.dart_lang.jnigen.generics.GrandParent.Parent stringParent()` /// The returned object must be released after use, by calling the [release] method. GrandParent_Parent stringParent() { return _stringParent( @@ -2384,7 +2384,7 @@ class GrandParent<$T extends jni.JObject> extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public com.github.dart_lang.jnigen.generics.GrandParent.Parent varParent(S nestedValue) + /// from: `public com.github.dart_lang.jnigen.generics.GrandParent.Parent varParent(S nestedValue)` /// The returned object must be released after use, by calling the [release] method. GrandParent_Parent varParent<$S extends jni.JObject>( $S nestedValue, { @@ -2415,7 +2415,7 @@ class GrandParent<$T extends jni.JObject> extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: static public com.github.dart_lang.jnigen.generics.GrandParent.StaticParent stringStaticParent() + /// from: `static public com.github.dart_lang.jnigen.generics.GrandParent.StaticParent stringStaticParent()` /// The returned object must be released after use, by calling the [release] method. static GrandParent_StaticParent stringStaticParent() { return _stringStaticParent(_class.reference.pointer, @@ -2439,7 +2439,7 @@ class GrandParent<$T extends jni.JObject> extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: static public com.github.dart_lang.jnigen.generics.GrandParent.StaticParent varStaticParent(S value) + /// from: `static public com.github.dart_lang.jnigen.generics.GrandParent.StaticParent varStaticParent(S value)` /// The returned object must be released after use, by calling the [release] method. static GrandParent_StaticParent<$S> varStaticParent<$S extends jni.JObject>( $S value, { @@ -2470,7 +2470,7 @@ class GrandParent<$T extends jni.JObject> extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public com.github.dart_lang.jnigen.generics.GrandParent.StaticParent staticParentWithSameType() + /// from: `public com.github.dart_lang.jnigen.generics.GrandParent.StaticParent staticParentWithSameType()` /// The returned object must be released after use, by calling the [release] method. GrandParent_StaticParent<$T> staticParentWithSameType() { return _staticParentWithSameType( @@ -2511,7 +2511,7 @@ final class $GrandParentType<$T extends jni.JObject> } } -/// from: com.github.dart_lang.jnigen.generics.MyMap$MyEntry +/// from: `com.github.dart_lang.jnigen.generics.MyMap$MyEntry` class MyMap_MyEntry<$K extends jni.JObject, $V extends jni.JObject> extends jni.JObject { @override @@ -2546,11 +2546,11 @@ class MyMap_MyEntry<$K extends jni.JObject, $V extends jni.JObject> r'Ljava/lang/Object;', ); - /// from: public K key + /// from: `public K key` /// The returned object must be released after use, by calling the [release] method. $K get key => _id_key.get(this, K); - /// from: public K key + /// from: `public K key` /// The returned object must be released after use, by calling the [release] method. set key($K value) => _id_key.set(this, K, value); @@ -2559,11 +2559,11 @@ class MyMap_MyEntry<$K extends jni.JObject, $V extends jni.JObject> r'Ljava/lang/Object;', ); - /// from: public V value + /// from: `public V value` /// The returned object must be released after use, by calling the [release] method. $V get value => _id_value.get(this, V); - /// from: public V value + /// from: `public V value` /// The returned object must be released after use, by calling the [release] method. set value($V value) => _id_value.set(this, V, value); @@ -2590,7 +2590,7 @@ class MyMap_MyEntry<$K extends jni.JObject, $V extends jni.JObject> ffi.Pointer, ffi.Pointer)>(); - /// from: public void (com.github.dart_lang.jnigen.generics.MyMap $parent, K key, V value) + /// from: `public void (com.github.dart_lang.jnigen.generics.MyMap $parent, K key, V value)` /// The returned object must be released after use, by calling the [release] method. factory MyMap_MyEntry( MyMap<$K, $V> $parent, @@ -2656,7 +2656,7 @@ final class $MyMap_MyEntryType<$K extends jni.JObject, $V extends jni.JObject> } } -/// from: com.github.dart_lang.jnigen.generics.MyMap +/// from: `com.github.dart_lang.jnigen.generics.MyMap` class MyMap<$K extends jni.JObject, $V extends jni.JObject> extends jni.JObject { @override @@ -2702,7 +2702,7 @@ class MyMap<$K extends jni.JObject, $V extends jni.JObject> jni.JMethodIDPtr, )>(); - /// from: public void () + /// from: `public void ()` /// The returned object must be released after use, by calling the [release] method. factory MyMap({ required jni.JObjType<$K> K, @@ -2731,7 +2731,7 @@ class MyMap<$K extends jni.JObject, $V extends jni.JObject> jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public V get(K key) + /// from: `public V get(K key)` /// The returned object must be released after use, by calling the [release] method. $V get0( $K key, @@ -2760,7 +2760,7 @@ class MyMap<$K extends jni.JObject, $V extends jni.JObject> jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, ffi.Pointer)>(); - /// from: public V put(K key, V value) + /// from: `public V put(K key, V value)` /// The returned object must be released after use, by calling the [release] method. $V put( $K key, @@ -2788,7 +2788,7 @@ class MyMap<$K extends jni.JObject, $V extends jni.JObject> jni.JMethodIDPtr, )>(); - /// from: public com.github.dart_lang.jnigen.generics.MyStack.MyEntry> entryStack() + /// from: `public com.github.dart_lang.jnigen.generics.MyStack.MyEntry> entryStack()` /// The returned object must be released after use, by calling the [release] method. MyStack> entryStack() { return _entryStack(reference.pointer, _id_entryStack as jni.JMethodIDPtr) @@ -2832,7 +2832,7 @@ final class $MyMapType<$K extends jni.JObject, $V extends jni.JObject> } } -/// from: com.github.dart_lang.jnigen.generics.MyStack +/// from: `com.github.dart_lang.jnigen.generics.MyStack` class MyStack<$T extends jni.JObject> extends jni.JObject { @override late final jni.JObjType> $type = type(T); @@ -2872,7 +2872,7 @@ class MyStack<$T extends jni.JObject> extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public void () + /// from: `public void ()` /// The returned object must be released after use, by calling the [release] method. factory MyStack({ required jni.JObjType<$T> T, @@ -2899,7 +2899,7 @@ class MyStack<$T extends jni.JObject> extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: static public com.github.dart_lang.jnigen.generics.MyStack fromArray(T[] arr) + /// from: `static public com.github.dart_lang.jnigen.generics.MyStack fromArray(T[] arr)` /// The returned object must be released after use, by calling the [release] method. static MyStack<$T> fromArray<$T extends jni.JObject>( jni.JArray<$T> arr, { @@ -2929,7 +2929,7 @@ class MyStack<$T extends jni.JObject> extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: static public com.github.dart_lang.jnigen.generics.MyStack fromArrayOfArrayOfGrandParents(com.github.dart_lang.jnigen.generics.GrandParent[][] arr) + /// from: `static public com.github.dart_lang.jnigen.generics.MyStack fromArrayOfArrayOfGrandParents(com.github.dart_lang.jnigen.generics.GrandParent[][] arr)` /// The returned object must be released after use, by calling the [release] method. static MyStack<$S> fromArrayOfArrayOfGrandParents<$S extends jni.JObject>( jni.JArray>> arr, { @@ -2965,7 +2965,7 @@ class MyStack<$T extends jni.JObject> extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: static public com.github.dart_lang.jnigen.generics.MyStack of() + /// from: `static public com.github.dart_lang.jnigen.generics.MyStack of()` /// The returned object must be released after use, by calling the [release] method. static MyStack<$T> of<$T extends jni.JObject>({ required jni.JObjType<$T> T, @@ -2990,7 +2990,7 @@ class MyStack<$T extends jni.JObject> extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: static public com.github.dart_lang.jnigen.generics.MyStack of(T obj) + /// from: `static public com.github.dart_lang.jnigen.generics.MyStack of(T obj)` /// The returned object must be released after use, by calling the [release] method. static MyStack<$T> of1<$T extends jni.JObject>( $T obj, { @@ -3023,7 +3023,7 @@ class MyStack<$T extends jni.JObject> extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, ffi.Pointer)>(); - /// from: static public com.github.dart_lang.jnigen.generics.MyStack of(T obj, T obj2) + /// from: `static public com.github.dart_lang.jnigen.generics.MyStack of(T obj, T obj2)` /// The returned object must be released after use, by calling the [release] method. static MyStack<$T> of2<$T extends jni.JObject>( $T obj, @@ -3055,7 +3055,7 @@ class MyStack<$T extends jni.JObject> extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void push(T item) + /// from: `public void push(T item)` void push( $T item, ) { @@ -3081,7 +3081,7 @@ class MyStack<$T extends jni.JObject> extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public T pop() + /// from: `public T pop()` /// The returned object must be released after use, by calling the [release] method. $T pop() { return _pop(reference.pointer, _id_pop as jni.JMethodIDPtr).object(T); @@ -3104,7 +3104,7 @@ class MyStack<$T extends jni.JObject> extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public int size() + /// from: `public int size()` int size() { return _size(reference.pointer, _id_size as jni.JMethodIDPtr).integer; } @@ -3142,7 +3142,7 @@ final class $MyStackType<$T extends jni.JObject> } } -/// from: com.github.dart_lang.jnigen.generics.StringKeyedMap +/// from: `com.github.dart_lang.jnigen.generics.StringKeyedMap` class StringKeyedMap<$V extends jni.JObject> extends MyMap { @override late final jni.JObjType> $type = type(V); @@ -3182,7 +3182,7 @@ class StringKeyedMap<$V extends jni.JObject> extends MyMap { jni.JMethodIDPtr, )>(); - /// from: public void () + /// from: `public void ()` /// The returned object must be released after use, by calling the [release] method. factory StringKeyedMap({ required jni.JObjType<$V> V, @@ -3227,7 +3227,7 @@ final class $StringKeyedMapType<$V extends jni.JObject> } } -/// from: com.github.dart_lang.jnigen.generics.StringStack +/// from: `com.github.dart_lang.jnigen.generics.StringStack` class StringStack extends MyStack { @override late final jni.JObjType $type = type; @@ -3257,7 +3257,7 @@ class StringStack extends MyStack { jni.JMethodIDPtr, )>(); - /// from: public void () + /// from: `public void ()` /// The returned object must be released after use, by calling the [release] method. factory StringStack() { return StringStack.fromReference( @@ -3291,7 +3291,7 @@ final class $StringStackType extends jni.JObjType { } } -/// from: com.github.dart_lang.jnigen.generics.StringValuedMap +/// from: `com.github.dart_lang.jnigen.generics.StringValuedMap` class StringValuedMap<$K extends jni.JObject> extends MyMap<$K, jni.JString> { @override late final jni.JObjType> $type = type(K); @@ -3331,7 +3331,7 @@ class StringValuedMap<$K extends jni.JObject> extends MyMap<$K, jni.JString> { jni.JMethodIDPtr, )>(); - /// from: public void () + /// from: `public void ()` /// The returned object must be released after use, by calling the [release] method. factory StringValuedMap({ required jni.JObjType<$K> K, @@ -3376,7 +3376,7 @@ final class $StringValuedMapType<$K extends jni.JObject> } } -/// from: com.github.dart_lang.jnigen.interfaces.MyInterface +/// from: `com.github.dart_lang.jnigen.interfaces.MyInterface` class MyInterface<$T extends jni.JObject> extends jni.JObject { @override late final jni.JObjType> $type = type(T); @@ -3416,7 +3416,7 @@ class MyInterface<$T extends jni.JObject> extends jni.JObject { jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public abstract void voidCallback(java.lang.String s) + /// from: `public abstract void voidCallback(java.lang.String s)` void voidCallback( jni.JString s, ) { @@ -3441,7 +3441,7 @@ class MyInterface<$T extends jni.JObject> extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public abstract java.lang.String stringCallback(java.lang.String s) + /// from: `public abstract java.lang.String stringCallback(java.lang.String s)` /// The returned object must be released after use, by calling the [release] method. jni.JString stringCallback( jni.JString s, @@ -3467,7 +3467,7 @@ class MyInterface<$T extends jni.JObject> extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public abstract T varCallback(T t) + /// from: `public abstract T varCallback(T t)` /// The returned object must be released after use, by calling the [release] method. $T varCallback( $T t, @@ -3493,7 +3493,7 @@ class MyInterface<$T extends jni.JObject> extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, int, int, int, double)>(); - /// from: public abstract long manyPrimitives(int a, boolean b, char c, double d) + /// from: `public abstract long manyPrimitives(int a, boolean b, char c, double d)` int manyPrimitives( int a, bool b, @@ -3701,7 +3701,7 @@ final class $MyInterfaceType<$T extends jni.JObject> } } -/// from: com.github.dart_lang.jnigen.interfaces.MyInterfaceConsumer +/// from: `com.github.dart_lang.jnigen.interfaces.MyInterfaceConsumer` class MyInterfaceConsumer extends jni.JObject { @override late final jni.JObjType $type = type; @@ -3731,7 +3731,7 @@ class MyInterfaceConsumer extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public void () + /// from: `public void ()` /// The returned object must be released after use, by calling the [release] method. factory MyInterfaceConsumer() { return MyInterfaceConsumer.fromReference( @@ -3771,7 +3771,7 @@ class MyInterfaceConsumer extends jni.JObject { double, ffi.Pointer)>(); - /// from: static public void consumeOnAnotherThread(com.github.dart_lang.jnigen.interfaces.MyInterface myInterface, java.lang.String s, int a, boolean b, char c, double d, T t) + /// from: `static public void consumeOnAnotherThread(com.github.dart_lang.jnigen.interfaces.MyInterface myInterface, java.lang.String s, int a, boolean b, char c, double d, T t)` static void consumeOnAnotherThread<$T extends jni.JObject>( MyInterface<$T> myInterface, jni.JString s, @@ -3831,7 +3831,7 @@ class MyInterfaceConsumer extends jni.JObject { double, ffi.Pointer)>(); - /// from: static public void consumeOnSameThread(com.github.dart_lang.jnigen.interfaces.MyInterface myInterface, java.lang.String s, int a, boolean b, char c, double d, T t) + /// from: `static public void consumeOnSameThread(com.github.dart_lang.jnigen.interfaces.MyInterface myInterface, java.lang.String s, int a, boolean b, char c, double d, T t)` static void consumeOnSameThread<$T extends jni.JObject>( MyInterface<$T> myInterface, jni.JString s, @@ -3887,7 +3887,7 @@ final class $MyInterfaceConsumerType extends jni.JObjType { } } -/// from: com.github.dart_lang.jnigen.interfaces.MyRunnable +/// from: `com.github.dart_lang.jnigen.interfaces.MyRunnable` class MyRunnable extends jni.JObject { @override late final jni.JObjType $type = type; @@ -3918,7 +3918,7 @@ class MyRunnable extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public abstract void run() + /// from: `public abstract void run()` void run() { _run(reference.pointer, _id_run as jni.JMethodIDPtr).check(); } @@ -4038,7 +4038,7 @@ final class $MyRunnableType extends jni.JObjType { } } -/// from: com.github.dart_lang.jnigen.interfaces.MyRunnableRunner +/// from: `com.github.dart_lang.jnigen.interfaces.MyRunnableRunner` class MyRunnableRunner extends jni.JObject { @override late final jni.JObjType $type = type; @@ -4057,11 +4057,11 @@ class MyRunnableRunner extends jni.JObject { r'Ljava/lang/Throwable;', ); - /// from: public java.lang.Throwable error + /// from: `public java.lang.Throwable error` /// The returned object must be released after use, by calling the [release] method. jni.JObject get error => _id_error.get(this, const jni.JObjectType()); - /// from: public java.lang.Throwable error + /// from: `public java.lang.Throwable error` /// The returned object must be released after use, by calling the [release] method. set error(jni.JObject value) => _id_error.set(this, const jni.JObjectType(), value); @@ -4081,7 +4081,7 @@ class MyRunnableRunner extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void (com.github.dart_lang.jnigen.interfaces.MyRunnable runnable) + /// from: `public void (com.github.dart_lang.jnigen.interfaces.MyRunnable runnable)` /// The returned object must be released after use, by calling the [release] method. factory MyRunnableRunner( MyRunnable runnable, @@ -4108,7 +4108,7 @@ class MyRunnableRunner extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public void runOnSameThread() + /// from: `public void runOnSameThread()` void runOnSameThread() { _runOnSameThread(reference.pointer, _id_runOnSameThread as jni.JMethodIDPtr) .check(); @@ -4131,7 +4131,7 @@ class MyRunnableRunner extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public void runOnAnotherThread() + /// from: `public void runOnAnotherThread()` void runOnAnotherThread() { _runOnAnotherThread( reference.pointer, _id_runOnAnotherThread as jni.JMethodIDPtr) @@ -4166,7 +4166,7 @@ final class $MyRunnableRunnerType extends jni.JObjType { } } -/// from: com.github.dart_lang.jnigen.interfaces.StringConversionException +/// from: `com.github.dart_lang.jnigen.interfaces.StringConversionException` class StringConversionException extends jni.JObject { @override late final jni.JObjType $type = type; @@ -4195,7 +4195,7 @@ class StringConversionException extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public void (java.lang.String message) + /// from: `public void (java.lang.String message)` /// The returned object must be released after use, by calling the [release] method. factory StringConversionException( jni.JString message, @@ -4236,7 +4236,7 @@ final class $StringConversionExceptionType } } -/// from: com.github.dart_lang.jnigen.interfaces.StringConverter +/// from: `com.github.dart_lang.jnigen.interfaces.StringConverter` class StringConverter extends jni.JObject { @override late final jni.JObjType $type = type; @@ -4266,7 +4266,7 @@ class StringConverter extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: public abstract int parseToInt(java.lang.String s) + /// from: `public abstract int parseToInt(java.lang.String s)` int parseToInt( jni.JString s, ) { @@ -4393,7 +4393,7 @@ final class $StringConverterType extends jni.JObjType { } } -/// from: com.github.dart_lang.jnigen.interfaces.StringConverterConsumer +/// from: `com.github.dart_lang.jnigen.interfaces.StringConverterConsumer` class StringConverterConsumer extends jni.JObject { @override late final jni.JObjType $type = type; @@ -4423,7 +4423,7 @@ class StringConverterConsumer extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public void () + /// from: `public void ()` /// The returned object must be released after use, by calling the [release] method. factory StringConverterConsumer() { return StringConverterConsumer.fromReference( @@ -4450,7 +4450,7 @@ class StringConverterConsumer extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, ffi.Pointer)>(); - /// from: static public java.lang.Integer consumeOnSameThread(com.github.dart_lang.jnigen.interfaces.StringConverter stringConverter, java.lang.String s) + /// from: `static public java.lang.Integer consumeOnSameThread(com.github.dart_lang.jnigen.interfaces.StringConverter stringConverter, java.lang.String s)` /// The returned object must be released after use, by calling the [release] method. static jni.JInteger consumeOnSameThread( StringConverter stringConverter, @@ -4483,7 +4483,7 @@ class StringConverterConsumer extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, ffi.Pointer)>(); - /// from: static public java.util.concurrent.Future consumeOnAnotherThread(com.github.dart_lang.jnigen.interfaces.StringConverter stringConverter, java.lang.String s) + /// from: `static public java.util.concurrent.Future consumeOnAnotherThread(com.github.dart_lang.jnigen.interfaces.StringConverter stringConverter, java.lang.String s)` /// The returned object must be released after use, by calling the [release] method. static jni.JObject consumeOnAnotherThread( StringConverter stringConverter, @@ -4526,7 +4526,7 @@ final class $StringConverterConsumerType } } -/// from: com.github.dart_lang.jnigen.annotations.JsonSerializable$Case +/// from: `com.github.dart_lang.jnigen.annotations.JsonSerializable$Case` class JsonSerializable_Case extends jni.JObject { @override late final jni.JObjType $type = type; @@ -4557,7 +4557,7 @@ class JsonSerializable_Case extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: static public com.github.dart_lang.jnigen.annotations.JsonSerializable.Case[] values() + /// from: `static public com.github.dart_lang.jnigen.annotations.JsonSerializable.Case[] values()` /// The returned object must be released after use, by calling the [release] method. static jni.JArray values() { return _values(_class.reference.pointer, _id_values as jni.JMethodIDPtr) @@ -4580,7 +4580,7 @@ class JsonSerializable_Case extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: static public com.github.dart_lang.jnigen.annotations.JsonSerializable.Case valueOf(java.lang.String name) + /// from: `static public com.github.dart_lang.jnigen.annotations.JsonSerializable.Case valueOf(java.lang.String name)` /// The returned object must be released after use, by calling the [release] method. static JsonSerializable_Case valueOf( jni.JString name, @@ -4619,7 +4619,7 @@ final class $JsonSerializable_CaseType } } -/// from: com.github.dart_lang.jnigen.annotations.JsonSerializable +/// from: `com.github.dart_lang.jnigen.annotations.JsonSerializable` class JsonSerializable extends jni.JObject { @override late final jni.JObjType $type = type; @@ -4650,7 +4650,7 @@ class JsonSerializable extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public abstract com.github.dart_lang.jnigen.annotations.JsonSerializable$Case value() + /// from: `public abstract com.github.dart_lang.jnigen.annotations.JsonSerializable$Case value()` /// The returned object must be released after use, by calling the [release] method. JsonSerializable_Case value() { return _value(reference.pointer, _id_value as jni.JMethodIDPtr) @@ -4777,7 +4777,7 @@ final class $JsonSerializableType extends jni.JObjType { } } -/// from: com.github.dart_lang.jnigen.annotations.MyDataClass +/// from: `com.github.dart_lang.jnigen.annotations.MyDataClass` class MyDataClass extends jni.JObject { @override late final jni.JObjType $type = type; @@ -4807,7 +4807,7 @@ class MyDataClass extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public void () + /// from: `public void ()` /// The returned object must be released after use, by calling the [release] method. factory MyDataClass() { return MyDataClass.fromReference( @@ -4842,7 +4842,7 @@ final class $MyDataClassType extends jni.JObjType { } } -/// from: com.github.dart_lang.jnigen.simple_package.Color +/// from: `com.github.dart_lang.jnigen.simple_package.Color` class Color extends jni.JObject { @override late final jni.JObjType $type = type; @@ -4873,7 +4873,7 @@ class Color extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: static public com.github.dart_lang.jnigen.simple_package.Color[] values() + /// from: `static public com.github.dart_lang.jnigen.simple_package.Color[] values()` /// The returned object must be released after use, by calling the [release] method. static jni.JArray values() { return _values(_class.reference.pointer, _id_values as jni.JMethodIDPtr) @@ -4896,7 +4896,7 @@ class Color extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); - /// from: static public com.github.dart_lang.jnigen.simple_package.Color valueOf(java.lang.String name) + /// from: `static public com.github.dart_lang.jnigen.simple_package.Color valueOf(java.lang.String name)` /// The returned object must be released after use, by calling the [release] method. static Color valueOf( jni.JString name, @@ -4932,7 +4932,7 @@ final class $ColorType extends jni.JObjType { } } -/// from: com.github.dart_lang.jnigen.simple_package.Exceptions +/// from: `com.github.dart_lang.jnigen.simple_package.Exceptions` class Exceptions extends jni.JObject { @override late final jni.JObjType $type = type; @@ -4962,7 +4962,7 @@ class Exceptions extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public void () + /// from: `public void ()` /// The returned object must be released after use, by calling the [release] method. factory Exceptions() { return Exceptions.fromReference( @@ -4982,7 +4982,7 @@ class Exceptions extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, double)>(); - /// from: public void (float x) + /// from: `public void (float x)` /// The returned object must be released after use, by calling the [release] method. factory Exceptions.new1( double x, @@ -5014,7 +5014,7 @@ class Exceptions extends jni.JObject { jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, int, int, int, int, int, int)>(); - /// from: public void (int a, int b, int c, int d, int e, int f) + /// from: `public void (int a, int b, int c, int d, int e, int f)` /// The returned object must be released after use, by calling the [release] method. factory Exceptions.new2( int a, @@ -5046,7 +5046,7 @@ class Exceptions extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: static public java.lang.Object staticObjectMethod() + /// from: `static public java.lang.Object staticObjectMethod()` /// The returned object must be released after use, by calling the [release] method. static jni.JObject staticObjectMethod() { return _staticObjectMethod(_class.reference.pointer, @@ -5071,7 +5071,7 @@ class Exceptions extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: static public int staticIntMethod() + /// from: `static public int staticIntMethod()` static int staticIntMethod() { return _staticIntMethod( _class.reference.pointer, _id_staticIntMethod as jni.JMethodIDPtr) @@ -5095,7 +5095,7 @@ class Exceptions extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: static public java.lang.Object[] staticObjectArrayMethod() + /// from: `static public java.lang.Object[] staticObjectArrayMethod()` /// The returned object must be released after use, by calling the [release] method. static jni.JArray staticObjectArrayMethod() { return _staticObjectArrayMethod(_class.reference.pointer, @@ -5120,7 +5120,7 @@ class Exceptions extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: static public int[] staticIntArrayMethod() + /// from: `static public int[] staticIntArrayMethod()` /// The returned object must be released after use, by calling the [release] method. static jni.JArray staticIntArrayMethod() { return _staticIntArrayMethod(_class.reference.pointer, @@ -5145,7 +5145,7 @@ class Exceptions extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public java.lang.Object objectMethod() + /// from: `public java.lang.Object objectMethod()` /// The returned object must be released after use, by calling the [release] method. jni.JObject objectMethod() { return _objectMethod( @@ -5170,7 +5170,7 @@ class Exceptions extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public int intMethod() + /// from: `public int intMethod()` int intMethod() { return _intMethod(reference.pointer, _id_intMethod as jni.JMethodIDPtr) .integer; @@ -5193,7 +5193,7 @@ class Exceptions extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public java.lang.Object[] objectArrayMethod() + /// from: `public java.lang.Object[] objectArrayMethod()` /// The returned object must be released after use, by calling the [release] method. jni.JArray objectArrayMethod() { return _objectArrayMethod( @@ -5218,7 +5218,7 @@ class Exceptions extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public int[] intArrayMethod() + /// from: `public int[] intArrayMethod()` /// The returned object must be released after use, by calling the [release] method. jni.JArray intArrayMethod() { return _intArrayMethod( @@ -5243,7 +5243,7 @@ class Exceptions extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public int throwNullPointerException() + /// from: `public int throwNullPointerException()` int throwNullPointerException() { return _throwNullPointerException(reference.pointer, _id_throwNullPointerException as jni.JMethodIDPtr) @@ -5267,7 +5267,7 @@ class Exceptions extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public java.io.InputStream throwFileNotFoundException() + /// from: `public java.io.InputStream throwFileNotFoundException()` /// The returned object must be released after use, by calling the [release] method. jni.JObject throwFileNotFoundException() { return _throwFileNotFoundException(reference.pointer, @@ -5292,7 +5292,7 @@ class Exceptions extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public java.io.FileInputStream throwClassCastException() + /// from: `public java.io.FileInputStream throwClassCastException()` /// The returned object must be released after use, by calling the [release] method. jni.JObject throwClassCastException() { return _throwClassCastException( @@ -5317,7 +5317,7 @@ class Exceptions extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public int throwArrayIndexException() + /// from: `public int throwArrayIndexException()` int throwArrayIndexException() { return _throwArrayIndexException( reference.pointer, _id_throwArrayIndexException as jni.JMethodIDPtr) @@ -5341,7 +5341,7 @@ class Exceptions extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public int throwArithmeticException() + /// from: `public int throwArithmeticException()` int throwArithmeticException() { return _throwArithmeticException( reference.pointer, _id_throwArithmeticException as jni.JMethodIDPtr) @@ -5365,7 +5365,7 @@ class Exceptions extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: static public void throwLoremIpsum() + /// from: `static public void throwLoremIpsum()` static void throwLoremIpsum() { _throwLoremIpsum( _class.reference.pointer, _id_throwLoremIpsum as jni.JMethodIDPtr) @@ -5399,7 +5399,7 @@ final class $ExceptionsType extends jni.JObjType { } } -/// from: com.github.dart_lang.jnigen.simple_package.Fields +/// from: `com.github.dart_lang.jnigen.simple_package.Fields` class Fields extends jni.JObject { @override late final jni.JObjType $type = type; @@ -5418,10 +5418,10 @@ class Fields extends jni.JObject { r'I', ); - /// from: static public int amount + /// from: `static public int amount` static int get amount => _id_amount.get(_class, const jni.jintType()); - /// from: static public int amount + /// from: `static public int amount` static set amount(int value) => _id_amount.set(_class, const jni.jintType(), value); @@ -5430,10 +5430,10 @@ class Fields extends jni.JObject { r'D', ); - /// from: static public double pi + /// from: `static public double pi` static double get pi => _id_pi.get(_class, const jni.jdoubleType()); - /// from: static public double pi + /// from: `static public double pi` static set pi(double value) => _id_pi.set(_class, const jni.jdoubleType(), value); @@ -5442,10 +5442,10 @@ class Fields extends jni.JObject { r'C', ); - /// from: static public char asterisk + /// from: `static public char asterisk` static int get asterisk => _id_asterisk.get(_class, const jni.jcharType()); - /// from: static public char asterisk + /// from: `static public char asterisk` static set asterisk(int value) => _id_asterisk.set(_class, const jni.jcharType(), value); @@ -5454,11 +5454,11 @@ class Fields extends jni.JObject { r'Ljava/lang/String;', ); - /// from: static public java.lang.String name + /// from: `static public java.lang.String name` /// The returned object must be released after use, by calling the [release] method. static jni.JString get name => _id_name.get(_class, const jni.JStringType()); - /// from: static public java.lang.String name + /// from: `static public java.lang.String name` /// The returned object must be released after use, by calling the [release] method. static set name(jni.JString value) => _id_name.set(_class, const jni.JStringType(), value); @@ -5468,11 +5468,11 @@ class Fields extends jni.JObject { r'Ljava/lang/Integer;', ); - /// from: public java.lang.Integer i + /// from: `public java.lang.Integer i` /// The returned object must be released after use, by calling the [release] method. jni.JInteger get i => _id_i.get(this, const jni.JIntegerType()); - /// from: public java.lang.Integer i + /// from: `public java.lang.Integer i` /// The returned object must be released after use, by calling the [release] method. set i(jni.JInteger value) => _id_i.set(this, const jni.JIntegerType(), value); @@ -5481,10 +5481,10 @@ class Fields extends jni.JObject { r'J', ); - /// from: public long trillion + /// from: `public long trillion` int get trillion => _id_trillion.get(this, const jni.jlongType()); - /// from: public long trillion + /// from: `public long trillion` set trillion(int value) => _id_trillion.set(this, const jni.jlongType(), value); @@ -5493,11 +5493,11 @@ class Fields extends jni.JObject { r'Z', ); - /// from: public boolean isAchillesDead + /// from: `public boolean isAchillesDead` bool get isAchillesDead => _id_isAchillesDead.get(this, const jni.jbooleanType()); - /// from: public boolean isAchillesDead + /// from: `public boolean isAchillesDead` set isAchillesDead(bool value) => _id_isAchillesDead.set(this, const jni.jbooleanType(), value); @@ -5506,12 +5506,12 @@ class Fields extends jni.JObject { r'Ljava/lang/String;', ); - /// from: public java.lang.String bestFighterInGreece + /// from: `public java.lang.String bestFighterInGreece` /// The returned object must be released after use, by calling the [release] method. jni.JString get bestFighterInGreece => _id_bestFighterInGreece.get(this, const jni.JStringType()); - /// from: public java.lang.String bestFighterInGreece + /// from: `public java.lang.String bestFighterInGreece` /// The returned object must be released after use, by calling the [release] method. set bestFighterInGreece(jni.JString value) => _id_bestFighterInGreece.set(this, const jni.JStringType(), value); @@ -5521,11 +5521,11 @@ class Fields extends jni.JObject { r'Ljava/util/Random;', ); - /// from: public java.util.Random random + /// from: `public java.util.Random random` /// The returned object must be released after use, by calling the [release] method. jni.JObject get random => _id_random.get(this, const jni.JObjectType()); - /// from: public java.util.Random random + /// from: `public java.util.Random random` /// The returned object must be released after use, by calling the [release] method. set random(jni.JObject value) => _id_random.set(this, const jni.JObjectType(), value); @@ -5535,11 +5535,11 @@ class Fields extends jni.JObject { r'C', ); - /// from: static public char euroSymbol + /// from: `static public char euroSymbol` static int get euroSymbol => _id_euroSymbol.get(_class, const jni.jcharType()); - /// from: static public char euroSymbol + /// from: `static public char euroSymbol` static set euroSymbol(int value) => _id_euroSymbol.set(_class, const jni.jcharType(), value); @@ -5559,7 +5559,7 @@ class Fields extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public void () + /// from: `public void ()` /// The returned object must be released after use, by calling the [release] method. factory Fields() { return Fields.fromReference( @@ -5594,7 +5594,7 @@ final class $FieldsType extends jni.JObjType { } } -/// from: com.github.dart_lang.jnigen.simple_package.Fields$Nested +/// from: `com.github.dart_lang.jnigen.simple_package.Fields$Nested` class Fields_Nested extends jni.JObject { @override late final jni.JObjType $type = type; @@ -5613,10 +5613,10 @@ class Fields_Nested extends jni.JObject { r'J', ); - /// from: public long hundred + /// from: `public long hundred` int get hundred => _id_hundred.get(this, const jni.jlongType()); - /// from: public long hundred + /// from: `public long hundred` set hundred(int value) => _id_hundred.set(this, const jni.jlongType(), value); static final _id_BEST_GOD = _class.staticFieldId( @@ -5624,12 +5624,12 @@ class Fields_Nested extends jni.JObject { r'Ljava/lang/String;', ); - /// from: static public java.lang.String BEST_GOD + /// from: `static public java.lang.String BEST_GOD` /// The returned object must be released after use, by calling the [release] method. static jni.JString get BEST_GOD => _id_BEST_GOD.get(_class, const jni.JStringType()); - /// from: static public java.lang.String BEST_GOD + /// from: `static public java.lang.String BEST_GOD` /// The returned object must be released after use, by calling the [release] method. static set BEST_GOD(jni.JString value) => _id_BEST_GOD.set(_class, const jni.JStringType(), value); @@ -5650,7 +5650,7 @@ class Fields_Nested extends jni.JObject { jni.JMethodIDPtr, )>(); - /// from: public void () + /// from: `public void ()` /// The returned object must be released after use, by calling the [release] method. factory Fields_Nested() { return Fields_Nested.fromReference( @@ -5686,7 +5686,7 @@ final class $Fields_NestedType extends jni.JObjType { } } -/// from: com.github.dart_lang.jnigen.generics.GenericTypeParams +/// from: `com.github.dart_lang.jnigen.generics.GenericTypeParams` class GenericTypeParams<$S extends jni.JObject, $K extends jni.JObject> extends jni.JObject { @override @@ -5732,7 +5732,7 @@ class GenericTypeParams<$S extends jni.JObject, $K extends jni.JObject> jni.JMethodIDPtr, )>(); - /// from: public void () + /// from: `public void ()` /// The returned object must be released after use, by calling the [release] method. factory GenericTypeParams({ required jni.JObjType<$S> S, @@ -5782,7 +5782,7 @@ final class $GenericTypeParamsType<$S extends jni.JObject, } } -/// from: com.github.dart_lang.jnigen.generics.StringMap +/// from: `com.github.dart_lang.jnigen.generics.StringMap` class StringMap extends StringKeyedMap { @override late final jni.JObjType $type = type; @@ -5812,7 +5812,7 @@ class StringMap extends StringKeyedMap { jni.JMethodIDPtr, )>(); - /// from: public void () + /// from: `public void ()` /// The returned object must be released after use, by calling the [release] method. factory StringMap() { return StringMap.fromReference(