MCPcopy Create free account
hub / github.com/google/guice / getSource

Method getSource

core/src/com/google/inject/spi/Element.java:46–46  ·  view source on GitHub ↗

Returns an arbitrary object containing information about the "place" where this element was configured. Used by Guice in the production of descriptive error messages. Tools might specially handle types they know about; StackTraceElement is a good example. Tools should simply call {@code

()

Source from the content-addressed store, hash-verified

44 * unfamiliar.
45 */
46 Object getSource();
47
48 /**
49 * Accepts an element visitor. Invokes the visitor method specific to this element's type.

Callers 15

checkElementsMethod · 0.95
testNormalBindingMethod · 0.65
testConstantBindingMethod · 0.65
testLinkedBindingMethod · 0.65
testCombineSourcesMethod · 0.65
visitMethod · 0.65
getSourceScannerMethod · 0.65
checkBindingSourceMethod · 0.65

Implementers 15

ProvisionListenerBindingcore/src/com/google/inject/spi/Provisi
ModuleAnnotatedMethodScannerBindingcore/src/com/google/inject/spi/ModuleA
MembersInjectorLookupcore/src/com/google/inject/spi/Members
StaticInjectionRequestcore/src/com/google/inject/spi/StaticI
TypeConverterBindingcore/src/com/google/inject/spi/TypeCon
InterceptorBindingcore/src/com/google/inject/spi/Interce
InjectionRequestcore/src/com/google/inject/spi/Injecti
DisableCircularProxiesOptioncore/src/com/google/inject/spi/Disable
RequireExplicitBindingsOptioncore/src/com/google/inject/spi/Require
RequireAtInjectOnConstructorsOptioncore/src/com/google/inject/spi/Require
ScopeBindingcore/src/com/google/inject/spi/ScopeBi
Messagecore/src/com/google/inject/spi/Message

Calls

no outgoing calls

Tested by 13

checkElementsMethod · 0.76
testNormalBindingMethod · 0.52
testConstantBindingMethod · 0.52
testLinkedBindingMethod · 0.52
testCombineSourcesMethod · 0.52
visitMethod · 0.52
getSourceScannerMethod · 0.52
checkBindingSourceMethod · 0.52