Package gw.internal.gosu.parser
Class ArrayExpansionPropertyInfo
- java.lang.Object
-
- gw.internal.gosu.parser.ArrayExpansionPropertyInfo
-
- All Implemented Interfaces:
IExpansionPropertyInfo,IAnnotatedFeatureInfo,IAttributedFeatureInfo,IFeatureInfo,IIntrinsicTypeReference,IPropertyInfo
public class ArrayExpansionPropertyInfo extends Object implements IExpansionPropertyInfo
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface gw.lang.reflect.IAnnotatedFeatureInfo
IAnnotatedFeatureInfo.IAnnotationInfoHelper
-
Nested classes/interfaces inherited from interface gw.lang.reflect.IAttributedFeatureInfo
IAttributedFeatureInfo.MODIFIER
-
-
Field Summary
-
Fields inherited from interface gw.lang.reflect.IAnnotatedFeatureInfo
ANNOTATION_HELPER
-
-
Constructor Summary
Constructors Constructor Description ArrayExpansionPropertyInfo(IPropertyInfo delegate)
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface gw.lang.reflect.IFeatureInfo
getLocationInfo
-
Methods inherited from interface gw.lang.reflect.IIntrinsicTypeReference
getAssignableFeatureType
-
Methods inherited from interface gw.lang.reflect.IPropertyInfo
isReadable
-
-
-
-
Constructor Detail
-
ArrayExpansionPropertyInfo
public ArrayExpansionPropertyInfo(IPropertyInfo delegate)
-
-
Method Detail
-
isReadable
public boolean isReadable()
- Specified by:
isReadablein interfaceIPropertyInfo
-
isWritable
public boolean isWritable(IType whosAskin)
- Specified by:
isWritablein interfaceIPropertyInfo
-
isWritable
public boolean isWritable()
- Specified by:
isWritablein interfaceIPropertyInfo
-
getAccessor
public IPropertyAccessor getAccessor()
- Specified by:
getAccessorin interfaceIPropertyInfo
-
getPresentationInfo
public IPresentationInfo getPresentationInfo()
- Specified by:
getPresentationInfoin interfaceIPropertyInfo
-
isScriptable
public boolean isScriptable()
- Specified by:
isScriptablein interfaceIAttributedFeatureInfo
-
isDeprecated
public boolean isDeprecated()
- Specified by:
isDeprecatedin interfaceIAnnotatedFeatureInfo
-
getDeprecatedReason
public String getDeprecatedReason()
- Specified by:
getDeprecatedReasonin interfaceIAnnotatedFeatureInfo
-
isDefaultImpl
public boolean isDefaultImpl()
- Specified by:
isDefaultImplin interfaceIAnnotatedFeatureInfo
-
isVisible
public boolean isVisible(IScriptabilityModifier constraint)
- Specified by:
isVisiblein interfaceIAttributedFeatureInfo
-
isHidden
public boolean isHidden()
- Specified by:
isHiddenin interfaceIAttributedFeatureInfo
-
isStatic
public boolean isStatic()
- Specified by:
isStaticin interfaceIAttributedFeatureInfo
-
isPrivate
public boolean isPrivate()
- Specified by:
isPrivatein interfaceIAttributedFeatureInfo
-
isInternal
public boolean isInternal()
- Specified by:
isInternalin interfaceIAttributedFeatureInfo
-
isProtected
public boolean isProtected()
- Specified by:
isProtectedin interfaceIAttributedFeatureInfo
-
isPublic
public boolean isPublic()
- Specified by:
isPublicin interfaceIAttributedFeatureInfo
-
isAbstract
public boolean isAbstract()
- Specified by:
isAbstractin interfaceIAttributedFeatureInfo
-
isFinal
public boolean isFinal()
- Specified by:
isFinalin interfaceIAttributedFeatureInfo
-
isReified
public boolean isReified()
- Specified by:
isReifiedin interfaceIAttributedFeatureInfo
-
getAnnotations
public List<IAnnotationInfo> getAnnotations()
- Specified by:
getAnnotationsin interfaceIAnnotatedFeatureInfo
-
getDeclaredAnnotations
public List<IAnnotationInfo> getDeclaredAnnotations()
- Specified by:
getDeclaredAnnotationsin interfaceIAnnotatedFeatureInfo
-
getAnnotationsOfType
public List<IAnnotationInfo> getAnnotationsOfType(IType type)
- Specified by:
getAnnotationsOfTypein interfaceIAnnotatedFeatureInfo
-
getAnnotation
public IAnnotationInfo getAnnotation(IType type)
- Specified by:
getAnnotationin interfaceIAnnotatedFeatureInfo
-
hasAnnotation
public boolean hasAnnotation(IType type)
- Specified by:
hasAnnotationin interfaceIAnnotatedFeatureInfo
-
hasDeclaredAnnotation
public boolean hasDeclaredAnnotation(IType type)
- Specified by:
hasDeclaredAnnotationin interfaceIAnnotatedFeatureInfo
-
getContainer
public IFeatureInfo getContainer()
- Specified by:
getContainerin interfaceIFeatureInfo
-
getOwnersType
public IType getOwnersType()
- Specified by:
getOwnersTypein interfaceIFeatureInfo
-
getName
public String getName()
- Specified by:
getNamein interfaceIFeatureInfo
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayNamein interfaceIFeatureInfo
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceIFeatureInfo
-
getFeatureType
public IType getFeatureType()
Make an array type from the delegate's type, if it's not already an array. The idea with array expansion is to allow access to properties of X from an array of X. We call the accessor For each X in the array we call the- Specified by:
getFeatureTypein interfaceIIntrinsicTypeReference
-
getDelegate
public IPropertyInfo getDelegate()
- Specified by:
getDelegatein interfaceIExpansionPropertyInfo
-
-