public class GetterDefinition extends AccessorDefinition implements IGetterDefinition
IFunctionDefinition.FunctionClassification
IVariableDefinition.VariableClassification
FLAG_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 |
---|
GetterDefinition(String name) |
Modifier and Type | Method and Description |
---|---|
void |
buildInnerString(StringBuilder sb)
For debugging only.
|
boolean |
isRequiredSkinPart()
Check whether the variable is a required skin part.
|
boolean |
isSkinPart()
Check whether the variable is a skin part.
|
FunctionDefinition |
resolveOverriddenFunction(ICompilerProject project)
Will return the getter this overrides, if any.
|
ISetterDefinition |
resolveSetter(ICompilerProject project) |
getVariableClassification, getVariableNode, inlineFunction, resolveCorrespondingAccessor, resolveInitialValue
canFunctionBeInlined, getFunctionClassification, getFunctionNode, getParameters, getReturnTypeAsDisplayString, getReturnTypeReference, hasCompatibleSignature, hasRequiredParameters, isCastFunction, isConstructor, isImplementation, isInline, isTopLevelDefinition, matches, overridesAncestor, resolveImplementedFunction, resolveOverridenInterfaceFunctions, resolveReturnType, setAsConstructor, setCastFunction, setNode, setParameters, setReturnTypeReference
getContainedScope, setContainedScope, verify
addMetaTag, 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, unsetOverride
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
resolveCorrespondingAccessor
getFunctionClassification, getFunctionNode, getParameters, getReturnTypeAsDisplayString, getReturnTypeReference, hasRequiredParameters, inlineFunction, isCastFunction, isConstructor, isImplementation, isInline, overridesAncestor, resolveImplementedFunction, resolveReturnType
getContainedScope
getExplicitSourceComment, hasExplicitComment
getAbsoluteEnd, 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, resolveType
getArrayElementType, getInstanceType, getPercentProxy, getVariableClassification, getVariableNode, hasCollapseWhiteSpace, hasRichTextContent, isColor, resolveInitialValue
public GetterDefinition(String name)
public ISetterDefinition resolveSetter(ICompilerProject project)
resolveSetter
in interface IGetterDefinition
public boolean isSkinPart()
IVariableDefinition
isSkinPart
in interface IVariableDefinition
public boolean isRequiredSkinPart()
IVariableDefinition
isRequiredSkinPart
in interface IVariableDefinition
public void buildInnerString(StringBuilder sb)
buildInnerString
in class FunctionDefinition
public FunctionDefinition resolveOverriddenFunction(ICompilerProject project)
resolveOverriddenFunction
in interface IFunctionDefinition
resolveOverriddenFunction
in class FunctionDefinition
IFunctionDefinition
or nullCopyright © 2016 The Apache Software Foundation. All rights reserved.