in surefire-providers/surefire-testng-utils/src/main/java/org/apache/maven/surefire/testng/utils/MethodSelector.java [41:53]
public boolean includeMethod(IMethodSelectorContext context, ITestNGMethod testngMethod, boolean isTestMethod) {
return testngMethod.isBeforeClassConfiguration()
|| testngMethod.isBeforeGroupsConfiguration()
|| testngMethod.isBeforeMethodConfiguration()
|| testngMethod.isBeforeSuiteConfiguration()
|| testngMethod.isBeforeTestConfiguration()
|| testngMethod.isAfterClassConfiguration()
|| testngMethod.isAfterGroupsConfiguration()
|| testngMethod.isAfterMethodConfiguration()
|| testngMethod.isAfterSuiteConfiguration()
|| testngMethod.isAfterTestConfiguration()
|| shouldRun(testngMethod);
}