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 IAnnotatedFeatureInfo
IAnnotatedFeatureInfo.IAnnotationInfoHelperNested classes/interfaces inherited from interface IAttributedFeatureInfo
IAttributedFeatureInfo.MODIFIER -
Field Summary
Fields inherited from interface IAnnotatedFeatureInfo
ANNOTATION_HELPER -
Method Summary
Modifier and TypeMethodDescriptionbooleandefault booleanisReadable(IType whosAskin) booleanbooleanisWritable(IType whosAskin) Methods inherited from interface IAnnotatedFeatureInfo
getAnnotation, getAnnotations, getAnnotationsOfType, getDeclaredAnnotations, getDeprecatedReason, hasAnnotation, hasDeclaredAnnotation, isDefaultImpl, isDeprecatedMethods inherited from interface IAttributedFeatureInfo
isAbstract, isFinal, isHidden, isInternal, isPrivate, isProtected, isPublic, isReified, isScriptable, isStatic, isVisibleMethods inherited from interface IFeatureInfo
getContainer, getDescription, getDisplayName, getLocationInfo, getName, getOwnersTypeMethods inherited from interface 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()
-