Package de.petris.dynamicaspects.wrapper

Examples of de.petris.dynamicaspects.wrapper.CallInfo


     
      InstructionHandle[] ih
        = (InstructionHandle[])iter.next();

      // construct a call info of the invoke
      CallInfo ci = createCallInfo( ih[0] );

      // does this invoke match our pattern?
      if( invokePattern.matcher( ci.getMethodDeclaration() ).matches() ) {
        Logger.debug( "%s matching",
          ci.getMethodDeclaration()  );
        rc.add(
          new CallMatch( ih[0], ci ) );
      }
      else {
        Logger.debug( "%s not matching",
          ci.getMethodDeclaration() );
      }
    }
   
    return rc;
  }
View Full Code Here


    ConstantNameAndType ntConst =
      (ConstantNameAndType)constPoolGen.getConstant(
        methodConst.getNameAndTypeIndex() );
   
      return new CallInfo(
      ((ConstantUtf8)constPoolGen.getConstant(
        classConst.getNameIndex() )).getBytes(),
      ntConst.getName( constPoolGen.getConstantPool() ),
      ntConst.getSignature( constPoolGen.getConstantPool() ) );
  }
View Full Code Here

TOP

Related Classes of de.petris.dynamicaspects.wrapper.CallInfo

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.