Class Instrumentation
- Namespace
- Java.Lang.Instrument
- Assembly
- MASES.JNet.dll
public class Instrumentation : JVMBridgeBase<Instrumentation>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IInstrumentation
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<Instrumentation>Instrumentation
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<Instrumentation>.SExecuteWithSignature<TReturn>(Type, string, string, params object[])JVMBridgeBase<Instrumentation>.IsAssignableFrom(IJavaType)JVMBridgeBase<Instrumentation>.IsAssignableFrom<T>()JVMBridgeBase<Instrumentation>.Execute<T>(params T[])JVMBridgeBase<Instrumentation>.DynBridgeClazzJVMBridgeBase<Instrumentation>.BridgeClazzJVMBridgeBase.RuntimeClassNameOf<T>()JVMBridgeBase.ClassNameOf<T>()JVMBridgeBase.ClassOf<T>()JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)JVMBridgeBase.MonitorEnter()JVMBridgeBase.MonitorExit()JVMBridgeBase.IsInstanceOf(IJavaType)JVMBridgeBase.IsInstanceOf<T>()JVMBridgeBase.RuntimeIsInstanceOf<T>()JVMBridgeBase.CastTo<TNewClass>()JVMBridgeBase.CastDirect<TNewClass>()JVMBridgeBase.Dispose()JVMBridgeBase.ToString()JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
- Extension Methods
Constructors
Instrumentation()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
[Obsolete("Instrumentation class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public Instrumentation()
Instrumentation(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
[Obsolete("Instrumentation class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public Instrumentation(params object[] args)
Parameters
args
object[]
Properties
AllLoadedClasses
public Class[] AllLoadedClasses { get; }
Property Value
- Class[]
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
Methods
AddTransformer(ClassFileTransformer)
public void AddTransformer(ClassFileTransformer arg0)
Parameters
AddTransformer(ClassFileTransformer, bool)
public void AddTransformer(ClassFileTransformer arg0, bool arg1)
Parameters
arg0
ClassFileTransformerarg1
bool
AppendToBootstrapClassLoaderSearch(JarFile)
public void AppendToBootstrapClassLoaderSearch(JarFile arg0)
Parameters
AppendToSystemClassLoaderSearch(JarFile)
public void AppendToSystemClassLoaderSearch(JarFile arg0)
Parameters
GetInitiatedClasses(ClassLoader)
public Class[] GetInitiatedClasses(ClassLoader arg0)
Parameters
arg0
ClassLoader
Returns
GetObjectSize(object)
public long GetObjectSize(object arg0)
Parameters
Returns
IsModifiableClass(Class)
public bool IsModifiableClass(Class arg0)
Parameters
Returns
IsModifiableModule(Module)
public bool IsModifiableModule(Module arg0)
Parameters
Returns
IsNativeMethodPrefixSupported()
public bool IsNativeMethodPrefixSupported()
Returns
IsRedefineClassesSupported()
public bool IsRedefineClassesSupported()
Returns
IsRetransformClassesSupported()
public bool IsRetransformClassesSupported()
Returns
RedefineClasses(params ClassDefinition[])
public void RedefineClasses(params ClassDefinition[] arg0)
Parameters
arg0
ClassDefinition[]
Exceptions
RedefineModule(Module, Set<Module>, Map<String, Set<Module>>, Map<String, Set<Module>>, Set<Class>, Map<Class, List<Class>>)
public void RedefineModule(Module arg0, Set<Module> arg1, Map<String, Set<Module>> arg2, Map<String, Set<Module>> arg3, Set<Class> arg4, Map<Class, List<Class>> arg5)
Parameters
arg0
Modulearg1
Set<Module>arg2
Map<String, Set<Module>>arg3
Map<String, Set<Module>>arg4
Set<Class>arg5
Map<Class, List<Class>>
RemoveTransformer(ClassFileTransformer)
public bool RemoveTransformer(ClassFileTransformer arg0)
Parameters
Returns
RetransformClasses(params Class[])
public void RetransformClasses(params Class[] arg0)
Parameters
Exceptions
SetNativeMethodPrefix(ClassFileTransformer, String)
public void SetNativeMethodPrefix(ClassFileTransformer arg0, String arg1)
Parameters
arg0
ClassFileTransformerarg1
String