comment_sentence_id int64 1 5.52k | class stringlengths 9 50 | comment_sentence stringlengths 1 1.32k | partition int64 0 1 | instance_type int64 0 1 | category stringclasses 1
value | label int64 0 1 | combo stringlengths 15 1.35k | __index_level_0__ int64 7.6k 16.5k |
|---|---|---|---|---|---|---|---|---|
4,153 | AbstractModule.java | simply extend this class, implement @link #configure , and call the inherited | 0 | 0 | Pointer | 0 | simply extend this class, implement @link #configure , and call the inherited | AbstractModule.java | 9,098 |
4,154 | AbstractModule.java | methods which mirror those found in @link binder . | 1 | 0 | Pointer | 0 | methods which mirror those found in @link binder . | AbstractModule.java | 9,099 |
4,155 | AbstractModule.java | for example | 0 | 0 | Pointer | 0 | for example | AbstractModule.java | 9,100 |
4,156 | AbstractModule.java | pre | 1 | 0 | Pointer | 0 | pre | AbstractModule.java | 9,101 |
4,157 | AbstractModule.java | public class mymodule extends abstractmodule | 0 | 0 | Pointer | 0 | public class mymodule extends abstractmodule | AbstractModule.java | 9,102 |
4,158 | AbstractModule.java | protected void configure | 1 | 0 | Pointer | 0 | protected void configure | AbstractModule.java | 9,103 |
4,159 | AbstractModule.java | bind service^class ^to serviceimpl^class ^in singleton^class | 0 | 0 | Pointer | 0 | bind service^class ^to serviceimpl^class ^in singleton^class | AbstractModule.java | 9,104 |
4,160 | AbstractModule.java | bind creditcardpaymentservice^class | 1 | 0 | Pointer | 0 | bind creditcardpaymentservice^class | AbstractModule.java | 9,105 |
4,161 | AbstractModule.java | bind paymentservice^class ^to creditcardpaymentservice^class | 0 | 0 | Pointer | 0 | bind paymentservice^class ^to creditcardpaymentservice^class | AbstractModule.java | 9,106 |
4,162 | AbstractModule.java | bindconstant ^annotatedwith names^named port ^to 8080 | 1 | 0 | Pointer | 0 | bindconstant ^annotatedwith names^named port ^to 8080 | AbstractModule.java | 9,107 |
4,163 | AbstractModule.java | pre | 0 | 0 | Pointer | 0 | pre | AbstractModule.java | 9,108 |
4,164 | AbstractModule.java | @author crazybob@google^com bob lee | 1 | 0 | Pointer | 0 | @author crazybob@google^com bob lee | AbstractModule.java | 9,109 |
4,179 | Binder.java | collects configuration information primarily i bindings i which will be used to create an | 0 | 0 | Pointer | 0 | collects configuration information primarily i bindings i which will be used to create an | Binder.java | 9,110 |
4,180 | Binder.java | @link injector . | 1 | 0 | Pointer | 0 | @link injector . | Binder.java | 9,111 |
4,181 | Binder.java | guice provides this object to your application s @link module implementors so | 0 | 0 | Pointer | 0 | guice provides this object to your application s @link module implementors so | Binder.java | 9,112 |
4,182 | Binder.java | they may each contribute their own bindings and other registrations. | 1 | 0 | Pointer | 0 | they may each contribute their own bindings and other registrations. | Binder.java | 9,113 |
4,183 | Binder.java | h3 the guice binding edsl h3 | 0 | 0 | Pointer | 0 | h3 the guice binding edsl h3 | Binder.java | 9,114 |
4,184 | Binder.java | guice uses an i embedded domain specific language i , or edsl, to help you create bindings | 1 | 0 | Pointer | 0 | guice uses an i embedded domain specific language i , or edsl, to help you create bindings | Binder.java | 9,115 |
4,185 | Binder.java | simply and readably. | 0 | 0 | Pointer | 0 | simply and readably. | Binder.java | 9,116 |
4,188 | Binder.java | javadocs b . | 1 | 0 | Pointer | 0 | javadocs b . | Binder.java | 9,117 |
4,189 | Binder.java | instead, you should consult the series of examples below. | 0 | 0 | Pointer | 0 | instead, you should consult the series of examples below. | Binder.java | 9,118 |
4,190 | Binder.java | to save space, these | 1 | 0 | Pointer | 0 | to save space, these | Binder.java | 9,119 |
4,191 | Binder.java | examples omit the opening @code binder , just as you will if your module extends @link | 0 | 0 | Pointer | 0 | examples omit the opening @code binder , just as you will if your module extends @link | Binder.java | 9,120 |
4,192 | Binder.java | abstractmodule . | 1 | 0 | Pointer | 0 | abstractmodule . | Binder.java | 9,121 |
4,193 | Binder.java | pre | 0 | 0 | Pointer | 0 | pre | Binder.java | 9,122 |
4,196 | Binder.java | does not change guice s default behavior. | 1 | 0 | Pointer | 0 | does not change guice s default behavior. | Binder.java | 9,123 |
4,198 | Binder.java | @link module class to serve as an explicit i manifest i for the services it provides. | 0 | 0 | Pointer | 0 | @link module class to serve as an explicit i manifest i for the services it provides. | Binder.java | 9,124 |
4,199 | Binder.java | also, | 1 | 0 | Pointer | 0 | also, | Binder.java | 9,125 |
4,201 | Binder.java | given explicitly. | 0 | 0 | Pointer | 0 | given explicitly. | Binder.java | 9,126 |
4,202 | Binder.java | pre | 1 | 0 | Pointer | 0 | pre | Binder.java | 9,127 |
4,204 | Binder.java | specifies that a request for a @code service instance with no binding annotations should be | 0 | 0 | Pointer | 0 | specifies that a request for a @code service instance with no binding annotations should be | Binder.java | 9,128 |
4,205 | Binder.java | treated as if it were a request for a @code serviceimpl instance. | 1 | 0 | Pointer | 0 | treated as if it were a request for a @code serviceimpl instance. | Binder.java | 9,129 |
4,206 | Binder.java | this i overrides i the | 0 | 0 | Pointer | 0 | this i overrides i the | Binder.java | 9,130 |
4,207 | Binder.java | function of any @link implementedby @implementedby or @link providedby @providedby | 1 | 0 | Pointer | 0 | function of any @link implementedby @implementedby or @link providedby @providedby | Binder.java | 9,131 |
4,208 | Binder.java | annotations found on @code service , since guice will have already moved on to @code | 0 | 0 | Pointer | 0 | annotations found on @code service , since guice will have already moved on to @code | Binder.java | 9,132 |
4,209 | Binder.java | serviceimpl before it reaches the point when it starts looking for these annotations. | 1 | 0 | Pointer | 0 | serviceimpl before it reaches the point when it starts looking for these annotations. | Binder.java | 9,133 |
4,210 | Binder.java | pre | 0 | 0 | Pointer | 0 | pre | Binder.java | 9,134 |
4,212 | Binder.java | in this example, @code serviceprovider must extend or implement @code provider service . | 1 | 0 | Pointer | 0 | in this example, @code serviceprovider must extend or implement @code provider service . | Binder.java | 9,135 |
4,213 | Binder.java | this | 0 | 0 | Pointer | 0 | this | Binder.java | 9,136 |
4,214 | Binder.java | binding specifies that guice should resolve an unannotated injection request for @code service | 1 | 0 | Pointer | 0 | binding specifies that guice should resolve an unannotated injection request for @code service | Binder.java | 9,137 |
4,215 | Binder.java | by first resolving an instance of @code serviceprovider in the regular way, then calling @link | 0 | 0 | Pointer | 0 | by first resolving an instance of @code serviceprovider in the regular way, then calling @link | Binder.java | 9,138 |
4,216 | Binder.java | provider#get get on the resulting provider instance to obtain the @code service instance. | 1 | 0 | Pointer | 0 | provider#get get on the resulting provider instance to obtain the @code service instance. | Binder.java | 9,139 |
4,217 | Binder.java | p the @link provider you use here does not have to be a factory that is, a provider which | 0 | 0 | Pointer | 0 | p the @link provider you use here does not have to be a factory that is, a provider which | Binder.java | 9,140 |
4,473 | DefaultMethodInterceptionTest.java | tests for interception of default methods. | 1 | 0 | Pointer | 0 | tests for interception of default methods. | DefaultMethodInterceptionTest.java | 9,141 |
4,218 | Binder.java | always i creates i each instance it provides. | 0 | 0 | Pointer | 0 | always i creates i each instance it provides. | Binder.java | 9,142 |
4,474 | DefaultMethodInterceptionTest.java | @author cgdecker@google^com colin decker | 1 | 0 | Pointer | 0 | @author cgdecker@google^com colin decker | DefaultMethodInterceptionTest.java | 9,143 |
4,475 | DefaultMethodInterceptionTest.java | interface with a default method annotated to be intercepted. | 0 | 0 | Pointer | 0 | interface with a default method annotated to be intercepted. | DefaultMethodInterceptionTest.java | 9,144 |
4,220 | Binder.java | follow. | 1 | 0 | Pointer | 0 | follow. | Binder.java | 9,145 |
4,476 | DefaultMethodInterceptionTest.java | foo implementation that does not override the default method. | 0 | 0 | Pointer | 0 | foo implementation that does not override the default method. | DefaultMethodInterceptionTest.java | 9,146 |
4,221 | Binder.java | you can then use guice s concept of @link scope scopes to guide when creation should | 1 | 0 | Pointer | 0 | you can then use guice s concept of @link scope scopes to guide when creation should | Binder.java | 9,147 |
4,477 | DefaultMethodInterceptionTest.java | a base class defining a method with the same signature as foo s default method. | 0 | 0 | Pointer | 0 | a base class defining a method with the same signature as foo s default method. | DefaultMethodInterceptionTest.java | 9,148 |
4,222 | Binder.java | happen letting guice work for you . | 1 | 0 | Pointer | 0 | happen letting guice work for you . | Binder.java | 9,149 |
4,478 | DefaultMethodInterceptionTest.java | foo implementation that should use superclass method rather than default method. | 0 | 0 | Pointer | 0 | foo implementation that should use superclass method rather than default method. | DefaultMethodInterceptionTest.java | 9,150 |
4,223 | Binder.java | pre | 1 | 0 | Pointer | 0 | pre | Binder.java | 9,151 |
4,226 | Binder.java | @code @red . | 0 | 0 | Pointer | 0 | @code @red . | Binder.java | 9,152 |
4,227 | Binder.java | if your module also includes bindings for particular i values i of the | 1 | 0 | Pointer | 0 | if your module also includes bindings for particular i values i of the | Binder.java | 9,153 |
4,229 | Binder.java | of @code @red that have no exact match in the bindings. | 0 | 0 | Pointer | 0 | of @code @red that have no exact match in the bindings. | Binder.java | 9,154 |
4,230 | Binder.java | pre | 1 | 0 | Pointer | 0 | pre | Binder.java | 9,155 |
4,231 | Binder.java | bind serviceimpl^class ^in singleton^class | 0 | 0 | Pointer | 0 | bind serviceimpl^class ^in singleton^class | Binder.java | 9,156 |
4,487 | Element.java | an internal binding annotation applied to each element in a multibinding. | 1 | 0 | Pointer | 0 | an internal binding annotation applied to each element in a multibinding. | Element.java | 9,157 |
4,232 | Binder.java | or, alternatively | 0 | 0 | Pointer | 0 | or, alternatively | Binder.java | 9,158 |
4,488 | Element.java | all elements are | 0 | 0 | Pointer | 0 | all elements are | Element.java | 9,159 |
4,489 | Element.java | assigned a globally unique id to allow different modules to contribute multibindings | 0 | 0 | Pointer | 0 | assigned a globally unique id to allow different modules to contribute multibindings | Element.java | 9,160 |
4,234 | Binder.java | either of these statements places the @code serviceimpl class into singleton scope. | 0 | 0 | Pointer | 0 | either of these statements places the @code serviceimpl class into singleton scope. | Binder.java | 9,161 |
4,490 | Element.java | independently. | 0 | 0 | Pointer | 0 | independently. | Element.java | 9,162 |
4,235 | Binder.java | guice will | 0 | 0 | Pointer | 0 | guice will | Binder.java | 9,163 |
4,491 | Element.java | @author jessewilson@google^com jesse wilson | 0 | 0 | Pointer | 0 | @author jessewilson@google^com jesse wilson | Element.java | 9,164 |
4,236 | Binder.java | create only one instance of @code serviceimpl and will reuse it for all injection requests of | 0 | 0 | Pointer | 0 | create only one instance of @code serviceimpl and will reuse it for all injection requests of | Binder.java | 9,165 |
4,238 | Binder.java | note that it is still possible to bind another instance of @code serviceimpl if the | 0 | 0 | Pointer | 0 | note that it is still possible to bind another instance of @code serviceimpl if the | Binder.java | 9,166 |
4,240 | Binder.java | guice is not overly | 0 | 0 | Pointer | 0 | guice is not overly | Binder.java | 9,167 |
4,497 | EncounterImpl.java | @author jessewilson@google^com jesse wilson | 0 | 0 | Pointer | 0 | @author jessewilson@google^com jesse wilson | EncounterImpl.java | 9,168 |
4,242 | Binder.java | with i enabling i your application to share only one instance if that s all you tell guice you | 0 | 0 | Pointer | 0 | with i enabling i your application to share only one instance if that s all you tell guice you | Binder.java | 9,169 |
4,243 | Binder.java | need. | 0 | 0 | Pointer | 0 | need. | Binder.java | 9,170 |
4,499 | ImplicitBindingTest.java | @author crazybob@google^com bob lee an enum cannot be implemented by anything, so it should not be possible to have a successful valid jitable binding | 0 | 0 | Pointer | 0 | @author crazybob@google^com bob lee an enum cannot be implemented by anything, so it should not be possible to have a successful valid jitable binding | ImplicitBindingTest.java | 9,171 |
4,245 | Binder.java | an annotation on the @code serviceimpl class. | 0 | 0 | Pointer | 0 | an annotation on the @code serviceimpl class. | Binder.java | 9,172 |
4,246 | Binder.java | p besides @link singleton @link scopes#singleton , there are servlet specific scopes | 0 | 0 | Pointer | 0 | p besides @link singleton @link scopes#singleton , there are servlet specific scopes | Binder.java | 9,173 |
4,502 | ManagedFilterPipeline.java | central routing dispatch class handles lifecycle of managed filters, and delegates to the servlet | 0 | 0 | Pointer | 0 | central routing dispatch class handles lifecycle of managed filters, and delegates to the servlet | ManagedFilterPipeline.java | 9,174 |
4,247 | Binder.java | available in @code com^google.inject^servlet.servletscopes , and your modules can contribute | 0 | 0 | Pointer | 0 | available in @code com^google.inject^servlet.servletscopes , and your modules can contribute | Binder.java | 9,175 |
4,503 | ManagedFilterPipeline.java | pipeline. | 0 | 0 | Pointer | 0 | pipeline. | ManagedFilterPipeline.java | 9,176 |
4,248 | Binder.java | their own custom scopes for use here as well. | 0 | 0 | Pointer | 0 | their own custom scopes for use here as well. | Binder.java | 9,177 |
4,504 | ManagedFilterPipeline.java | @author dhanji@gmail^com dhanji r. prasanna | 0 | 0 | Pointer | 0 | @author dhanji@gmail^com dhanji r. prasanna | ManagedFilterPipeline.java | 9,178 |
4,249 | Binder.java | pre | 0 | 0 | Pointer | 0 | pre | Binder.java | 9,179 |
4,250 | Binder.java | bind new typeliteral< paymentservice< creditcard | 0 | 0 | Pointer | 0 | bind new typeliteral< paymentservice< creditcard | Binder.java | 9,180 |
4,508 | PrivateElementProcessor | handles @code binder^newprivatebinder elements. | 0 | 0 | Pointer | 0 | handles @code binder^newprivatebinder elements. | PrivateElementProcessor | 9,181 |
4,253 | Binder.java | it tells guice how to | 0 | 0 | Pointer | 0 | it tells guice how to | Binder.java | 9,182 |
4,509 | PrivateElementProcessor | @author jessewilson@google^com jesse wilson | 0 | 0 | Pointer | 0 | @author jessewilson@google^com jesse wilson | PrivateElementProcessor | 9,183 |
4,254 | Binder.java | honor an injection request for an element of type @code paymentservice creditcard . | 0 | 0 | Pointer | 0 | honor an injection request for an element of type @code paymentservice creditcard . | Binder.java | 9,184 |
4,255 | Binder.java | the class | 0 | 0 | Pointer | 0 | the class | Binder.java | 9,185 |
4,256 | Binder.java | @code creditcardpaymentservice must implement the @code paymentservice creditcard interface. | 0 | 0 | Pointer | 0 | @code creditcardpaymentservice must implement the @code paymentservice creditcard interface. | Binder.java | 9,186 |
4,512 | ProxyFactoryTest.java | @author crazybob@google^com bob lee | 0 | 0 | Pointer | 0 | @author crazybob@google^com bob lee | ProxyFactoryTest.java | 9,187 |
4,257 | Binder.java | guice cannot currently bind or inject a generic type, such as @code set e all type parameters | 0 | 0 | Pointer | 0 | guice cannot currently bind or inject a generic type, such as @code set e all type parameters | Binder.java | 9,188 |
4,258 | Binder.java | must be fully specified. | 0 | 0 | Pointer | 0 | must be fully specified. | Binder.java | 9,189 |
4,514 | SpiUtils.java | utilities for testing the multibinder & mapbinder extension spi. | 0 | 0 | Pointer | 0 | utilities for testing the multibinder & mapbinder extension spi. | SpiUtils.java | 9,190 |
4,259 | Binder.java | pre | 0 | 0 | Pointer | 0 | pre | Binder.java | 9,191 |
4,515 | SpiUtils.java | @author sameb@google^com sam berlin | 0 | 0 | Pointer | 0 | @author sameb@google^com sam berlin | SpiUtils.java | 9,192 |
4,260 | Binder.java | bind service^class ^toinstance new serviceimpl | 0 | 0 | Pointer | 0 | bind service^class ^toinstance new serviceimpl | Binder.java | 9,193 |
4,261 | Binder.java | or, alternatively | 0 | 0 | Pointer | 0 | or, alternatively | Binder.java | 9,194 |
4,518 | SpiUtils.java | the kind of binding. | 0 | 0 | Pointer | 0 | the kind of binding. | SpiUtils.java | 9,195 |
4,519 | SpiUtils.java | the result of the binding. | 0 | 0 | Pointer | 0 | the result of the binding. | SpiUtils.java | 9,196 |
4,265 | Binder.java | @code service injection requests. | 0 | 0 | Pointer | 0 | @code service injection requests. | Binder.java | 9,197 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.