/** * Applies the given visitor to the annotation. */ public void annotationAccept(Clazz clazz, AnnotationVisitor annotationVisitor) { annotationVisitor.visitAnnotation(clazz, annotationValue); }
/** * Applies the given visitor to all class annotations. */ public void annotationsAccept(Clazz clazz, AnnotationVisitor annotationVisitor) { for (int index = 0; index < u2annotationsCount; index++) { // We don't need double dispatching here, since there is only one // type of Annotation. annotationVisitor.visitAnnotation(clazz, annotations[index]); } }
/** * Applies the given visitor to all method annotations. */ public void annotationsAccept(Clazz clazz, Method method, AnnotationVisitor annotationVisitor) { for (int index = 0; index < u2annotationsCount; index++) { // We don't need double dispatching here, since there is only one // type of Annotation. annotationVisitor.visitAnnotation(clazz, method, annotations[index]); } }
/** * Applies the given visitor to all field annotations. */ public void annotationsAccept(Clazz clazz, Field field, AnnotationVisitor annotationVisitor) { for (int index = 0; index < u2annotationsCount; index++) { // We don't need double dispatching here, since there is only one // type of Annotation. annotationVisitor.visitAnnotation(clazz, field, annotations[index]); } }
/** * Applies the given visitor to the annotation. */ public void annotationAccept(Clazz clazz, AnnotationVisitor annotationVisitor) { annotationVisitor.visitAnnotation(clazz, annotationValue); }
/** * Applies the given visitor to all method annotations. */ public void annotationsAccept(Clazz clazz, Method method, AnnotationVisitor annotationVisitor) { for (int index = 0; index < u2annotationsCount; index++) { // We don't need double dispatching here, since there is only one // type of Annotation. annotationVisitor.visitAnnotation(clazz, method, annotations[index]); } } }
/** * Applies the given visitor to all field annotations. */ public void annotationsAccept(Clazz clazz, Field field, AnnotationVisitor annotationVisitor) { for (int index = 0; index < u2annotationsCount; index++) { // We don't need double dispatching here, since there is only one // type of Annotation. annotationVisitor.visitAnnotation(clazz, field, annotations[index]); } }
/** * Applies the given visitor to all class annotations. */ public void annotationsAccept(Clazz clazz, AnnotationVisitor annotationVisitor) { for (int index = 0; index < u2annotationsCount; index++) { // We don't need double dispatching here, since there is only one // type of Annotation. annotationVisitor.visitAnnotation(clazz, annotations[index]); } }
/** * Applies the given visitor to all method annotations. */ public void annotationsAccept(Clazz clazz, Method method, AnnotationVisitor annotationVisitor) { for (int index = 0; index < u2annotationsCount; index++) { // We don't need double dispatching here, since there is only one // type of Annotation. annotationVisitor.visitAnnotation(clazz, method, annotations[index]); } }
/** * Applies the given visitor to all class annotations. */ public void annotationsAccept(Clazz clazz, AnnotationVisitor annotationVisitor) { for (int index = 0; index < u2annotationsCount; index++) { // We don't need double dispatching here, since there is only one // type of Annotation. annotationVisitor.visitAnnotation(clazz, annotations[index]); } }
/** * Applies the given visitor to all field annotations. */ public void annotationsAccept(Clazz clazz, Field field, AnnotationVisitor annotationVisitor) { for (int index = 0; index < u2annotationsCount; index++) { // We don't need double dispatching here, since there is only one // type of Annotation. annotationVisitor.visitAnnotation(clazz, field, annotations[index]); } }
/** * Applies the given visitor to all class annotations. */ public void annotationsAccept(Clazz clazz, AnnotationVisitor annotationVisitor) { for (int index = 0; index < u2annotationsCount; index++) { // We don't need double dispatching here, since there is only one // type of Annotation. annotationVisitor.visitAnnotation(clazz, annotations[index]); } }
/** * Applies the given visitor to all method annotations. */ public void annotationsAccept(Clazz clazz, Method method, AnnotationVisitor annotationVisitor) { for (int index = 0; index < u2annotationsCount; index++) { // We don't need double dispatching here, since there is only one // type of Annotation. annotationVisitor.visitAnnotation(clazz, method, annotations[index]); } }
/** * Applies the given visitor to the annotation. */ public void annotationAccept(Clazz clazz, AnnotationVisitor annotationVisitor) { annotationVisitor.visitAnnotation(clazz, annotationValue); }
/** * Applies the given visitor to all field annotations. */ public void annotationsAccept(Clazz clazz, Field field, AnnotationVisitor annotationVisitor) { for (int index = 0; index < u2annotationsCount; index++) { // We don't need double dispatching here, since there is only one // type of Annotation. annotationVisitor.visitAnnotation(clazz, field, annotations[index]); } }
/** * Applies the given visitor to the annotation. */ public void annotationAccept(Clazz clazz, AnnotationVisitor annotationVisitor) { annotationVisitor.visitAnnotation(clazz, annotationValue); }
/** * Applies the given visitor to all code attribute annotations. */ public void annotationsAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, AnnotationVisitor annotationVisitor) { for (int index = 0; index < u2annotationsCount; index++) { // We don't need double dispatching here, since there is only one // type of Annotation. annotationVisitor.visitAnnotation(clazz, method, codeAttribute, annotations[index]); } } }
/** * Applies the given visitor to all code attribute annotations. */ public void annotationsAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, AnnotationVisitor annotationVisitor) { for (int index = 0; index < u2annotationsCount; index++) { // We don't need double dispatching here, since there is only one // type of Annotation. annotationVisitor.visitAnnotation(clazz, method, codeAttribute, annotations[index]); } } }
/** * Applies the given visitor to all code attribute annotations. */ public void annotationsAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, AnnotationVisitor annotationVisitor) { for (int index = 0; index < u2annotationsCount; index++) { // We don't need double dispatching here, since there is only one // type of Annotation. annotationVisitor.visitAnnotation(clazz, method, codeAttribute, annotations[index]); } } }
/** * Applies the given visitor to all annotations. */ public void annotationsAccept(Clazz clazz, Method method, AnnotationVisitor annotationVisitor) { // Loop over all parameters. for (int parameterIndex = 0; parameterIndex < u2parametersCount; parameterIndex++) { int annotationsCount = u2parameterAnnotationsCount[parameterIndex]; Annotation[] annotations = parameterAnnotations[parameterIndex]; // Loop over all parameter annotations. for (int index = 0; index < annotationsCount; index++) { // We don't need double dispatching here, since there is only one // type of Annotation. annotationVisitor.visitAnnotation(clazz, method, parameterIndex, annotations[index]); } } } }