JniRuntime.ReplacementMethodInfo Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Describes a source JNI method and its replacement target.
public struct JniRuntime.ReplacementMethodInfo : IEquatable<Java.Interop.JniRuntime.ReplacementMethodInfo>
type JniRuntime.ReplacementMethodInfo = struct
- Inheritance
-
JniRuntime.ReplacementMethodInfo
- Implements
Remarks
This value stores remapping metadata. It does not resolve a Java method or validate a descriptor when a property is assigned.
Properties
| Name | Description |
|---|---|
| SourceJniMethodName |
Gets or sets the source Java method name. |
| SourceJniMethodSignature |
Gets or sets the source JNI method descriptor. |
| SourceJniType |
Gets or sets the source JNI type name. |
| TargetJniMethodInstanceToStatic |
Gets or sets whether to redirect an instance method to a static target. |
| TargetJniMethodName |
Gets or sets the replacement Java method name. |
| TargetJniMethodParameterCount |
Gets or sets the argument count for a static redirect. |
| TargetJniMethodSignature |
Gets or sets the replacement JNI method descriptor. |
| TargetJniType |
Gets or sets the replacement declaring JNI type. |
Methods
| Name | Description |
|---|---|
| Equals(JniRuntime+ReplacementMethodInfo) |
Compares all eight stored replacement metadata components. |
| Equals(Object) |
Tests whether an object is an equal replacement description. |
| GetHashCode() |
Combines the stored metadata component hash codes. |
| ToString() |
Formats the replacement metadata for diagnostics. |
Operators
| Name | Description |
|---|---|
| Equality(JniRuntime+ReplacementMethodInfo, JniRuntime+ReplacementMethodInfo) |
Tests whether two replacement descriptions are equal. |
| Inequality(JniRuntime+ReplacementMethodInfo, JniRuntime+ReplacementMethodInfo) |
Tests whether two replacement descriptions differ. |