Interface IOrdinaryClassFile

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, IClassFile, ICodeAssist, IJavaElement, IOpenable, IParent, ISourceReference, ITypeRoot

public interface IOrdinaryClassFile extends IClassFile
Ordinary form of a IClassFile which holds exactly one IType.
Since:
3.14
Restriction:
This interface is not intended to be implemented by clients.
  • Method Details

    • getType

      IType getType()
      Returns the type contained in this class file. This is a handle-only method. The type may or may not exist.

      This method supersedes the corresponding super method. This method will never throw UnsupportedOperationException.

      Specified by:
      getType in interface IClassFile
      Returns:
      the type contained in this class file