|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface for a function definition.
| Nested Class Summary | |
static class |
IFunction.FunctionClassification
Function classifications (local, class member, interface member, and package member) |
| Method Summary | |
IVariable[] |
getArguments()
Get the arguments of this function as an array of IVariables |
IFunction.FunctionClassification |
getFunctionClassification()
Get the classification for this function (local, argument, class member, etc) |
java.lang.String |
getReturnType()
Get the return type of this function as a string. |
boolean |
isCastFunction()
Is this a cast function? |
boolean |
isConstructor()
Is this a constructor? |
boolean |
isGetter()
Is this function a getter? |
boolean |
isImplementation()
Determines whether this function is an implementation of a function from an implements Interface |
boolean |
isOverride()
Is this function an override |
boolean |
isSetter()
Is this function a setter? |
IFunction |
resolveImplementedFunction()
Finds the definition of the IFunction that defines this function |
IFunction |
resolveOverriddenFunction()
Finds the definition of the IFunction that we are over-ridding |
IType |
resolveReturnType(ASDefinitionCache cache)
Look up this return type in the given scope and find its definition |
| Methods inherited from interface com.adobe.flexbuilder.codemodel.definitions.IDefinition |
getContainingFilePath, getContainingSourceFilePath, getMetaTags, getName, getNameEnd, getNamespace, getNameStart, getPackageName, getQualifiedName, getShortName, hasModifier, hasNamespace, isImplicit, resolveNamespace |
| Method Detail |
public IVariable[] getArguments()
public java.lang.String getReturnType()
public IType resolveReturnType(ASDefinitionCache cache)
cache - existing ASDefinitionCache which may contain definitions that can be reused (null is OK)
public boolean isConstructor()
public boolean isCastFunction()
public IFunction.FunctionClassification getFunctionClassification()
public boolean isGetter()
public boolean isSetter()
public boolean isOverride()
public IFunction resolveOverriddenFunction()
IFunction or nullpublic boolean isImplementation()
public IFunction resolveImplementedFunction()
IFunction or null
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||