gr.uom.java.xmi.UMLJavadoc 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;
import java.util.ArrayList;
import java.util.List;
public class UMLJavadoc {
private List tags;
public UMLJavadoc() {
this.tags = new ArrayList();
}
public void addTag(UMLTagElement tag) {
tags.add(tag);
}
public List getTags() {
return tags;
}
public boolean contains(String s) {
for(UMLTagElement tag : tags) {
if(tag.contains(s)) {
return true;
}
}
return false;
}
public boolean containsIgnoreCase(String s) {
for(UMLTagElement tag : tags) {
if(tag.containsIgnoreCase(s)) {
return true;
}
}
return false;
}
}