public class MethodBase extends MemberInfo
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Reflection.MethodBase
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
|
static java.lang.String |
assemblyShortName
Assembly name: System.Private.CoreLib
|
static java.lang.String |
className
Qualified class name: System.Reflection.MethodBase
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
MethodBase() |
MethodBase(java.lang.Object instance)
Internal constructor.
|
GetCustomAttributes, GetCustomAttributes, getDeclaringType, getIsCollectible, getMemberType, getMetadataToken, getModule, getName, getReflectedType, HasSameMetadataDefinitionAs, IsDefinedpublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public MethodBase()
throws java.lang.Throwable
java.lang.Throwablepublic MethodBase(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static MethodBase cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into MethodBase, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedMethodBase instancejava.lang.Throwable - in case of error during cast operationpublic MethodAttributes getAttributes() throws java.lang.Throwable
java.lang.Throwablepublic CallingConventions getCallingConvention() throws java.lang.Throwable
java.lang.Throwablepublic boolean getContainsGenericParameters()
throws java.lang.Throwable
java.lang.Throwablepublic static MethodBase GetCurrentMethod() throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, BadImageFormatException, IndexOutOfRangeException, FormatException, NullReferenceException, NotImplementedException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionBadImageFormatExceptionIndexOutOfRangeExceptionFormatExceptionNullReferenceExceptionNotImplementedExceptionpublic NetType[] GetGenericArguments() throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, RankException, CultureNotFoundException, ObjectDisposedException
public boolean getIsAbstract()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsAssembly()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsConstructedGenericMethod()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsConstructor()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsFamily()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsFamilyAndAssembly()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsFamilyOrAssembly()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsFinal()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsGenericMethod()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsGenericMethodDefinition()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsHideBySig()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsPrivate()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsPublic()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsSecurityCritical()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException
public boolean getIsSecuritySafeCritical()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException
public boolean getIsSecurityTransparent()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException
public boolean getIsSpecialName()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsStatic()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsVirtual()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class MemberInfoString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class MemberInfoString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class MemberInfoObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class MemberInfoString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class MemberInfoJCType representing the CLR Type of the instantiated Classpublic MethodBody GetMethodBody() throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException
public static MethodBase GetMethodFromHandle(RuntimeMethodHandle handle) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, RankException, CultureNotFoundException, ObjectDisposedException, BadImageFormatException, NullReferenceException, NotImplementedException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionRankExceptionCultureNotFoundExceptionObjectDisposedExceptionBadImageFormatExceptionNullReferenceExceptionNotImplementedExceptionpublic static MethodBase GetMethodFromHandle(RuntimeMethodHandle handle, RuntimeTypeHandle declaringType) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, RankException, CultureNotFoundException, ObjectDisposedException, BadImageFormatException, NullReferenceException, NotImplementedException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionRankExceptionCultureNotFoundExceptionObjectDisposedExceptionBadImageFormatExceptionNullReferenceExceptionNotImplementedExceptionpublic RuntimeMethodHandle getMethodHandle() throws java.lang.Throwable
java.lang.Throwablepublic MethodImplAttributes getMethodImplementationFlags() throws java.lang.Throwable
java.lang.Throwablepublic MethodImplAttributes GetMethodImplementationFlags() throws java.lang.Throwable
java.lang.Throwablepublic ParameterInfo[] GetParameters() throws java.lang.Throwable
java.lang.Throwablepublic NetObject Invoke(NetObject obj, BindingFlags invokeAttr, Binder binder, NetObject[] parameters, CultureInfo culture) throws java.lang.Throwable
java.lang.Throwablepublic NetObject Invoke(NetObject obj, NetObject[] parameters) throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class MemberInfo