This repository was archived by the owner on Apr 1, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmirror.go
More file actions
60 lines (58 loc) · 1.67 KB
/
mirror.go
File metadata and controls
60 lines (58 loc) · 1.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
package jdwp
type Mirror interface {
// GetVirtualMachine 获取镜像引用的JVM对象引用
GetVirtualMachine() VirtualMachine
}
type VirtualMachine interface {
GetVirtualMachine() VirtualMachine
GetClassesByName(className string) []ReferenceType
GetClassesBySignature(string) []ReferenceType
GetAllModules() ([]ModuleReference, error)
GetAllClasses() []ReferenceType
RedefineClasses(map[ReferenceType][]byte)
GetAllThread() []ThreadReference
Suspend()
Resume()
GetTopLevelThreadGroups() []ThreadGroupReference
GetEventRequestManager() EventRequestManager
MirrorOfBool(bool) BooleanValue
MirrorOfString(string) StringReference
MirrorOfByte(byte) ByteValue
MirrorOfChar(char int16) CharValue
MirrorOfInt(int) IntegerValue
MirrorOfLong(int64) LongValue
MirrorOfFloat(float32) FloatValue
MirrorOfDouble(float64) DoubleValue
MirrorOfVoid() VoidValue
// Dispose 不实现!
//Process()
Dispose()
Exit(int)
CanWatchFieldModification() bool
CanWatchFieldAccess() bool
CanGetBytecodes() bool
CanGetSyntheticAttribute() bool
CanGetOwnedMonitorInfo() bool
CanGetCurrentContendedMonitor() bool
CanGetMonitorInfo() bool
CanUseInstanceFilters() bool
CanRedefineClasses() bool
CanAddMethod() bool
CanUnrestrictedlyRedefineClasses() bool
CanPopFrames() bool
CanGetSourceDebugExtension() bool
CanRequestVMDeathEvent() bool
CanGetMethodReturnValues() bool
CanGetInstanceInfo() bool
CanUseSourceNameFilters() bool
CanForceEarlyReturn() bool
CanBeModified() bool
CanRequestMonitorEvents() bool
CanGetMonitorFrameInfo() bool
CanGetClassFileVersion() bool
CanGetConstantPool() bool
CanGetModuleInfo() bool
GetDescription() string
GetVersion() (string, error)
GetName() string
}