Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*    */ package javassist.tools.reflect;
 /*    */ 
 /*    */ public class Sample
 /*    */ {
 /*    */   private Metaobject _metaobject;
 /*    */   private static ClassMetaobject _classobject;
 /*    */ 
 /*    */   public Object trap(Object[] argsint identifier)
 /*    */     throws Throwable
/*    */   {
/* 27 */     Metaobject mobj = this.;
/* 28 */     if (mobj == null) {
/* 29 */       return ClassMetaobject.invoke(thisidentifierargs);
/*    */     }
/* 31 */     return mobj.trapMethodcall(identifierargs);
/*    */   }
/*    */ 
/*    */   public static Object trapStatic(Object[] argsint identifier)
/*    */     throws Throwable
/*    */   {
/* 37 */     return .trapMethodcall(identifierargs);
/*    */   }
/*    */ 
/*    */   public static Object trapRead(Object[] argsString name) {
/* 41 */     if (args[0] == null) {
/* 42 */       return .trapFieldRead(name);
/*    */     }
/* 44 */     return ((Metalevel)args[0])._getMetaobject().trapFieldRead(name);
/*    */   }
/*    */ 
/*    */   public static Object trapWrite(Object[] argsString name) {
/* 48 */     Metalevel base = (Metalevel)args[0];
/* 49 */     if (base == null)
/* 50 */       .trapFieldWrite(nameargs[1]);
/*    */     else {
/* 52 */       base._getMetaobject().trapFieldWrite(nameargs[1]);
/*    */     }
/* 54 */     return null;
/*    */   }
/*    */ }
/* Location:           /home/mnovotny/projects/EMBEDDED_JBOSS_BETA3_COMMUNITY/embedded/output/lib/embedded-jboss/lib/thirdparty-all.jar
 * Qualified Name:     javassist.tools.reflect.Sample
 * JD-Core Version:    0.6.0
 */
New to GrepCode? Check out our FAQ X