1 8 package org.codehaus.aspectwerkz.annotation.instrumentation; 9 10 import com.thoughtworks.qdox.model.JavaField; 11 import com.thoughtworks.qdox.model.JavaMethod; 12 13 import java.net.URL ; 14 15 20 public interface AttributeEnhancer { 21 24 public static final String CUSTOM_ATTRIBUTE = "org.codehaus.aspectwerkz.custom_attribute"; 25 26 33 boolean initialize(String className, URL [] classPath); 34 35 40 void insertClassAttribute(Object attribute); 41 42 48 void insertFieldAttribute(JavaField field, Object attribute); 49 50 56 void insertConstructorAttribute(JavaMethod method, Object attribute); 57 58 64 void insertMethodAttribute(JavaMethod method, Object attribute); 65 66 71 void write(String destDir); 72 73 78 String [] getNearestInterfacesInHierarchy(String innerClassName); 79 } | Popular Tags |