Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*    */ package net.sf.cglib.transform;
 /*    */ 
 /*    */ import net.sf.cglib.asm.Attribute;
 /*    */ import net.sf.cglib.asm.ClassVisitor;
 /*    */ import net.sf.cglib.asm.CodeVisitor;
 /*    */ 
 /*    */ public abstract class AbstractClassFilterTransformer extends AbstractClassTransformer
 /*    */ {
 /*    */   private ClassTransformer pass;
/*    */   private ClassVisitor target;
/*    */ 
/*    */   public void setTarget(ClassVisitor target)
/*    */   {
/* 25 */     super.setTarget(target);
/* 26 */     this.pass.setTarget(target);
/*    */   }
/*    */ 
/*    */   protected AbstractClassFilterTransformer(ClassTransformer pass) {
/* 30 */     this.pass = pass;
/*    */   }
/*    */   protected abstract boolean accept(int paramInt1int paramInt2String paramString1String paramString2String[] paramArrayOfStringString paramString3);
/*    */ 
/*    */   public void visit(int versionint accessString nameString superNameString[] interfacesString sourceFile) {
/* 36 */     this.target = (accept(version, access, name, superName, interfaces, sourceFile) ? this.pass : this.cv);
/* 37 */     this.target.visit(version, access, name, superName, interfaces, sourceFile);
/*    */   }
/*    */ 
/*    */   public void visitEnd() {
/* 41 */     this.target.visitEnd();
/* 42 */     this.target = null;
/*    */   }
/*    */ 
/*    */   public void visitField(int accessString nameString descObject valueAttribute attrs) {
/* 46 */     this.target.visitField(access, name, desc, value, attrs);
/*    */   }
/*    */ 
/*    */   public void visitInnerClass(String nameString outerNameString innerNameint access) {
/* 50 */     this.target.visitInnerClass(name, outerName, innerName, access);
/*    */   }
/*    */ 
/*    */   public CodeVisitor visitMethod(int accessString nameString descString[] exceptionsAttribute attrs) {
/* 54 */     return this.target.visitMethod(access, name, desc, exceptions, attrs);
/*    */   }
/*    */ 
/*    */   public void visitAttribute(Attribute attrs) {
/* 58 */     this.target.visitAttribute(attrs);
/*    */   }
/*    */ }
/* Location:           /home/mnovotny/projects/EMBEDDED_JBOSS_BETA3_COMMUNITY/embedded/output/lib/embedded-jboss/lib/thirdparty-all.jar
 * Qualified Name:     net.sf.cglib.transform.AbstractClassFilterTransformer
 * JD-Core Version:    0.6.0
 */
New to GrepCode? Check out our FAQ X