1 /* 2 MagicNumber 3 ignoreNumbers = (default)-1, 0, 1, 2 4 ignoreHashCodeMethod = (default)false 5 ignoreAnnotation = (default)false 6 ignoreFieldDeclaration = (default)false 7 ignoreAnnotationElementDefaults = false 8 constantWaiverParentToken = (default)TYPECAST, METHOD_CALL, EXPR, ARRAY_INIT, UNARY_MINUS, \ 9 UNARY_PLUS, ELIST, STAR, ASSIGN, PLUS, MINUS, DIV, LITERAL_NEW 10 tokens = (default)NUM_DOUBLE, NUM_FLOAT, NUM_INT, NUM_LONG 11 12 13 */ 14 15 package com.puppycrawl.tools.checkstyle.checks.coding.magicnumber; 16 17 @interface InputMagicNumberAnnotationElement { 18 int value() default 10; // violation 19 int[] value2() default {11}; // violation 20 }