Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*    */ package net.sf.cglib.core;
 /*    */ 
 /*    */ import java.lang.reflect.Constructor;
 /*    */ import java.lang.reflect.Method;
 /*    */ 
 /*    */ public class MethodInfoTransformer
 /*    */   implements Transformer
 /*    */ {
 /* 22 */   private static final MethodInfoTransformer INSTANCE = new MethodInfoTransformer();
/*    */ 
/*    */   public static MethodInfoTransformer getInstance() {
/* 25 */     return ;
/*    */   }
/*    */ 
/*    */   public Object transform(Object value) {
/* 29 */     if ((value instanceof Method))
/* 30 */       return ReflectUtils.getMethodInfo((Method)value);
/* 31 */     if ((value instanceof Constructor)) {
/* 32 */       return ReflectUtils.getMethodInfo((Constructor)value);
/*    */     }
/* 34 */     throw new IllegalArgumentException("cannot get method info for " + value);
/*    */   }
/*    */ }
/* Location:           /home/mnovotny/projects/EMBEDDED_JBOSS_BETA3_COMMUNITY/embedded/output/lib/embedded-jboss/lib/thirdparty-all.jar
 * Qualified Name:     net.sf.cglib.core.MethodInfoTransformer
 * JD-Core Version:    0.6.0
 */
New to GrepCode? Check out our FAQ X