IKVM11  11
Java SE 11 Virtual Machine for .NET
Loading...
Searching...
No Matches
internal.CallerID Class Reference

Static Public Member Functions

static global::java.lang.Class GetClass (object obj)
 
static global::java.lang.ClassLoader GetClassLoader (object obj)
 
static global::java.lang.ClassLoader GetAssemblyClassLoader (Assembly asm)
 

Detailed Description

Definition at line 32 of file CallerID.cs.

Member Function Documentation

◆ GetAssemblyClassLoader()

static global.java.lang.ClassLoader internal.CallerID.GetAssemblyClassLoader ( Assembly asm)
static

Definition at line 53 of file CallerID.cs.

54 {
55#if FIRST_PASS
56 throw new NotImplementedException();
57#else
58 return JVM.Context.AssemblyClassLoaderFactory.FromAssembly(asm).GetJavaClassLoader();
59#endif
60 }
Main state of the running JVM.
RuntimeAssemblyClassLoader FromAssembly(Assembly assembly)
Obtains the RuntimeAssemblyClassLoader for the given Assembly. This method should not be used with dy...
RuntimeAssemblyClassLoaderFactory AssemblyClassLoaderFactory
Gets the RuntimeAssemblyClassLoaderFactory associated with this instance of the runtime.

◆ GetClass()

static global.java.lang.Class internal.CallerID.GetClass ( object obj)
static

Definition at line 35 of file CallerID.cs.

36 {
37#if FIRST_PASS
38 throw new NotImplementedException();
39#else
40 return JVM.Context.ClassLoaderFactory.GetJavaTypeFromType(obj.GetType().DeclaringType).ClassObject;
41#endif
42 }
RuntimeClassLoaderFactory ClassLoaderFactory
Gets the RuntimeClassLoaderFactory associated with this instance of the runtime.

◆ GetClassLoader()

static global.java.lang.ClassLoader internal.CallerID.GetClassLoader ( object obj)
static

Definition at line 44 of file CallerID.cs.

45 {
46#if FIRST_PASS
47 throw new NotImplementedException();
48#else
49 return JVM.Context.ClassLoaderFactory.GetJavaTypeFromType(obj.GetType().DeclaringType).ClassLoader.GetJavaClassLoader();
50#endif
51 }

The documentation for this class was generated from the following file: