mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-15 00:17:45 +00:00
Renamed the Handler implementations.
This commit is contained in:
1 parent
db2326714f
commit
e737d64242
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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));
|
||||
}
|
||||
+1
-1
@@ -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.");
|
||||
Reference in new issue
Block a user