Package gw.lang.reflect
Interface IPropertyInfo
- All Superinterfaces:
IAnnotatedFeatureInfo
,IAttributedFeatureInfo
,IFeatureInfo
,IIntrinsicTypeReference
- All Known Subinterfaces:
IExpansionPropertyInfo
,IGosuPropertyInfo
,IGosuVarPropertyInfo
,IJavaBasePropertyInfo
,IJavaFieldPropertyInfo
,IJavaPropertyInfo
,IPropertiesPropertyInfo
,IPropertyInfoDelegate
,ITypeInfoPropertyInfo
- All Known Implementing Classes:
ArrayExpansionPropertyInfo
,DynamicPropertyInfo
,ErrorTypeInfo.UniversalProperty
,GosuPropertyInfo
,GosuVarPropertyInfo
,JavaFieldPropertyInfo
,JavaPropertyInfo
,LengthProperty
,MetaPropertyInfoDelegate
,MetaTypeTypeInfo.DeprecatedStaticPropertyInfoDelegate
,MetaTypeTypeInfo.TypeProperty
,PackagePropertyInfo
,ParameterizedGosuPropertyInfo
,PropertiesPropertyInfo
,PropertyInfoBase
,PropertyInfoBuilder.BuiltPropertyInfo
,PropertyInfoDelegate
,StaticPropertyInfo
,TypePropertyInfo
-
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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
default boolean
isReadable
(IType whosAskin) boolean
boolean
isWritable
(IType whosAskin) 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
isAbstract, isFinal, isHidden, isInternal, isPrivate, isProtected, isPublic, isReified, isScriptable, isStatic, isVisible
Methods inherited from interface gw.lang.reflect.IFeatureInfo
getContainer, getDescription, getDisplayName, getLocationInfo, getName, getOwnersType
Methods inherited from interface gw.lang.reflect.IIntrinsicTypeReference
getAssignableFeatureType, getFeatureType
-
Method Details
-
isReadable
boolean isReadable()- Returns:
- true if the property is readable given the visibility constraint passed in, false otherwise.
-
isReadable
-
isWritable
boolean isWritable()- Returns:
- True if the property is writable given the visibility constraint passed in, false otherwise.
-
isWritable
- Parameters:
whosAskin
- The type querying the property writability. For example, passing in the type the property is on will allow properties that have private access in the setter to be written to. Passing in an unrelated type will only allow properties that are to be written to.- Returns:
- True if the property is writable given the visibility constraint passed in, false otherwise.
-
getAccessor
IPropertyAccessor getAccessor()- Returns:
- the PropertyAccessor (for getting and setting) this property.
-
getPresentationInfo
IPresentationInfo getPresentationInfo()
-