1 8 package org.codehaus.aspectwerkz.transform; 9 10 import org.objectweb.asm.Label; 11 12 import java.util.List ; 13 import java.util.Set ; 14 15 21 public interface Context { 22 23 public String getClassName(); 24 25 30 public abstract void setCurrentBytecode(final byte[] bytecode); 31 32 37 public abstract byte[] getInitialBytecode(); 38 39 44 public abstract byte[] getCurrentBytecode(); 45 46 51 public abstract ClassLoader getLoader(); 52 53 58 public abstract Set getDefinitions(); 59 60 63 public abstract void markAsAdvised(); 64 65 68 public abstract void resetAdvised(); 69 70 76 public abstract boolean isAdvised(); 77 78 81 public abstract void markAsReadOnly(); 82 83 88 public abstract boolean isReadOnly(); 89 90 96 public abstract Object getMetaData(final Object key); 97 98 104 public abstract void addMetaData(final Object key, final Object value); 105 106 111 public abstract void dump(String dir); 112 113 119 abstract int resolveLineNumberInfo(Label label); 120 121 } | Popular Tags |