public AnnotationMetadata build() { DefaultAnnotationMetadata annotationMetadata = new DefaultAnnotationMetadata(getAnnotationType(), new ArrayList<AnnotationAttributeValue<?>>(getAttributes().values())); annotationMetadata.setCommentStructure(commentStructure); return annotationMetadata; }
@SuppressWarnings("unchecked") public AnnotationAttributeValue<?> getAttribute(final String attributeName) { return getAttribute(new JavaSymbolName(attributeName)); }
public AnnotationMetadata build() { DefaultAnnotationMetadata annotationMetadata = new DefaultAnnotationMetadata(getAnnotationType(), new ArrayList<AnnotationAttributeValue<?>>(getAttributes().values())); annotationMetadata.setCommentStructure(commentStructure); return annotationMetadata; }
@SuppressWarnings("unchecked") public AnnotationAttributeValue<?> getAttribute(final String attributeName) { return getAttribute(new JavaSymbolName(attributeName)); }