public abstract class AccessorDefinition extends FunctionDefinition implements IAccessorDefinition
AccessorDefinition is the abstract base class for definitions that
represent getters and setters.IFunctionDefinition.FunctionClassificationIVariableDefinition.VariableClassificationFLAG_CAST_FUNCTION, FLAG_CONSTRUCTOR, FLAG_CONTINGENT, FLAG_DECLARED_IN_CONTROL_FLOW, FLAG_DEFAULT, FLAG_DEPRECATED, FLAG_DYNAMIC, FLAG_FINAL, FLAG_GENERATED_EMBED_CLASS, FLAG_HAS_INIT, FLAG_IMPLICIT, FLAG_NATIVE, FLAG_OVERRIDE, FLAG_REST, FLAG_STATIC, flags, nodeRef, singletonEmptyMetaTags| Constructor and Description |
|---|
AccessorDefinition(String name) |
| Modifier and Type | Method and Description |
|---|---|
IVariableDefinition.VariableClassification |
getVariableClassification()
Get the classification for this variable (local, argument, class member,
etc)
|
IVariableNode |
getVariableNode()
Returns the
IVariableNode from which this definition was created,
if the definition came from the AST for a source file. |
boolean |
inlineFunction()
Can this function be inlined
|
AccessorDefinition |
resolveCorrespondingAccessor(ICompilerProject project) |
Object |
resolveInitialValue(ICompilerProject project)
Attempt to resolve the initial value assigned to this variable.
|
buildInnerString, canFunctionBeInlined, getFunctionClassification, getFunctionNode, getParameters, getReturnTypeAsDisplayString, getReturnTypeReference, hasCompatibleSignature, hasRequiredParameters, isCastFunction, isConstructor, isImplementation, isInline, isTopLevelDefinition, matches, overridesAncestor, resolveImplementedFunction, resolveOverriddenFunction, resolveOverridenInterfaceFunctions, resolveReturnType, setAsConstructor, setCastFunction, setNode, setParameters, setReturnTypeReferencegetContainedScope, setContainedScope, verifyaddMetaTag, buildString, getAbsoluteEnd, getAbsoluteStart, getAllMetaTags, getAncestorOfType, getArrayElementType, getBaseName, getBindableEventNames, getColumn, getContainingASScope, getContainingFilePath, getContainingScope, getContainingSourceFilePath, getDefinition, getDeprecationInfo, getEnd, getExplicitSourceComment, getFileScope, getFileSpecification, getInstanceType, getLine, getLocationString, getMaxSize, getMetaTagByName, getMetaTagsByName, getMName, getModifiers, getNameColumn, getNameEnd, getNameLine, getNamespaceReference, getNamespaceReferenceAsString, getNameStart, getNode, getPackageName, getParent, getPercentProxy, getQualifiedName, getSize, getSkinPart, getSourcePath, getStart, getStorageName, getTypeAsDisplayString, getTypeDependencyType, getTypeReference, hasCollapseWhiteSpace, hasExplicitComment, hasMetaTagByName, hasModifier, hasNamespace, hasRichTextContent, inPackageNamespace, isBindable, isBindableStyle, isColor, isContingent, isContingentNeeded, isDeprecated, isDynamic, isEmpty, isFinal, isGeneratedEmbedClass, isImplicit, isInProject, isInternal, isNative, isOverride, isPrivate, isProtected, isPublic, isRequiredSkinPart, isStatic, resolveNamespace, resolveType, resolveType, resolveType, resolveType, resolveType, setBindable, setContainingScope, setContingent, setDynamic, setFinal, setGeneratedEmbedClass, setImplicit, setLocation, setMetaTags, setModifier, setNameLocation, setNamespaceReference, setNative, setOverride, setPublic, setStatic, setTypeReference, toStorageName, toString, unsetOverrideclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetFunctionClassification, getFunctionNode, getParameters, getReturnTypeAsDisplayString, getReturnTypeReference, hasRequiredParameters, isCastFunction, isConstructor, isImplementation, isInline, overridesAncestor, resolveImplementedFunction, resolveOverriddenFunction, resolveReturnTypegetContainedScopegetExplicitSourceComment, hasExplicitCommentgetAbsoluteEnd, getAbsoluteStart, getAllMetaTags, getAncestorOfType, getBaseName, getBindableEventNames, getColumn, getContainingFilePath, getContainingScope, getContainingSourceFilePath, getDeprecationInfo, getEnd, getLine, getMetaTagByName, getMetaTagsByName, getModifiers, getNameColumn, getNameEnd, getNameLine, getNamespaceReference, getNameStart, getNode, 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, resolveTypegetArrayElementType, getInstanceType, getPercentProxy, hasCollapseWhiteSpace, hasRichTextContent, isColor, isRequiredSkinPart, isSkinPartpublic AccessorDefinition(String name)
public AccessorDefinition resolveCorrespondingAccessor(ICompilerProject project)
resolveCorrespondingAccessor in interface IAccessorDefinitionpublic IVariableDefinition.VariableClassification getVariableClassification()
getVariableClassification in interface IVariableDefinitionpublic IVariableNode getVariableNode()
IVariableDefinitionIVariableNode from which this definition was created,
if the definition came from the AST for a source file.
This method may require the AST to be reloaded or regenerated and therefore may be slow.
getVariableNode in interface IVariableDefinitionpublic Object resolveInitialValue(ICompilerProject project)
IVariableDefinitionresolveInitialValue in interface IVariableDefinitionproject - the Project to resolve things inpublic boolean inlineFunction()
IFunctionDefinitioninlineFunction in interface IFunctionDefinitioninlineFunction in class FunctionDefinitionCopyright © 2016 The Apache Software Foundation. All rights reserved.