File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed
tracemanplugin/src/main/java/cn/cxzheng/tracemanplugin Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change 11package cn.cxzheng.tracemanplugin
22
33import org.objectweb.asm.Opcodes
4- import org.objectweb.asm.Type
54
65/* *
76 * Create by cxzheng on 2019/6/4
@@ -36,12 +35,6 @@ class TraceMethod {
3635 }
3736
3837
39- fun getReturn (): String? {
40- return if (desc.isNullOrEmpty()) {
41- null
42- } else Type .getReturnType(desc!! ).toString()
43- }
44-
4538
4639 override fun toString (): String {
4740 return if (desc == null || isNativeMethod()) {
@@ -51,13 +44,6 @@ class TraceMethod {
5144 }
5245 }
5346
54- fun toIgnoreString (): String {
55- return if (desc == null || isNativeMethod()) {
56- " $className $methodName "
57- } else {
58- " $className $methodName $desc "
59- }
60- }
6147
6248 fun isNativeMethod (): Boolean {
6349 return accessFlag and Opcodes .ACC_NATIVE != 0
You can’t perform that action at this time.
0 commit comments