public interface IInterfaceDefinition extends ITypeDefinition
interface
declaration.
An IInterfaceDefinition
IInterfaceNode.
For example, the interface declaration
public class I2 extends I1 { }creates an interface definition whose base name is
"I2"
,
whose namespace reference is to the public
namespace,
and whose type reference is null
.
It has an IReference
named "I1" to the interface that it extends.
An interface definition is contained within a file scope or a package scope, and contains an interface scope. The members of the interface are represented by definitions in the interface scope.
Modifier and Type | Interface and Description |
---|---|
static class |
IInterfaceDefinition.InterfaceClassification
Determines the type of interface
|
Modifier and Type | Method and Description |
---|---|
IReference[] |
getExtendedInterfaceReferences()
Returns
IReference objects that will resolve to any interface this
interface directly extends. |
String[] |
getExtendedInterfacesAsDisplayStrings()
Returns the names of any interfaces that this interface
directly references.
|
IInterfaceDefinition.InterfaceClassification |
getInterfaceClassification()
Returns the classification of this ActionScript interface
|
Iterator<IInterfaceDefinition> |
interfaceIterator(ICompilerProject project,
boolean includeThis)
Creates an iterator for enumerating all of the interfaces that this class
implements.
|
IInterfaceDefinition[] |
resolveExtendedInterfaces(ICompilerProject project)
Get the definitions of the extended interfaces.
|
getNode, getProtectedNamespaceReference, getStaticProtectedNamespaceReference, isInstanceOf, isInstanceOf, resolveAllInterfaces, typeIteratable
getContainedScope
getExplicitSourceComment, hasExplicitComment
getAbsoluteEnd, getAbsoluteStart, getAllMetaTags, getAncestorOfType, getBaseName, getBindableEventNames, getColumn, getContainingFilePath, getContainingScope, getContainingSourceFilePath, getDeprecationInfo, getEnd, getLine, getMetaTagByName, getMetaTagsByName, getModifiers, getNameColumn, getNameEnd, getNameLine, getNamespaceReference, getNameStart, getPackageName, getParent, getQualifiedName, getSourcePath, getStart, getTypeAsDisplayString, getTypeReference, hasMetaTagByName, hasModifier, hasNamespace, isBindable, isBindableStyle, isContingent, isContingentNeeded, isDeprecated, isDynamic, isFinal, isGeneratedEmbedClass, isImplicit, isInProject, isInternal, isNative, isOverride, isPrivate, isProtected, isPublic, isStatic, resolveNamespace, resolveType
IInterfaceDefinition.InterfaceClassification getInterfaceClassification()
IInterfaceDefinition.InterfaceClassification
IReference[] getExtendedInterfaceReferences()
IReference
objects that will resolve to any interface this
interface directly extends. This does not walk of the inheritance chain.IReference
objects, or an empty array.IInterfaceDefinition[] resolveExtendedInterfaces(ICompilerProject project)
String[] getExtendedInterfacesAsDisplayStrings()
Iterator<IInterfaceDefinition> interfaceIterator(ICompilerProject project, boolean includeThis)
project
- The ICompilerProject
within which references
should be resolvedincludeThis
- A flag indicating whether the enumeration should start
with this interface rather with than its first superinterface.IInterfaceDefinition
objects.Copyright © 2016 The Apache Software Foundation. All rights reserved.