Format annotation attributes
This commit is contained in:
parent
3a5fd90d14
commit
f12bcd2911
6 changed files with 275 additions and 16 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue