Language

JniTypeSignature Struct

Definition

Describes a JNI type using its simple reference, array rank, and primitive descriptor state.

public struct JniTypeSignature : IEquatable<Java.Interop.JniTypeSignature>
type JniTypeSignature = struct
Inheritance
JniTypeSignature
Implements

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Constructors

Name Description
JniTypeSignature(String, Int32, Boolean)

Creates a JNI type signature from its separate type and array components.

Fields

Name Description
Empty

An uninitialized JNI type signature.

Properties

Name Description
ArrayRank

Gets the stored array rank.

IsValid

Gets whether the signature has a non-null simple reference.

Name

Gets the JNI name used to identify the represented type.

QualifiedReference

Gets the JNI descriptor for the represented type.

SimpleReference

Gets the stored class name or primitive descriptor.

Methods

Name Description
AddArrayRank(Int32)

Creates a signature with an adjusted array rank.

Equals(JniTypeSignature)

Determines whether two JNI type signatures have the same components.

Equals(Object)

Determines whether an object is an equal JNI type signature.

GetHashCode()

Gets a hash code for the qualified JNI reference.

GetPrimitivePeerTypeSignature()

Gets the corresponding boxed Java type signature for a primitive descriptor.

Parse(String)

Parses a JNI type name or descriptor into its components.

ToString()

Returns a diagnostic description of the signature components.

TryParse(String, JniTypeSignature)

Attempts to parse a JNI type name or descriptor into its components.

Operators

Name Description
Equality(JniTypeSignature, JniTypeSignature)

Determines whether two JNI type signatures have equal components.

Inequality(JniTypeSignature, JniTypeSignature)

Determines whether two JNI type signatures have different components.

Applies to