Class AsmNodeHelper


  • public class AsmNodeHelper
    extends NodeHelper
    Helper for creating nodes.
    • Constructor Summary

      Constructors 
      Constructor Description
      AsmNodeHelper()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.objectweb.asm.tree.FieldNode createField​(int access, java.lang.String name, java.lang.String desc, java.lang.String[] signature, java.lang.Object initialValue)
      Create field node helper.
      org.objectweb.asm.tree.MethodNode createReturnConstantMethod​(java.lang.String name, int value)
      Create const method node helper.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AsmNodeHelper

        public AsmNodeHelper()
    • Method Detail

      • createReturnConstantMethod

        public org.objectweb.asm.tree.MethodNode createReturnConstantMethod​(java.lang.String name,
                                                                            int value)
        Create const method node helper.
        Specified by:
        createReturnConstantMethod in class NodeHelper
        Returns:
        the new method
      • createField

        public org.objectweb.asm.tree.FieldNode createField​(int access,
                                                            java.lang.String name,
                                                            java.lang.String desc,
                                                            java.lang.String[] signature,
                                                            java.lang.Object initialValue)
        Create field node helper.
        Specified by:
        createField in class NodeHelper