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.java30 ModuleSource moduleSource = createModuleSource(); in testCallStackSize() local
39 null /* No original element source */, "" /* Don't care */, moduleSource, bindingCallStack); in testCallStackSize()
133 ModuleSource moduleSource = new ModuleSource(new A(), partialCallStack); in createModuleSource() local
139 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.java69 final ModuleSource moduleSource; field in ElementSource
95 ModuleSource moduleSource, StackTraceElement[] partialCallStack) { in ElementSource() argument
97 Preconditions.checkNotNull(moduleSource, "moduleSource cannot be null."); in ElementSource()
101 this.moduleSource = moduleSource; in ElementSource()
130 return moduleSource.getModuleClassNames(); in getModuleClassNames()
152 int size = moduleSource.size(); in getModuleConfigurePositionsInStackTrace()
156 ModuleSource current = moduleSource; in getModuleConfigurePositionsInStackTrace()
174 int modulesCallStackSize = moduleSource.getStackTraceSize(); in getStackTrace()
176 int size = moduleSource.getStackTraceSize() + chunkSize; in getStackTrace()
181 System.arraycopy(moduleSource.getStackTrace(), 0, callStack, chunkSize, modulesCallStackSize); in getStackTrace()
DElements.java150 private final ModuleSource moduleSource; field in Elements.ModuleInfo
153 private ModuleInfo(Binder binder, ModuleSource moduleSource, boolean skipScanning) { in ModuleInfo() argument
155 this.moduleSource = moduleSource; in ModuleInfo()
166 private ModuleSource moduleSource = null; field in Elements.RecordingBinder
201 this.moduleSource = prototype.moduleSource; in RecordingBinder()
215 this.moduleSource = parent.moduleSource; in RecordingBinder()
293 moduleSource = entry.getValue().moduleSource; in scanForAnnotatedMethods()
306 moduleSource = null; in scanForAnnotatedMethods()
320 if (moduleSource == null in install()
321 || !moduleSource.getModuleClassName().equals(delegate.getClass().getName())) { in install()
[all …]