Static Code Analysis for Reducing Energy Code Smells in Different Loop Types: A Case Study in Java | IEEE Conference Publication | IEEE Xplore