-
Notifications
You must be signed in to change notification settings - Fork 3
/
apt
23 lines (20 loc) · 761 Bytes
/
apt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# contributor: Ioannis Canellos <[email protected]>
# name: Java Annotation Processor
# key: apt
# --
`(idee/header-of-buffer)`
`(idee/java-package-line)`
import java.util.Set;
import javax.annotation.processing.AbstractProcessor;
import javax.annotation.processing.RoundEnvironment;
import javax.annotation.processing.SupportedAnnotationTypes;
import javax.lang.model.element.Element;
import javax.lang.model.element.TypeElement;
@SupportedAnnotationTypes({ "`(idee/java-package)`.`(replace-regexp-in-string "Processor$" "" (idee/java-class))`" })
public class `(idee/java-class)` extends AbstractProcessor {
@Override
public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) {
$0
return false;
}
}