|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.inject.spi.DefaultSourceProvider
public class DefaultSourceProvider
A source provider which returns ContainerBuilder
's caller's StackTraceElement
.
Constructor Summary | |
---|---|
DefaultSourceProvider()
|
Method Summary | |
---|---|
void |
skipSource(java.lang.Class<?> clazz)
Instructs the provider to skip the given class in the stack trace when determining the source. |
java.lang.Object |
source()
Creates an object pointing to the current location within the configuration. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultSourceProvider()
Method Detail |
---|
public void skipSource(java.lang.Class<?> clazz)
Skipping only takes place after this method is called.
public java.lang.Object source()
SourceProvider
source
in interface SourceProvider
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |