|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.inject.internal.util.SourceProvider
public final class SourceProvider
Provides access to the calling line of code.
Field Summary | |
---|---|
static SourceProvider |
DEFAULT_INSTANCE
|
static Object |
UNKNOWN_SOURCE
Indicates that the source is unknown. |
Method Summary | |
---|---|
StackTraceElement |
get()
Returns the calling line of code. |
SourceProvider |
plusSkippedClasses(Class... moreClassesToSkip)
Returns a new instance that also skips moreClassesToSkip . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Object UNKNOWN_SOURCE
public static final SourceProvider DEFAULT_INSTANCE
Method Detail |
---|
public SourceProvider plusSkippedClasses(Class... moreClassesToSkip)
moreClassesToSkip
.
public StackTraceElement get()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |