IClassSourceLocator
ClassCache.ClassCacheLocator
, ClassSourceLocator
, DummyClassLocator
public interface IClassLocator
Modifier and Type | Method | Description |
---|---|---|
IClass |
getClassInfo(java.lang.String name) |
Get class information.
|
IClass |
getRequiredClassInfo(java.lang.String name) |
Get required class information.
|
boolean |
isLookupSupported() |
Check if class lookup is supported.
|
java.lang.Class |
loadClass(java.lang.String name) |
Load class.
|
boolean isLookupSupported()
false
,
lookup methods return only place holder class information.true
if class lookup supported, false
if only place holder information returnedIClass getClassInfo(java.lang.String name)
name
- fully-qualified name of class to be foundnull
if class not foundIClass getRequiredClassInfo(java.lang.String name)
getClassInfo(String)
, but throws a runtime exception rather than
returning null
.name
- fully-qualified name of class to be foundnull
)java.lang.Class loadClass(java.lang.String name)
name
- fully-qualified class namenull
if not found