Package javassist.bytecode

Examples of javassist.bytecode.EnclosingMethodAttribute


      if( caller != null )
      {
        // write the enclosing method attribute
        if( caller.getName().equals( "<clinit>" ) )
        {
          c.getClassFile().addAttribute( new EnclosingMethodAttribute(
            c.getClassFile().getConstPool(),
            caller.getClassName()
          ) );
        }
        else
        {
          c.getClassFile().addAttribute( new EnclosingMethodAttribute(
            c.getClassFile().getConstPool(),
            caller.getClassName(),
            caller.getName(),
            caller.getSignature()
          ) );
View Full Code Here

TOP

Related Classes of javassist.bytecode.EnclosingMethodAttribute

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.