Table of Contents

Interface IInstrumentation

Namespace
Java.Lang.Instrument
Assembly
MASES.JNet.dll

.NET interface for TO BE DEFINED FROM USER

public interface IInstrumentation

Properties

AllLoadedClasses

Class[] AllLoadedClasses { get; }

Property Value

Class[]

Methods

AddTransformer(ClassFileTransformer)

void AddTransformer(ClassFileTransformer arg0)

Parameters

arg0 ClassFileTransformer

ClassFileTransformer

AddTransformer(ClassFileTransformer, bool)

void AddTransformer(ClassFileTransformer arg0, bool arg1)

Parameters

arg0 ClassFileTransformer

ClassFileTransformer

arg1 bool

bool

AppendToBootstrapClassLoaderSearch(JarFile)

void AppendToBootstrapClassLoaderSearch(JarFile arg0)

Parameters

arg0 JarFile

JarFile

AppendToSystemClassLoaderSearch(JarFile)

void AppendToSystemClassLoaderSearch(JarFile arg0)

Parameters

arg0 JarFile

JarFile

GetInitiatedClasses(ClassLoader)

Class[] GetInitiatedClasses(ClassLoader arg0)

Parameters

arg0 ClassLoader

ClassLoader

Returns

Class[]

Class

GetObjectSize(object)

long GetObjectSize(object arg0)

Parameters

arg0 object

object

Returns

long

long

IsModifiableClass(Class)

bool IsModifiableClass(Class arg0)

Parameters

arg0 Class

Class

Returns

bool

bool

IsModifiableModule(Module)

bool IsModifiableModule(Module arg0)

Parameters

arg0 Module

Module

Returns

bool

bool

IsNativeMethodPrefixSupported()

bool IsNativeMethodPrefixSupported()

Returns

bool

bool

IsRedefineClassesSupported()

bool IsRedefineClassesSupported()

Returns

bool

bool

IsRetransformClassesSupported()

bool IsRetransformClassesSupported()

Returns

bool

bool

RedefineClasses(params ClassDefinition[])

void RedefineClasses(params ClassDefinition[] arg0)

Parameters

arg0 ClassDefinition[]

ClassDefinition

Exceptions

ClassNotFoundException
UnmodifiableClassException

RedefineModule(Module, Set<Module>, Map<String, Set<Module>>, Map<String, Set<Module>>, Set<Class>, Map<Class, List<Class>>)

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 Module

Module

arg1 Set<Module>

Set

arg2 Map<String, Set<Module>>

Map

arg3 Map<String, Set<Module>>

Map

arg4 Set<Class>

Set

arg5 Map<Class, List<Class>>

Map

RemoveTransformer(ClassFileTransformer)

bool RemoveTransformer(ClassFileTransformer arg0)

Parameters

arg0 ClassFileTransformer

ClassFileTransformer

Returns

bool

bool

RetransformClasses(params Class[])

void RetransformClasses(params Class[] arg0)

Parameters

arg0 Class[]

Class

Exceptions

UnmodifiableClassException

SetNativeMethodPrefix(ClassFileTransformer, String)

void SetNativeMethodPrefix(ClassFileTransformer arg0, String arg1)

Parameters

arg0 ClassFileTransformer

ClassFileTransformer

arg1 String

String