Package gw.internal.gosu.parser
Class GosuPropertyInfo
- java.lang.Object
-
- gw.lang.reflect.BaseFeatureInfo
-
- gw.internal.gosu.parser.GosuBaseAttributedFeatureInfo
-
- gw.internal.gosu.parser.GosuPropertyInfo
-
- All Implemented Interfaces:
IGosuPropertyInfo,IAnnotatedFeatureInfo,IAttributedFeatureInfo,IFeatureInfo,IGenericMethodInfo,IIntrinsicTypeReference,IMethodBackedPropertyInfo,IPropertyInfo
- Direct Known Subclasses:
ParameterizedGosuPropertyInfo
public class GosuPropertyInfo extends GosuBaseAttributedFeatureInfo implements IGosuPropertyInfo
-
-
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 GosuPropertyInfo(IFeatureInfo container, DynamicPropertySymbol dps)
-
Method Summary
-
Methods inherited from class gw.internal.gosu.parser.GosuBaseAttributedFeatureInfo
getActualTypeInContainer, getDeclaredAnnotations, getDeprecatedReason, getOwnersType, isDeprecated, isHidden, isVisible
-
Methods inherited from class gw.lang.reflect.BaseFeatureInfo
getAnnotation, getAnnotations, getAnnotationsOfType, getContainer, getParamTypes, getSuperAnnotatedElements, hasAnnotation, hasDeclaredAnnotation, isDefaultImpl, isInternalAPI, isScriptable
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface gw.lang.reflect.IAnnotatedFeatureInfo
getAnnotation, getAnnotations, getAnnotationsOfType, getDeclaredAnnotations, getDeprecatedReason, hasAnnotation, hasDeclaredAnnotation, isDefaultImpl, isDeprecated
-
Methods inherited from interface gw.lang.reflect.IAttributedFeatureInfo
isHidden, isScriptable, isVisible
-
Methods inherited from interface gw.lang.reflect.IFeatureInfo
getContainer, getLocationInfo, getOwnersType
-
-
-
-
Constructor Detail
-
GosuPropertyInfo
public GosuPropertyInfo(IFeatureInfo container, DynamicPropertySymbol dps)
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getNamein interfaceIFeatureInfo
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayNamein interfaceIFeatureInfo- Overrides:
getDisplayNamein classBaseFeatureInfo
-
getShortDescription
public String getShortDescription()
- Specified by:
getShortDescriptionin interfaceIGosuPropertyInfo
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceIFeatureInfo- Overrides:
getDescriptionin classBaseFeatureInfo
-
isStatic
public boolean isStatic()
- Specified by:
isStaticin interfaceIAttributedFeatureInfo
-
isPrivate
public boolean isPrivate()
- Specified by:
isPrivatein interfaceIAttributedFeatureInfo- Overrides:
isPrivatein classBaseFeatureInfo
-
isInternal
public boolean isInternal()
- Specified by:
isInternalin interfaceIAttributedFeatureInfo- Overrides:
isInternalin classBaseFeatureInfo
-
isProtected
public boolean isProtected()
- Specified by:
isProtectedin interfaceIAttributedFeatureInfo- Overrides:
isProtectedin classBaseFeatureInfo
-
isPublic
public boolean isPublic()
- Specified by:
isPublicin interfaceIAttributedFeatureInfo- Overrides:
isPublicin classBaseFeatureInfo
-
isAbstract
public boolean isAbstract()
- Specified by:
isAbstractin interfaceIAttributedFeatureInfo- Overrides:
isAbstractin classBaseFeatureInfo
-
isFinal
public boolean isFinal()
- Specified by:
isFinalin interfaceIAttributedFeatureInfo- Overrides:
isFinalin classBaseFeatureInfo
-
isReified
public boolean isReified()
- Specified by:
isReifiedin interfaceIAttributedFeatureInfo- Overrides:
isReifiedin classBaseFeatureInfo
-
isGetterDefault
public boolean isGetterDefault()
- Specified by:
isGetterDefaultin interfaceIGosuPropertyInfo
-
isSetterDefault
public boolean isSetterDefault()
- Specified by:
isSetterDefaultin interfaceIGosuPropertyInfo
-
getGosuAnnotations
protected List<IGosuAnnotation> getGosuAnnotations()
- Specified by:
getGosuAnnotationsin classGosuBaseAttributedFeatureInfo
-
isReadable
public boolean isReadable()
- Specified by:
isReadablein interfaceIPropertyInfo
-
isReadable
public boolean isReadable(IType whosAskin)
- Specified by:
isReadablein interfaceIPropertyInfo
-
isWritable
public boolean isWritable()
- Specified by:
isWritablein interfaceIPropertyInfo
-
isWritable
public boolean isWritable(IType whosAskin)
- Specified by:
isWritablein interfaceIPropertyInfo
-
isAccessible
public boolean isAccessible(IType whosAskin, ReducedDynamicFunctionSymbol accessor)
-
getAccessor
public IPropertyAccessor getAccessor()
- Specified by:
getAccessorin interfaceIPropertyInfo
-
getPresentationInfo
public IPresentationInfo getPresentationInfo()
- Specified by:
getPresentationInfoin interfaceIPropertyInfo
-
getFeatureType
public IType getFeatureType()
- Specified by:
getFeatureTypein interfaceIIntrinsicTypeReference
-
getAssignableFeatureType
public IType getAssignableFeatureType()
- Specified by:
getAssignableFeatureTypein interfaceIIntrinsicTypeReference
-
getDps
public ReducedDynamicPropertySymbol getDps()
- Specified by:
getDpsin interfaceIGosuPropertyInfo
-
getContainingType
public IType getContainingType()
- Specified by:
getContainingTypein interfaceIGosuPropertyInfo
-
getTypeVariables
public GenericTypeVariable[] getTypeVariables()
- Specified by:
getTypeVariablesin interfaceIGenericMethodInfo
-
getParameterizedReturnType
public IType getParameterizedReturnType(IType... typeParams)
- Specified by:
getParameterizedReturnTypein interfaceIGenericMethodInfo
-
getParameterizedParameterTypes
public IType[] getParameterizedParameterTypes(IType... typeParams)
- Specified by:
getParameterizedParameterTypesin interfaceIGenericMethodInfo
-
getParameterizedParameterTypes2
public IType[] getParameterizedParameterTypes2(IType ownersType, IType... typeParams)
- Specified by:
getParameterizedParameterTypes2in interfaceIGenericMethodInfo
-
inferTypeParametersFromArgumentTypes
public TypeVarToTypeMap inferTypeParametersFromArgumentTypes(IType... argTypes)
- Specified by:
inferTypeParametersFromArgumentTypesin interfaceIGenericMethodInfo
-
inferTypeParametersFromArgumentTypes2
public TypeVarToTypeMap inferTypeParametersFromArgumentTypes2(IType owningParameterizedType, IType... argTypes)
- Specified by:
inferTypeParametersFromArgumentTypes2in interfaceIGenericMethodInfo
-
getReadMethodInfo
public IMethodInfo getReadMethodInfo()
- Specified by:
getReadMethodInfoin interfaceIMethodBackedPropertyInfo
-
getWriteMethodInfo
public IMethodInfo getWriteMethodInfo()
- Specified by:
getWriteMethodInfoin interfaceIMethodBackedPropertyInfo
-
toString
public String toString()
- Overrides:
toStringin classBaseFeatureInfo
-
-