Format runtime visible/invisible type annotations attributes

This commit is contained in:
ktkk 2026-07-08 22:22:17 +02:00
parent 76c436714f
commit 5ff7a358f9
3 changed files with 211 additions and 5 deletions

View file

@ -0,0 +1,14 @@
import java.util.function.Supplier;
public class GenericClass<@CustomTypeAnnotation T> {
public <T> Supplier<T> getSupplier(T value) {
return new Supplier<T>() {
@Override
public T get() {
return value;
}
};
}
}