OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ElementSource
(Results
1 - 10
of
10
) sorted by null
/external/guice/core/test/com/google/inject/
ReflectionTest.java
21
import com.google.inject.spi.
ElementSource
;
46
ElementSource
source = (
ElementSource
) fooBinding.getSource();
60
ElementSource
source = (
ElementSource
) i.getSource();
77
ElementSource
source = (
ElementSource
) fooBinding.getSource();
ModulesTest.java
20
import com.google.inject.spi.
ElementSource
;
62
ElementSource
source = (
ElementSource
) injector.getBinding(Integer.class).getSource();
/external/guice/core/src/com/google/inject/spi/
ElementSource.java
60
public final class
ElementSource
{
63
* The {@link
ElementSource
source} of element that this element created from (if there is any),
66
final
ElementSource
originalElementSource;
86
* Creates a new {@
ElementSource
} from the given parameters.
94
ElementSource
(/* @Nullable */
ElementSource
originalSource, Object declaringSource,
106
* Returns the {@link
ElementSource
} of the element this was created or copied from. If this was
109
public
ElementSource
getOriginalElementSource() {
Elements.java
505
private
ElementSource
getElementSource() {
511
ElementSource
originalSource = null;
514
if (declaringSource instanceof
ElementSource
) {
515
originalSource = (
ElementSource
) declaringSource;
539
return new
ElementSource
(
/external/guice/extensions/grapher/src/com/google/inject/grapher/
ShortNameFactory.java
25
import com.google.inject.spi.
ElementSource
;
102
if (source instanceof
ElementSource
) {
103
source = ((
ElementSource
) source).getDeclaringSource();
/external/guice/core/test/com/google/inject/spi/
ElementSourceTest.java
21
* Tests for {@link
ElementSource
}.
38
ElementSource
elementSource
= new
ElementSource
(
40
assertEquals(10 /* call stack size */,
elementSource
.getStackTrace().length);
50
ElementSource
elementSource
= (
ElementSource
) binding.getSource();
51
List<String> moduleClassNames =
elementSource
.getModuleClassNames();
59
StackTraceElement[] callStack =
elementSource
.getStackTrace()
[
all
...]
ModuleAnnotatedMethodScannerTest.java
182
ElementSource
source = (
ElementSource
) Iterables.getOnlyElement(m.getSources());
SpiBindingsTest.java
413
ElementSource
source = (
ElementSource
) binding.getSource();
ElementsTest.java
[
all
...]
/external/guice/core/src/com/google/inject/internal/
Errors.java
38
import com.google.inject.spi.
ElementSource
;
721
ElementSource
source = null;
722
if (o instanceof
ElementSource
) {
723
source = (
ElementSource
)o;
729
public static Object convert(Object o,
ElementSource
source) {
738
private static Object appendModules(Object source,
ElementSource
elementSource
) {
739
String modules = moduleSourceString(
elementSource
);
747
private static String moduleSourceString(
ElementSource
elementSource
) {
[
all
...]
Completed in 245 milliseconds