Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

ch.ethz.prose.crosscut
Class ConcreteWildcardMcutAdvice  view ConcreteWildcardMcutAdvice download ConcreteWildcardMcutAdvice.java

java.lang.Object
  extended bych.ethz.prose.crosscut.McutAdvice
      extended bych.ethz.prose.crosscut.ConcreteWildcardMcutAdvice
All Implemented Interfaces:
java.io.Serializable

class ConcreteWildcardMcutAdvice
extends McutAdvice

An advice execution for an advice method of the form XXX(Foo thisObj,REST otherParams)


Field Summary
protected  MethodCutSignaturePattern advice
           
private  MethodCut methodCut
           
protected  java.lang.Object[] stackArgs
           
protected  int stackArgsLength
           
 
Constructor Summary
(package private) ConcreteWildcardMcutAdvice(MethodCut methodCut, ch.ethz.jvmai.JoinPoint m, MethodCutSignaturePattern a)
           
 
Method Summary
protected  void allocStackArgs(int expectedLength)
           
protected  void execute()
          Pass the target as the first argument of the advice method; Pass ths stack argument as a REST object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

methodCut

private final MethodCut methodCut

stackArgs

protected transient java.lang.Object[] stackArgs

stackArgsLength

protected transient int stackArgsLength

advice

protected transient MethodCutSignaturePattern advice
Constructor Detail

ConcreteWildcardMcutAdvice

ConcreteWildcardMcutAdvice(MethodCut methodCut,
                           ch.ethz.jvmai.JoinPoint m,
                           MethodCutSignaturePattern a)
Method Detail

execute

protected void execute()
                throws java.lang.IllegalAccessException,
                       java.lang.reflect.InvocationTargetException
Pass the target as the first argument of the advice method; Pass ths stack argument as a REST object.

Specified by:
execute in class McutAdvice

allocStackArgs

protected void allocStackArgs(int expectedLength)