Home
last modified time | relevance | path

Searched refs:moduleSource (Results 1 – 4 of 4) sorted by relevance

/external/guice/core/test/com/google/inject/spi/
DModuleSourceTest.java19 ModuleSource moduleSource = createWithSizeOne(); in testOneModule() local
20 checkSizeOne(moduleSource); in testOneModule()
24 ModuleSource moduleSource = createWithSizeTwo(); in testTwoModules() local
25 checkSizeTwo(moduleSource); in testTwoModules()
26 moduleSource = moduleSource.getParent(); in testTwoModules()
27 checkSizeOne(moduleSource); in testTwoModules()
31 ModuleSource moduleSource = createWithSizeThree(); in testThreeModules() local
32 checkSizeThree(moduleSource); in testThreeModules()
33 moduleSource = moduleSource.getParent(); in testThreeModules()
34 checkSizeTwo(moduleSource); in testThreeModules()
[all …]
DElementSourceTest.java29 ModuleSource moduleSource = createModuleSource(); in testCallStackSize() local
44 moduleSource, in testCallStackSize()
131 ModuleSource moduleSource = new ModuleSource(new A(), partialCallStack); in createModuleSource() local
138 moduleSource = moduleSource.createChild(new B(), partialCallStack); in createModuleSource()
147 return moduleSource.createChild(new C(), partialCallStack); in createModuleSource()
/external/guice/core/src/com/google/inject/spi/
DElementSource.java62 final ModuleSource moduleSource; field in ElementSource
91 ModuleSource moduleSource, in ElementSource() argument
94 Preconditions.checkNotNull(moduleSource, "moduleSource cannot be null."); in ElementSource()
98 this.moduleSource = moduleSource; in ElementSource()
127 return moduleSource.getModuleClassNames(); in getModuleClassNames()
149 int size = moduleSource.size(); in getModuleConfigurePositionsInStackTrace()
153 ModuleSource current = moduleSource; in getModuleConfigurePositionsInStackTrace()
171 int modulesCallStackSize = moduleSource.getStackTraceSize(); in getStackTrace()
173 int size = moduleSource.getStackTraceSize() + chunkSize; in getStackTrace()
181 System.arraycopy(moduleSource.getStackTrace(), 0, callStack, chunkSize, modulesCallStackSize); in getStackTrace()
DElements.java141 private final ModuleSource moduleSource; field in Elements.ModuleInfo
144 private ModuleInfo(Binder binder, ModuleSource moduleSource, boolean skipScanning) { in ModuleInfo() argument
146 this.moduleSource = moduleSource; in ModuleInfo()
157 private ModuleSource moduleSource = null; field in Elements.RecordingBinder
199 this.moduleSource = prototype.moduleSource; in RecordingBinder()
213 this.moduleSource = parent.moduleSource; in RecordingBinder()
296 moduleSource = entry.getValue().moduleSource; in scanForAnnotatedMethods()
309 moduleSource = null; in scanForAnnotatedMethods()
324 if (moduleSource == null in install()
325 || !moduleSource.getModuleClassName().equals(delegate.getClass().getName())) { in install()
[all …]