Renamed the Handler implementations.

This commit is contained in:
Reinier Zwitserloot committed 2009-06-17 20:12:03 +02:00
1 parent db2326714f
commit e737d64242
2 files changed
+2 -2

No files matched your search

@@ -24,7 +24,7 @@ import org.eclipse.jdt.internal.compiler.lookup.MethodScope;
import org.mangosdk.spi.ProviderFor;
@ProviderFor(EclipseAnnotationHandler.class)
public class HandleGetter_ecj implements EclipseAnnotationHandler<Getter> {
public class HandleGetter implements EclipseAnnotationHandler<Getter> {
private void generateDuplicateGetterWarning(Node annotationNode, String methodName) {
annotationNode.addWarning(String.format("Not generating %s(): A method with that name already exists", methodName));
}
@@ -24,7 +24,7 @@ import com.sun.tools.javac.util.List;
import com.sun.tools.javac.util.Name;
@ProviderFor(JavacAnnotationHandler.class)
public class HandleGetter_javac implements JavacAnnotationHandler<Getter> {
public class HandleGetter implements JavacAnnotationHandler<Getter> {
@Override public void handle(AnnotationValues<Getter> annotation, JCAnnotation ast, JavacAST.Node node) {
if ( node.up().getKind() != Kind.FIELD ) {
node.addError("@Getter is only supported on a field.");