@Provides
public WebApplication webApp( @NotNull GuiceContainer guiceContainer ) {
WebApplication copy = webApplicationReference;
if ( copy == null ) {
WebComponent component = Reflection.field( "webComponent" ).ofType( WebComponent.class ).in( guiceContainer ).get();
copy = Reflection.field( "application" ).ofType( WebApplication.class ).in( component ).get();
webApplicationReference = copy;
}
return copy;
}