Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*    */ package org.jboss.aop;
 /*    */ 
 /*    */ import java.lang.reflect.Method;
 /*    */ import org.jboss.aop.advice.Interceptor;
 /*    */ import org.jboss.aop.joinpoint.Joinpoint;
 /*    */ 
 /*    */ public class MethodByMethodInfo extends CallerMethodInfo
/*    */   implements MethodCallByMethod
/*    */ {
/*    */   private final long callingMethodHash;
/*    */   private final Method callingMethod;
/*    */ 
/*    */   public MethodByMethodInfo(Advisor advisorClass calledClassMethod mMethod callingMethodlong callingMethodHashlong calledMethodHashInterceptor[] in)
/*    */   {
/* 44 */     super(advisorcalledClassmcalledMethodHashincallingMethod.getDeclaringClass());
/* 45 */     this. = callingMethodHash;
/* 46 */     this. = callingMethod;
/*    */   }
/*    */ 
/*    */   private MethodByMethodInfo(MethodByMethodInfo other)
/*    */   {
/* 54 */     super(other);
/* 55 */     this. = other.callingMethodHash;
/* 56 */     this. = other.callingMethod;
/*    */   }
/*    */ 
/*    */   protected Joinpoint internalGetJoinpoint()
/*    */   {
/* 61 */     return new MethodCalledByMethodJoinpoint(this.getMethod());
/*    */   }
/*    */ 
/*    */   public JoinPointInfo copy()
/*    */   {
/* 66 */     return new MethodByMethodInfo(this);
/*    */   }
/*    */ 
/*    */   public String toString()
/*    */   {
/* 71 */     StringBuffer sb = new StringBuffer("Method called by Method");
/* 72 */     sb.append("[");
/* 73 */     sb.append("calling=" + this.);
/* 74 */     sb.append(",called=" + getMethod());
/* 75 */     sb.append("]");
/* 76 */     return sb.toString();
/*    */   }
/*    */ 
/*    */   public long getCallingMethodHash()
/*    */   {
/* 81 */     return this.;
/*    */   }
/*    */ 
/*    */   public Method getCallingMethod()
/*    */   {
/* 86 */     return this.;
/*    */   }
/*    */ }
/* Location:           /home/mnovotny/projects/EMBEDDED_JBOSS_BETA3_COMMUNITY/embedded/output/lib/embedded-jboss/lib/jboss-embedded-all.jar
 * Qualified Name:     org.jboss.aop.MethodByMethodInfo
 * JD-Core Version:    0.6.0
 */
New to GrepCode? Check out our FAQ X