| Modifier and Type | Field and Description |
|---|---|
| private final ImmutableSet | |
| public static final SourceProvider | |
| private static final CallerFinder | |
| private final SourceProvider | |
| public static final Object | UNKNOWN_SOURCE
Indicates that the source is unknown. |
| Access | Constructor and Description |
|---|---|
| private | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static List | |
| public StackTraceElement | |
| public Object | |
| private static CallerFinder | |
| public SourceProvider | plusSkippedClasses(Class<?>... moreClassesToSkip)
Returns a new instance that also skips |
| private boolean |
| classNamesToSkip | back to summary |
|---|---|
| private final ImmutableSet<String> classNamesToSkip | |
| DEFAULT_INSTANCE | back to summary |
|---|---|
| public static final SourceProvider DEFAULT_INSTANCE | |
| FINDER | back to summary |
|---|---|
| private static final CallerFinder FINDER | |
| parent | back to summary |
|---|---|
| private final SourceProvider parent | |
| UNKNOWN_SOURCE | back to summary |
|---|---|
| public static final Object UNKNOWN_SOURCE Indicates that the source is unknown. | |
| SourceProvider | back to summary |
|---|---|
| private SourceProvider(Iterable<String> classesToSkip) | |
| SourceProvider | back to summary |
|---|---|
| private SourceProvider(SourceProvider parent, Iterable<String> classesToSkip) | |
| asStrings | back to summary |
|---|---|
| private static List Returns the class names as Strings | |
| getCaller | back to summary |
|---|---|
| public StackTraceElement getCaller() Returns the calling line of code. The selected line is the nearest to the top of the stack that is not skipped. | |
| getFromClassNames | back to summary |
|---|---|
| public Object getFromClassNames(List<String> moduleClassNames) Returns the non-skipped module class name. | |
| loadCallerFinder | back to summary |
|---|---|
| private static CallerFinder loadCallerFinder() | |
| plusSkippedClasses | back to summary |
|---|---|
| public SourceProvider plusSkippedClasses(Class<?>... moreClassesToSkip) Returns a new instance that also skips | |
| shouldBeSkipped | back to summary |
|---|---|
| private boolean shouldBeSkipped(String className) Returns true if the className should be skipped. | |