1 8 package org.codehaus.aspectwerkz.transform.aspectj; 9 10 import org.codehaus.aspectwerkz.aspect.AdviceType; 11 12 18 class AdviceInfo { 19 AdviceType type; 20 String aspectClassName; 21 String adviceMethodName; 22 String pointcut; 23 int extraParameterFlags; 24 String [] parameterTypes = new String [0]; 25 26 public String toString() { 27 StringBuffer stringRepr = new StringBuffer (). 28 append('[').append(type). 29 append(',').append(aspectClassName). 30 append(',').append(adviceMethodName). 31 append(',').append(pointcut). 32 append(',').append(extraParameterFlags); 33 for (int i = 0; i < parameterTypes.length; i++) { 34 stringRepr.append(',').append(parameterTypes[i]); 35 } 36 stringRepr.append(']'); 37 return stringRepr.toString(); 38 } 39 } 40 | Popular Tags |