All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gr.uom.java.xmi.annotation.source.NullSourceAnnotation Maven / Gradle / Ivy

package gr.uom.java.xmi.annotation.source;

import gr.uom.java.xmi.SourceAnnotation;
import gr.uom.java.xmi.UMLAnnotation;
import gr.uom.java.xmi.UMLModel;
import gr.uom.java.xmi.UMLOperation;
import gr.uom.java.xmi.annotation.MarkerAnnotation;

import java.util.Collections;
import java.util.List;

public class NullSourceAnnotation extends SourceAnnotation implements MarkerAnnotation {
    public static final String ANNOTATION_TYPENAME = "NullSource";

    public NullSourceAnnotation(UMLAnnotation annotation, UMLOperation operation, UMLModel model) {
        super(annotation, ANNOTATION_TYPENAME);
    }

    @Override
    public List> getTestParameters() {
        return Collections.singletonList(Collections.singletonList("null"));
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy