Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*    */ package org.jboss.aop.util.reference;
 /*    */ 
 /*    */ import java.lang.ref.WeakReference;
 /*    */ 
 /*    */ public abstract class ArgumentPersistentReference extends PersistentReference
 /*    */ {
 /*    */   WeakReference[] arguments;
 /*    */ 
 /*    */   public ArgumentPersistentReference(Class clazzObject referencedObjectint referenceType)
/*    */   {
/* 37 */     super(clazz, referencedObject, referenceType);
/*    */   }
/*    */ 
/*    */   public void setArguments(Class[] parguments)
/*    */   {
/* 44 */     this.arguments = new WeakReference[parguments.length];
/* 45 */     for (int i = 0; i < this.arguments.length; i++)
/*    */     {
/* 47 */       this.arguments[i] = new WeakReference(parguments[i]);
/*    */     }
/*    */   }
/*    */ 
/*    */   public Class[] getArguments()
/*    */   {
/* 53 */     if (this.arguments == null)
/*    */     {
/* 55 */       return null;
/*    */     }
/*    */ 
/* 59 */     Class[] argumentsReturn = new Class[this.arguments.length];
/* 60 */     for (int i = 0; i < this.arguments.length; i++)
/*    */     {
/* 62 */       argumentsReturn[i] = ((Class)this.arguments[i].get());
/*    */     }
/* 64 */     return argumentsReturn;
/*    */   }
/*    */ }
/* Location:           /home/mnovotny/projects/EMBEDDED_JBOSS_BETA3_COMMUNITY/embedded/output/lib/embedded-jboss/lib/jboss-embedded-all.jar
 * Qualified Name:     org.jboss.aop.util.reference.ArgumentPersistentReference
 * JD-Core Version:    0.6.0
 */
New to GrepCode? Check out our FAQ X