# Uses of Interface
org.eclipse.jdt.core.IOpenable

Packages that use IOpenable
Package
Description
org.eclipse.jdt.core
The Java model is the set of classes that model the objects associated with creating, editing, and building a Java program.

## Uses of IOpenable in org.eclipse.jdt.core

Subinterfaces of IOpenable in org.eclipse.jdt.core
Modifier and Type
Interface
Description
`interface`
`IClassFile`
Represents a single `.class` file, holding the binary form of either a type or a module: A class file of type `IOrdinaryClassFile` has a single child of type `IType`, a class file of type `IModularClassFile` has a single child of type `IModuleDescription`. Class file elements need to be opened before they can be navigated.
`interface`
`ICompilationUnit`
Represents an entire Java compilation unit (source file with one of the `Java-like extensions`).
`interface`
`IJavaModel`
Represent the root Java element corresponding to the workspace.
`interface`
`IJavaProject`
A Java project represents a view of a project resource in terms of Java elements such as package fragments, types, methods and fields.
`interface`
`IModularClassFile`
Represents the class file of a module description ("module-info.class").
`interface`
`IOrdinaryClassFile`
Ordinary form of a `IClassFile` which holds exactly one `IType`.
`interface`
`IPackageFragment`
A package fragment is a portion of the workspace corresponding to an entire package, or to a portion thereof.
`interface`
`IPackageFragmentRoot`
A package fragment root contains a set of package fragments.
`interface`
`ITypeRoot`
Represents an entire Java type root (either an `ICompilationUnit` or an `IClassFile`).
Methods in org.eclipse.jdt.core that return IOpenable
Modifier and Type
Method
Description
`IOpenable`
IJavaElement.`getOpenable()`
Returns the first openable parent.
`IOpenable`
IBuffer.`getOwner()`
Returns the Java openable element owning of this buffer.
Methods in org.eclipse.jdt.core with parameters of type IOpenable
Modifier and Type
Method
Description
`IBuffer`
IBufferFactory.`createBuffer(IOpenable owner)`
Deprecated.
Creates a buffer for the given owner.