asm geeks time to learn

Import geeks time asm demo to learn, compile time encounter some problems,

1, import dependence is too old

 

 

2, groovy there are grammatical errors (for the final statement went assignment)

 

 3, ASMCode file some grammar and syntax does not match the existing error (getType)

 

 

Here are some things to use to write groovy, mainly to gradle see also the butt, because gradle recognize groovy and kotlin but does not recognize java, which is probably why didi use of booster kotlin write.

 

4, another point, the authors say there is also issue, use is:

 

 

 Compile asm need to comment here when the corresponding plug-in, in order to write new code is compiled to a local warehouse, and then when you can run the demo to remove comments, the actual development may be directly push the plug into the maven repository, then users using the latest It can be.

4.1  gradle buildAndPublishToLocalMaven

4.2 gradle installDebug

Overall, this demo almost asm of commonly used functions to cover the running time to look at the compiled output log can see a lot has achieved, including thread detection, time-consuming methods and statistics.

 

Guess you like

Origin www.cnblogs.com/pjex/p/11529827.html
ASM