
org.opalj.hermes.queries.TrivialReflectionUsage.markdown Maven / Gradle / Ivy
The newest version!
#Trivial Reflection Usage
Counts the number of cases where `Class.forName` calls can be trivially resolved, because the respective String(s) are directly available. E.g.,
String className = "com.here.MyLAF"
Class.forName(className)
or
String className = "com.here.DefaultLAF"
if()
className = "com.here.OtherLAF"
Class.forName(className)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy