gr.uom.java.xmi.annotation.source.NullSourceAnnotation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of refactoring-miner Show documentation
Show all versions of refactoring-miner Show documentation
RefactoringMiner is a library/API written in Java that can detect refactorings applied in the history of a Java project.
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"));
}
}