Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*     */ package org.jboss.aop.instrument;
 /*     */ 
 /*     */ import java.util.ArrayList;
 /*     */ import java.util.Collection;
 /*     */ import  javassist.CtClass;
 /*     */ 
 /*     */ public class JoinpointStatusUpdate
 /*     */ {
 /*     */   public CtClass clazz;
/*     */   public ClassJoinpoints newlyAdvisedJoinpoints;
/*     */   public ClassJoinpoints newlyUnadvisedJoinpoints;
/*     */ 
/*     */   public boolean isEmpty()
/*     */   {
/*  56 */     return (this.newlyAdvisedJoinpoints.isEmpty()) && (this.newlyUnadvisedJoinpoints.isEmpty());
/*     */   }
/*     */ 
/*     */   public static class ClassJoinpoints
/*     */   {
/*     */     public Collection fieldReads;
/*     */     public Collection fieldWrites;
/*     */     public Collection constructorExecutions;
/*     */     public Collection methodExecutions;
/*     */ 
/*     */     public ClassJoinpoints(int fieldsint constructorsint methods)
/*     */     {
/*  98 */       this.fieldReads = new ArrayList(fields);
/*  99 */       this.fieldWrites = new ArrayList(fields);
/* 100 */       this.constructorExecutions = new ArrayList(constructors);
/* 101 */       this.methodExecutions = new ArrayList(methods);
/*     */     }
/*     */ 
/*     */     public boolean isEmpty()
/*     */     {
/* 109 */       return (this.fieldReads.isEmpty()) && (this.fieldWrites.isEmpty()) && (this.constructorExecutions.isEmpty()) && (this.methodExecutions.isEmpty());
/*     */     }
/*     */   }
/*     */ }
/* Location:           /home/mnovotny/projects/EMBEDDED_JBOSS_BETA3_COMMUNITY/embedded/output/lib/embedded-jboss/lib/jboss-embedded-all.jar
 * Qualified Name:     org.jboss.aop.instrument.JoinpointStatusUpdate
 * JD-Core Version:    0.6.0
 */
New to GrepCode? Check out our FAQ X