title: Resolving static methods and protected classes on Spring Boot auto configuration report
body: <p>I'm trying to make my application lighter by manually specifying needed configurations instead of relying on auto configuration, as explained <a href="http://www.alexecollins.com/spring-boot-performance/" rel="nofollow">here</a>. The thing is that my "Positive matches" report is 451 lines long. My first question is, will I really gain anything noticeable, given the amount of things to import anyway?</p>
  
  <p>Then, when trying to run a script through the abovementioned report to produce a list of classes to <code>@Import</code>, I see that there are many (in my case 66) references to static methods, of the type:</p>
  
  <pre><code>   AuditAutoConfiguration#authenticationAuditListener matched
        - @ConditionalOnClass classes found: org.springframework.security.authentication.event.AbstractAuthenticationEvent (OnClassCondition)
        - @ConditionalOnMissingBean (types: org.springframework.boot.actuate.security.AbstractAuthenticationAuditListener; SearchStrategy: all) found no beans (OnBeanCondition)
  </code></pre>
  
  <p>Not all of these static methods are directly called after the type that they return, so I have to go through the list manually. So, is there any way of getting the type instead of the static method name in the report?</p>
  
  <p>And finally, there are protected elements in the report, as</p>
  
  <pre><code>   AuditAutoConfiguration.AuditEventRepositoryConfiguration matched
        - @ConditionalOnMissingBean (types: org.springframework.boot.actuate.audit.AuditEventRepository; SearchStrategy: all) found no beans (OnBeanCondition)
  </code></pre>
  
  <p><code>AuditEventRepositoryConfiguration</code> has protected access, so I can't impor it. Will it be enough importing the containing class, in this case <code>AuditAutoConfiguration</code>?</p>