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

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

Go to download

RefactoringMiner is a library/API written in Java that can detect refactorings applied in the history of a Java project.

There is a newer version: 3.0.9
Show newest version
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