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

gr.uom.java.xmi.AnonymousClassDeclarationVisitor 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;

import java.util.LinkedHashSet;
import java.util.Set;

import org.eclipse.jdt.core.dom.ASTVisitor;
import org.eclipse.jdt.core.dom.AnonymousClassDeclaration;

public class AnonymousClassDeclarationVisitor extends ASTVisitor {

	private Set anonymousClassDeclarations = new LinkedHashSet();
	public boolean visit(AnonymousClassDeclaration node) {
		anonymousClassDeclarations.add(node);
		return super.visit(node);
	}

	public Set getAnonymousClassDeclarations() {
		return anonymousClassDeclarations;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy