Package jetbrains.mps.reloading
Class RealClassPathItem
- java.lang.Object
 - 
- jetbrains.mps.reloading.RealClassPathItem
 
 
- 
- All Implemented Interfaces:
 ClassBytesProvider,IClassPathItem
- Direct Known Subclasses:
 JarFileClassPathItem
public abstract class RealClassPathItem extends Object
 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from interface jetbrains.mps.reloading.ClassBytesProvider
ClassBytesProvider.ClassBytes, ClassBytesProvider.DefaultClassBytes 
 - 
 
- 
Constructor Summary
Constructors Constructor Description RealClassPathItem() 
- 
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static RealClassPathItemcreate(String path, String caller)byte[]getClass(String name)abstract StringgetPath()Enumeration<URL>getResources(String name)Iterable<String>getRootClasses(String namespace)booleanhasPackage(String name)IClassPathItemoptimize()- 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
Methods inherited from interface jetbrains.mps.reloading.ClassBytesProvider
getClassBytes 
- 
Methods inherited from interface jetbrains.mps.reloading.IClassPathItem
accept, flatten, getAvailableClasses, getResource, getSubpackages, hasClass 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getPath
public abstract String getPath()
 
- 
getResources
public Enumeration<URL> getResources(String name)
 
- 
create
@NotNull public static RealClassPathItem create(@NotNull String path, @Nullable String caller)
 
- 
optimize
public IClassPathItem optimize()
- Specified by:
 optimizein interfaceIClassPathItem
 
- 
getRootClasses
public Iterable<String> getRootClasses(String namespace)
- Specified by:
 getRootClassesin interfaceIClassPathItem
 
- 
hasPackage
public boolean hasPackage(@NotNull String name)
- Specified by:
 hasPackagein interfaceIClassPathItem- Parameters:
 name- qualified package name- Returns:
 trueif this classpath item knows about classes in specified package or any subpackage thereof.
 
- 
getClass
@Nullable public byte[] getClass(String name)
Description copied from interface:ClassBytesProvider- Specified by:
 getClassin interfaceClassBytesProvider
 
 - 
 
 -