Package org.robovm.compiler.clazz
Class AbstractPath
java.lang.Object
org.robovm.compiler.clazz.AbstractPath
- All Implemented Interfaces:
Path
- Direct Known Subclasses:
DirectoryPath,Java9RuntimePath,ZipFilePath
public abstract class AbstractPath extends Object implements Path
- Version:
- $Id$
-
Field Summary
-
Method Summary
Modifier and Type Method Description voiddisposeBuildData()Dispose any cached data to reduce memory footprintprotected abstract Set<Clazz>doListClasses()booleanequals(Object obj)FilegetFile()FilegetGeneratedClassFile(String internalName)Returns theFilewith the path where the generated class file with the specified internal name should be saved.intgetIndex()inthashCode()booleanisInBootClasspath()Set<Clazz>listClasses()ClazzloadGeneratedClass(String internalName)Loads a generated class associated with thisPath.StringtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.robovm.compiler.clazz.Path
contains, hasChangedSince, open
-
Field Details
-
file
-
clazzes
-
index
protected final int index -
clazzSet
-
disposed
protected boolean disposed -
inBootclasspath
protected boolean inBootclasspath -
generatedClasses
-
generatedClassDir
-
-
Method Details
-
isInBootClasspath
public boolean isInBootClasspath()- Specified by:
isInBootClasspathin interfacePath
-
getIndex
public int getIndex() -
getFile
-
listClasses
- Specified by:
listClassesin interfacePath
-
getGeneratedClassFile
Description copied from interface:PathReturns theFilewith the path where the generated class file with the specified internal name should be saved.- Specified by:
getGeneratedClassFilein interfacePath- Returns:
- the
Filefor the specified generated class.
-
loadGeneratedClass
Description copied from interface:PathLoads a generated class associated with thisPath.- Specified by:
loadGeneratedClassin interfacePath- Returns:
- the
Clazzornullif not found.
-
doListClasses
-
hashCode
public int hashCode() -
equals
-
toString
-
disposeBuildData
public void disposeBuildData()Description copied from interface:PathDispose any cached data to reduce memory footprint- Specified by:
disposeBuildDatain interfacePath
-