Format annotation attributes

This commit is contained in:
ktkk 2026-07-07 13:38:46 +00:00
parent 3a5fd90d14
commit f12bcd2911
6 changed files with 275 additions and 16 deletions

View file

@ -1,11 +1,12 @@
import java.util.function.Supplier;
@CustomAnnotation(type = CustomAnnotationType.ONE, name = "Alice")
public class Main implements Runnable, Supplier<Integer>, Interface {
private static final String name = "John";
private static final int number = 42;
private static final double funnyNumber = 6.9;
public static void main(String[] args) {
public static void main(@CustomParameterAnnotation String[] args) {
final var main = new Main();
main.sayHello();