public static boolean isParticleMethod ( FrameworkMethod method ) { return ( ( null != method . getAnnotation ( Test . class ) ) || ( null != method . getAnnotation ( Before . class ) ) || ( null != method . getAnnotation ( After . class ) ) || ( null != method . getAnnotation ( BeforeClass . class ) ) || ( null != method . getAnnotation ( AfterClass . class ) ) ) ; }
Determine if the specified method is a test or configuration method .