Interface IClassFile

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, ICodeAssist, IJavaElement, IOpenable, IParent, ISourceReference, ITypeRoot
All Known Subinterfaces:
IModularClassFile, IOrdinaryClassFile
All Known Implementing Classes:
AbstractClassFile, ClassFile, ModularClassFile

public interface IClassFile extends ITypeRoot
Represents a single .class file, holding the binary form of either a type or a module: Class file elements need to be opened before they can be navigated. If a class file cannot be parsed, its structure remains unknown. Use IJavaElement.isStructureKnown to determine whether this is the case.

Note: IClassFile extends ISourceReference. Source can be obtained for a class file if and only if source has been attached to this class file. The source associated with a class file is the source code of the compilation unit it was (nominally) generated from.

See Also: