protected Object builtin ( Type type ) { Class < ? > rawType = Types . getRawType ( type ) ; if ( rawType . equals ( WebContext . class ) ) { return context ; } else if ( rawType . equals ( HttpServletRequest . class ) ) { return context . request ( ) ; } else if ( rawType . equals ( HttpServletResponse . class ) ) { return context . response ( ) ; } else if ( rawType . equals ( HttpSession . class ) ) { return context . session ( ) ; } else if ( rawType . equals ( ServletContext . class ) ) { return context . application ( ) ; } else { // org.eiichiro.bootleg.Request. return this ; } }
Returns the value of built - in type .