public static void assertNotStatic ( final Field field , Class < ? extends Annotation > annotation ) { if ( Modifier . isStatic ( field . getModifiers ( ) ) ) { throw annotation == null ? MESSAGES . fieldCannotBeStaticOrFinal ( field ) : MESSAGES . fieldCannotBeStaticOrFinal2 ( field , annotation ) ; } }
Asserts field is not static .