public class ClassContextProvider extends Object
Constructor and Description |
---|
ClassContextProvider() |
Modifier and Type | Method and Description |
---|---|
Class<?> |
getCallingClass()
Returns the first non-JTF class from the current call stack or null if the call stack classes cannot be retrieved
|
File |
getClassPathEntryOfCallingClass()
Returns the jar file or directory that contains the .class file for the calling class.
|
public Class<?> getCallingClass()
public File getClassPathEntryOfCallingClass()
Copyright 2009-2012 Micro Focus. All Rights Reserved.