/** * Validates the data for correct annotation */ protected void initValid(EnhancedAnnotation<T> annotatedAnnotation) { this.valid = false; for (Class<? extends Annotation> annotationType : getMetaAnnotationTypes()) { if (annotatedAnnotation.isAnnotationPresent(annotationType)) { this.valid = true; } } }
/** * Validates the data for correct annotation */ protected void initValid(EnhancedAnnotation<T> annotatedAnnotation) { this.valid = false; for (Class<? extends Annotation> annotationType : getMetaAnnotationTypes()) { if (annotatedAnnotation.isAnnotationPresent(annotationType)) { this.valid = true; } } }
/** * Validates the data for correct annotation */ protected void initValid(EnhancedAnnotation<T> annotatedAnnotation) { this.valid = false; for (Class<? extends Annotation> annotationType : getMetaAnnotationTypes()) { if (annotatedAnnotation.isAnnotationPresent(annotationType)) { this.valid = true; } } }
/** * Validates the data for correct annotation */ protected void initValid(EnhancedAnnotation<T> annotatedAnnotation) { this.valid = false; for (Class<? extends Annotation> annotationType : getMetaAnnotationTypes()) { if (annotatedAnnotation.isAnnotationPresent(annotationType)) { this.valid = true; } } }
/** * Validates the data for correct annotation */ protected void initValid(EnhancedAnnotation<T> annotatedAnnotation) { this.valid = false; for (Class<? extends Annotation> annotationType : getMetaAnnotationTypes()) { if (annotatedAnnotation.isAnnotationPresent(annotationType)) { this.valid = true; } } }
/** * Validates the data for correct annotation */ protected void initValid(EnhancedAnnotation<T> annotatedAnnotation) { this.valid = false; for (Class<? extends Annotation> annotationType : getMetaAnnotationTypes()) { if (annotatedAnnotation.isAnnotationPresent(annotationType)) { this.valid = true; } } }
/** * Initializes the type */ protected void initType(EnhancedAnnotation<T> annotatedAnnotation) { if (!Annotation.class.isAssignableFrom(getRawType())) { throw MetadataLogger.LOG.metaAnnotationOnWrongType(getMetaAnnotationTypes(), getRawType()); } }
/** * Initializes the type */ protected void initType(EnhancedAnnotation<T> annotatedAnnotation) { if (!Annotation.class.isAssignableFrom(getRawType())) { throw MetadataLogger.LOG.metaAnnotationOnWrongType(getMetaAnnotationTypes(), getRawType()); } }
/** * Initializes the type */ protected void initType(EnhancedAnnotation<T> annotatedAnnotation) { if (!Annotation.class.isAssignableFrom(getRawType())) { throw MetadataLogger.LOG.metaAnnotationOnWrongType(getMetaAnnotationTypes(), getRawType()); } }
/** * Initializes the type */ protected void initType(EnhancedAnnotation<T> annotatedAnnotation) { if (!Annotation.class.isAssignableFrom(getRawType())) { throw MetadataLogger.LOG.metaAnnotationOnWrongType(getMetaAnnotationTypes(), getRawType()); } }
/** * Initializes the type */ protected void initType(EnhancedAnnotation<T> annotatedAnnotation) { if (!Annotation.class.isAssignableFrom(getRawType())) { throw MetadataLogger.LOG.metaAnnotationOnWrongType(getMetaAnnotationTypes(), getRawType()); } }
/** * Initializes the type */ protected void initType(EnhancedAnnotation<T> annotatedAnnotation) { if (!Annotation.class.isAssignableFrom(getRawType())) { throw MetadataLogger.LOG.metaAnnotationOnWrongType(getMetaAnnotationTypes(), getRawType()); } }