cdc.mf.model.MfAnnotationOwner Maven / Gradle / Ivy
The newest version!
package cdc.mf.model;
import java.util.List;
/**
* Interface of elements that can own {@link MfAnnotation annotations}.
*
* @author Damien Carbonne
*/
public interface MfAnnotationOwner extends MfElement {
/**
* @return The {@link MfAnnotation annotations} owned by this element.
*/
public default List getAnnotations() {
return getChildren(MfAnnotation.class);
}
/**
* @return A {@link MfAnnotation annotation} {@link MfAnnotation.Builder builder}.
*/
public MfAnnotation.Builder extends MfAnnotationOwner> annotation();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy