接口 org.objectweb.asm.Opcodes
的使用

使用 Opcodes 的软件包
org.objectweb.asm.commons Provides some useful class and method adapters. 
org.objectweb.asm.tree.analysis Provides a framework for static code analysis based on the asm.tree package. 
org.objectweb.asm.xml Provides SAX 2.0 adapters for ASM visitors to convert classes to and from XML. 
 

org.objectweb.asm.commonsOpcodes 的使用
 

实现 Opcodesorg.objectweb.asm.commons 中的类
 class AdviceAdapter
          A MethodAdapter to insert before, after and around advices in methods and constructors.
 class CodeSizeEvaluator
          A MethodAdapter that can be used to approximate method size.
 class JSRInlinerAdapter
          A MethodAdapter that removes JSR instructions and inlines the referenced subroutines.
 

org.objectweb.asm.tree.analysisOpcodes 的使用
 

实现 Opcodesorg.objectweb.asm.tree.analysis 中的类
 class Analyzer
          A semantic bytecode analyzer.
 class BasicInterpreter
          An Interpreter for BasicValue values.
 class BasicVerifier
          An extended BasicInterpreter that checks that bytecode instructions are correctly used.
 class SimpleVerifier
          An extended BasicVerifier that performs more precise verifications.
 class SourceInterpreter
          An Interpreter for SourceValue values.
 

org.objectweb.asm.xmlOpcodes 的使用
 

实现 Opcodesorg.objectweb.asm.xml 中的类
 class ASMContentHandler
          A ContentHandler that transforms XML document into Java class file.
 



Copyright © 2013. All Rights Reserved.