Freigeben über


ClassLoader.ResolveClass(Class) Method

Definition

Links the specified class.

[Android.Runtime.Register("resolveClass", "(Ljava/lang/Class;)V", "")]
protected void ResolveClass (Java.Lang.Class? c);
[<Android.Runtime.Register("resolveClass", "(Ljava/lang/Class;)V", "")>]
member this.ResolveClass : Java.Lang.Class -> unit

Parameters

c
Class

The class to link

Attributes

Remarks

Links the specified class. This (misleadingly named) method may be used by a class loader to link a class. If the class c has already been linked, then this method simply returns. Otherwise, the class is linked as described in the "Execution" chapter of <cite>The Java&trade; Language Specification</cite>.

Java documentation for java.lang.ClassLoader.resolveClass(java.lang.Class<?>).

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.

Applies to