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.java50 private final InMemoryStackTraceElement[] partialCallStack; field in ModuleSource
59 ModuleSource(Object module, StackTraceElement[] partialCallStack) { in ModuleSource() argument
60 this(null, module, partialCallStack); in ModuleSource()
72 /* @Nullable */ ModuleSource parent, Object module, StackTraceElement[] partialCallStack) { in ModuleSource() argument
74 Preconditions.checkNotNull(partialCallStack, "partialCallStack cannot be null."); in ModuleSource()
77 this.partialCallStack = StackTraceElements.convertToInMemoryStackTraceElement(partialCallStack); in ModuleSource()
96 return StackTraceElements.convertToStackTraceElement(partialCallStack); in getPartialCallStack()
103 return partialCallStack.length; in getPartialCallStackSize()
113 ModuleSource createChild(Object module, StackTraceElement[] partialCallStack) { in createChild() argument
114 return new ModuleSource(this, module, partialCallStack); in createChild()
[all …]
DElementSource.java75 final InMemoryStackTraceElement[] partialCallStack; field in ElementSource
95 ModuleSource moduleSource, StackTraceElement[] partialCallStack) { in ElementSource() argument
98 Preconditions.checkNotNull(partialCallStack, "partialCallStack cannot be null."); in ElementSource()
102 this.partialCallStack = StackTraceElements.convertToInMemoryStackTraceElement(partialCallStack); in ElementSource()
154 int chunkSize = partialCallStack.length; in getModuleConfigurePositionsInStackTrace()
175 int chunkSize = partialCallStack.length; in getStackTrace()
179 StackTraceElements.convertToStackTraceElement(partialCallStack), 0, callStack, 0, in getStackTrace()
DElements.java493 StackTraceElement[] partialCallStack; in getModuleSource() local
495 partialCallStack = getPartialCallStack(new Throwable().getStackTrace()); in getModuleSource()
497 partialCallStack = new StackTraceElement[0]; in getModuleSource()
500 return new ModuleSource(module, partialCallStack); in getModuleSource()
502 return moduleSource.createChild(module, partialCallStack); in getModuleSource()
509 StackTraceElement[] partialCallStack = new StackTraceElement[0]; in getElementSource() local
525 partialCallStack = getPartialCallStack(callStack); in getElementSource()
540 originalSource, declaringSource, moduleSource, partialCallStack); in getElementSource()
556 StackTraceElement[] partialCallStack = new StackTraceElement[chunkSize]; in getPartialCallStack() local
557 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] = new StackTraceElement( in createWithSizeTwo()
93 return moduleSource.createChild(new B(), partialCallStack); in createWithSizeTwo()
98 StackTraceElement[] partialCallStack = new StackTraceElement[4]; in createWithSizeThree() local
99 partialCallStack[0] = BINDER_INSTALL; in createWithSizeThree()
100 partialCallStack[1] = new StackTraceElement("class1", "method1", "Class1.java", 1); in createWithSizeThree()
[all …]
DElementSourceTest.java131 StackTraceElement[] partialCallStack = new StackTraceElement[1]; in createModuleSource() local
132 partialCallStack[0] = BINDER_INSTALL; in createModuleSource()
133 ModuleSource moduleSource = new ModuleSource(new A(), partialCallStack); in createModuleSource()
135 partialCallStack = new StackTraceElement[2]; in createModuleSource()
136 partialCallStack[0] = BINDER_INSTALL; in createModuleSource()
137 partialCallStack[1] = new StackTraceElement( in createModuleSource()
139 moduleSource = moduleSource.createChild(new B(), partialCallStack); in createModuleSource()
141 partialCallStack = new StackTraceElement[4]; in createModuleSource()
142 partialCallStack[0] = BINDER_INSTALL; in createModuleSource()
143 partialCallStack[1] = new StackTraceElement("class1", "method1", "Class1.java", 1); in createModuleSource()
[all …]