IKVM11  11
Java SE 11 Virtual Machine for .NET
Loading...
Searching...
No Matches
IKVM.Runtime.RuntimeJavaMethod Class Referenceabstract
Inheritance diagram for IKVM.Runtime.RuntimeJavaMethod:
IKVM.Runtime.RuntimeJavaMember IKVM.Runtime.RuntimeSimpleCallJavaMethod IKVM.Runtime.RuntimeSmartJavaMethod IKVM.Runtime.RuntimeAccessStubJavaMethod IKVM.Runtime.RuntimeConstructorAccessStubJavaMethod IKVM.Runtime.RuntimeDefaultInterfaceJavaMethod IKVM.Runtime.RuntimeGhostJavaMethod IKVM.Runtime.RuntimeMirandaJavaMethod IKVM.Runtime.RuntimePrivateInterfaceJavaMethod IKVM.Runtime.RuntimeTypicalJavaMethod

Protected Member Functions

virtual void DoLinkMethod ()
 
- Protected Member Functions inherited from IKVM.Runtime.RuntimeJavaMember
 RuntimeJavaMember (RuntimeJavaType declaringType, string name, string sig, Modifiers modifiers, MemberFlags flags)
 Initializes a new instance.
 
void SetIntrinsicFlag ()
 
void SetNonPublicTypeInSignatureFlag ()
 
void SetType2FinalField ()
 

Static Protected Member Functions

static object InvokeAndUnwrapException (MethodBase mb, object obj, object[] args)
 Dynamically invokes the method and potentially unwraps any exceptions.
 

Additional Inherited Members

- Protected Attributes inherited from IKVM.Runtime.RuntimeJavaMember
readonly Modifiers modifiers
 
- Package Functions inherited from IKVM.Runtime.RuntimeJavaMember
- Static Package Functions inherited from IKVM.Runtime.RuntimeJavaMember
- Properties inherited from IKVM.Runtime.RuntimeJavaMember

Detailed Description

Definition at line 48 of file RuntimeJavaMethod.cs.

Member Function Documentation

◆ DoLinkMethod()

virtual void IKVM.Runtime.RuntimeJavaMethod.DoLinkMethod ( )
protectedvirtual

Definition at line 345 of file RuntimeJavaMethod.cs.

346 {
347 method = DeclaringType.LinkMethod(this);
348 }

◆ InvokeAndUnwrapException()

static object IKVM.Runtime.RuntimeJavaMethod.InvokeAndUnwrapException ( MethodBase mb,
object obj,
object[] args )
staticprotected

Dynamically invokes the method and potentially unwraps any exceptions.

Parameters
mb
obj
args
Returns

Definition at line 537 of file RuntimeJavaMethod.cs.

538 {
539#if FIRST_PASS
540 throw new NotImplementedException();
541#else
542 try
543 {
544 return mb.Invoke(obj, args);
545 }
546 catch (TargetInvocationException e)
547 {
548 throw ikvm.runtime.Util.mapException(e.InnerException);
549 }
550#endif
551 }

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