Package org.jboss.metadata.spi.retrieval.basic

Examples of org.jboss.metadata.spi.retrieval.basic.BasicAnnotationItem.invalidate()


/* 161 */     if (old != null)
/*     */     {
/* 163 */       result = old.getAnnotation();
/* 164 */       if (result == annotation)
/* 165 */         return result;
/* 166 */       old.invalidate();
/*     */     }
/*     */
/* 169 */     BasicAnnotationItem item = new BasicAnnotationItem(this, annotation);
/* 170 */     this.annotations.put(annotationType.getName(), item);
/* 171 */     invalidateAnnotationsItem();
View Full Code Here


/* 180 */     if (this.annotations == null)
/* 181 */       return null;
/* 182 */     BasicAnnotationItem annotation = (BasicAnnotationItem)this.annotations.remove(annotationType.getName());
/* 183 */     if (annotation == null)
/* 184 */       return null;
/* 185 */     annotation.invalidate();
/* 186 */     invalidateAnnotationsItem();
/* 187 */     invalidateMetaDatasItem();
/* 188 */     return annotation.getAnnotation();
/*     */   }
/*     */
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.