Class LengthProperty
java.lang.Object
gw.lang.reflect.BaseFeatureInfo
gw.internal.gosu.parser.JavaBaseFeatureInfo
gw.internal.gosu.parser.JavaPropertyInfo
gw.internal.gosu.parser.LengthProperty
- All Implemented Interfaces:
IAnnotatedFeatureInfo, IAttributedFeatureInfo, IFeatureInfo, IIntrinsicTypeReference, IMethodBackedPropertyInfo, IPropertyInfo, IJavaBasePropertyInfo, IJavaPropertyInfo
-
Nested Class Summary
Nested classes/interfaces inherited from class JavaPropertyInfo
JavaPropertyInfo.PropertyAccessorAdaptorNested classes/interfaces inherited from interface IAnnotatedFeatureInfo
IAnnotatedFeatureInfo.IAnnotationInfoHelperNested classes/interfaces inherited from interface IAttributedFeatureInfo
IAttributedFeatureInfo.MODIFIER -
Field Summary
FieldsFields inherited from interface IAnnotatedFeatureInfo
ANNOTATION_HELPER -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class JavaPropertyInfo
getAnnotatedElement, getAssignableFeatureType, getDeclaredAnnotations, getDeprecatedReason, getDescription, getDisplayName, getFeatureType, getLocationInfo, getMethodDocs, getName, getPropertyDescriptor, getPublicField, getReadMethodInfo, getReturnDescription, getShortDescription, getWriteMethodInfo, isAbstract, isDefaultEnumFeature, isDeprecated, isFinal, isHiddenViaFeatureDescriptor, isInternal, isPrivate, isProtected, isStatic, isVisibleViaFeatureDescriptor, isWritable, isWritable, newInstance, newInstance, newInstance, toStringMethods inherited from class JavaBaseFeatureInfo
isHidden, isVisible, makeDeprecatedMethods inherited from class BaseFeatureInfo
getAnnotation, getAnnotationsOfType, getContainer, getOwnersType, getParamTypes, getSuperAnnotatedElements, hasAnnotation, hasDeclaredAnnotation, isDefaultImpl, isInternalAPI, isReified, isScriptableMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface IAnnotatedFeatureInfo
getAnnotation, getAnnotationsOfType, hasAnnotation, hasDeclaredAnnotation, isDefaultImplMethods inherited from interface IAttributedFeatureInfo
isHidden, isReified, isScriptable, isVisibleMethods inherited from interface IFeatureInfo
getContainer, getOwnersTypeMethods inherited from interface IPropertyInfo
isReadable
-
Field Details
-
_accessor
-
-
Constructor Details
-
LengthProperty
LengthProperty(ITypeInfo typeInfo) throws IntrospectionException - Throws:
IntrospectionException
-
-
Method Details
-
getAccessor
- Specified by:
getAccessorin interfaceIPropertyInfo- Overrides:
getAccessorin classJavaPropertyInfo- Returns:
- the PropertyAccessor (for getting and setting) this property.
-
getPresentationInfo
- Specified by:
getPresentationInfoin interfaceIPropertyInfo- Overrides:
getPresentationInfoin classJavaPropertyInfo
-
isPublic
public boolean isPublic()Description copied from interface:IAttributedFeatureInfoTrue if this feature is public. Public features are not restricted.- Specified by:
isPublicin interfaceIAttributedFeatureInfo- Overrides:
isPublicin classJavaPropertyInfo
-
isReadable
public boolean isReadable()- Specified by:
isReadablein interfaceIPropertyInfo- Overrides:
isReadablein classJavaPropertyInfo- Returns:
- true if the property is readable given the visibility constraint passed in, false otherwise.
-
getAnnotations
- Specified by:
getAnnotationsin interfaceIAnnotatedFeatureInfo- Overrides:
getAnnotationsin classBaseFeatureInfo- Returns:
- A map of AnnotationInfo objects by type representing all the annotations associated with this feature and all the features in its ancestry, or an empty map if there are no annotations.
-