| /******************************************************************************* |
| * Copyright (c) 2015 BSI Business Systems Integration AG. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * BSI Business Systems Integration AG - initial API and implementation |
| ******************************************************************************/ |
| package org.eclipse.scout.sdk.core.sourcebuilder; |
| |
| import java.util.List; |
| |
| import org.eclipse.scout.sdk.core.sourcebuilder.annotation.IAnnotationSourceBuilder; |
| |
| /** |
| * <h3>{@link IAnnotatableSourceBuilder}</h3> |
| * |
| * @author Andreas Hoegger |
| * @since 3.10.0 2013-03-07 |
| */ |
| public interface IAnnotatableSourceBuilder extends IJavaElementSourceBuilder { |
| |
| /** |
| * Adds the given {@link IAnnotatableSourceBuilder} without a specific order |
| * |
| * @param builder |
| */ |
| void addAnnotation(IAnnotationSourceBuilder builder); |
| |
| /** |
| * @param annotationFqn |
| * The fully qualified name of the {@link IAnnotationSourceBuilder} to remove. |
| * @return |
| */ |
| boolean removeAnnotation(String annotationFqn); |
| |
| /** |
| * @return |
| */ |
| List<IAnnotationSourceBuilder> getAnnotations(); |
| |
| /** |
| * Removes all {@link IAnnotationSourceBuilder}s from this source builder. |
| */ |
| void removeAllAnnotations(); |
| |
| } |