I've created some test cases to demonstrate the problem :
the test that use a custom with @AliasFor on @Import fails (customizersForClassesWithDifferentAliasedImportsAreNotEqual), whereas those with a direct use of @Import or use through a custom annotation with a hard coded @Import pass.