Home
last modified time | relevance | path

Searched refs:partialCallStack (Results 1 – 5 of 5) sorted by relevance

/external/guice/core/src/com/google/inject/spi/
DModuleSource.java45 private final InMemoryStackTraceElement[] partialCallStack; field in ModuleSource
55 ModuleSource(Object module, StackTraceElement[] partialCallStack) { in ModuleSource() argument
56 this(null, module, partialCallStack); in ModuleSource()
69 /* @Nullable */ ModuleSource parent, Object module, StackTraceElement[] partialCallStack) { in ModuleSource() argument
71 Preconditions.checkNotNull(partialCallStack, "partialCallStack cannot be null."); in ModuleSource()
74 this.partialCallStack = StackTraceElements.convertToInMemoryStackTraceElement(partialCallStack); in ModuleSource()
93 return StackTraceElements.convertToStackTraceElement(partialCallStack); in getPartialCallStack()
98 return partialCallStack.length; in getPartialCallStackSize()
109 ModuleSource createChild(Object module, StackTraceElement[] partialCallStack) { in createChild() argument
110 return new ModuleSource(this, module, partialCallStack); in createChild()
[all …]
DElementSource.java68 final InMemoryStackTraceElement[] partialCallStack; field in ElementSource
92 StackTraceElement[] partialCallStack) { in ElementSource() argument
95 Preconditions.checkNotNull(partialCallStack, "partialCallStack cannot be null."); in ElementSource()
99 this.partialCallStack = StackTraceElements.convertToInMemoryStackTraceElement(partialCallStack); in ElementSource()
151 int chunkSize = partialCallStack.length; in getModuleConfigurePositionsInStackTrace()
172 int chunkSize = partialCallStack.length; in getStackTrace()
176 StackTraceElements.convertToStackTraceElement(partialCallStack), in getStackTrace()
DElements.java515 StackTraceElement[] partialCallStack; in getModuleSource() local
517 partialCallStack = getPartialCallStack(new Throwable().getStackTrace()); in getModuleSource()
519 partialCallStack = new StackTraceElement[0]; in getModuleSource()
522 return new ModuleSource(module, partialCallStack); in getModuleSource()
524 return moduleSource.createChild(module, partialCallStack); in getModuleSource()
531 StackTraceElement[] partialCallStack = new StackTraceElement[0]; in getElementSource() local
547 partialCallStack = getPartialCallStack(callStack); in getElementSource()
561 return new ElementSource(originalSource, declaringSource, moduleSource, partialCallStack); in getElementSource()
577 StackTraceElement[] partialCallStack = new StackTraceElement[chunkSize]; in getPartialCallStack() local
578 System.arraycopy(callStack, 1, partialCallStack, 0, chunkSize); in getPartialCallStack()
[all …]
/external/guice/core/test/com/google/inject/spi/
DModuleSourceTest.java82 StackTraceElement[] partialCallStack = new StackTraceElement[1]; in createWithSizeOne() local
83 partialCallStack[0] = BINDER_INSTALL; in createWithSizeOne()
84 return new ModuleSource(new A(), partialCallStack); in createWithSizeOne()
89 StackTraceElement[] partialCallStack = new StackTraceElement[2]; in createWithSizeTwo() local
90 partialCallStack[0] = BINDER_INSTALL; in createWithSizeTwo()
91 partialCallStack[1] = in createWithSizeTwo()
94 return moduleSource.createChild(new B(), partialCallStack); in createWithSizeTwo()
99 StackTraceElement[] partialCallStack = new StackTraceElement[4]; in createWithSizeThree() local
100 partialCallStack[0] = BINDER_INSTALL; in createWithSizeThree()
101 partialCallStack[1] = new StackTraceElement("class1", "method1", "Class1.java", 1); in createWithSizeThree()
[all …]
DElementSourceTest.java129 StackTraceElement[] partialCallStack = new StackTraceElement[1]; in createModuleSource() local
130 partialCallStack[0] = BINDER_INSTALL; in createModuleSource()
131 ModuleSource moduleSource = new ModuleSource(new A(), partialCallStack); in createModuleSource()
133 partialCallStack = new StackTraceElement[2]; in createModuleSource()
134 partialCallStack[0] = BINDER_INSTALL; in createModuleSource()
135 partialCallStack[1] = in createModuleSource()
138 moduleSource = moduleSource.createChild(new B(), partialCallStack); in createModuleSource()
140 partialCallStack = new StackTraceElement[4]; in createModuleSource()
141 partialCallStack[0] = BINDER_INSTALL; in createModuleSource()
142 partialCallStack[1] = new StackTraceElement("class1", "method1", "Class1.java", 1); in createModuleSource()
[all …]