public interface IOrdinaryClassFile extends IClassFile
IClassFile which holds exactly one IType.ANNOTATION, CLASS_FILE, COMPILATION_UNIT, FIELD, IMPORT_CONTAINER, IMPORT_DECLARATION, INITIALIZER, JAVA_MODEL, JAVA_MODULE, JAVA_PROJECT, LOCAL_VARIABLE, METHOD, PACKAGE_DECLARATION, PACKAGE_FRAGMENT, PACKAGE_FRAGMENT_ROOT, TYPE, TYPE_PARAMETER| Modifier and Type | Method and Description |
|---|---|
IType |
getType()
Returns the type contained in this class file.
|
becomeWorkingCopy, getBytes, getWorkingCopy, isClass, isInterfacefindPrimaryType, getElementAt, getModule, getWorkingCopyexists, getAncestor, getAttachedJavadoc, getCorrespondingResource, getElementName, getElementType, getHandleIdentifier, getJavaModel, getJavaProject, getOpenable, getParent, getPath, getPrimaryElement, getResource, getSchedulingRule, getUnderlyingResource, isReadOnly, isStructureKnowngetAdaptergetChildren, hasChildrenclose, findRecommendedLineSeparator, getBuffer, hasUnsavedChanges, isConsistent, isOpen, makeConsistent, open, saveexists, getNameRange, getSource, getSourceRangecodeComplete, codeComplete, codeComplete, codeComplete, codeComplete, codeComplete, codeComplete, codeSelect, codeSelectIType getType()
This method supersedes the corresponding super method.
This method will never throw UnsupportedOperationException.
getType in interface IClassFile
Copyright (c) 2000, 2017 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.