Package gw.internal.gosu.parser
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 gw.internal.gosu.parser.JavaPropertyInfo
JavaPropertyInfo.PropertyAccessorAdaptorNested classes/interfaces inherited from interface gw.lang.reflect.IAnnotatedFeatureInfo
IAnnotatedFeatureInfo.IAnnotationInfoHelperNested classes/interfaces inherited from interface gw.lang.reflect.IAttributedFeatureInfo
IAttributedFeatureInfo.MODIFIER -
Field Summary
FieldsFields inherited from interface gw.lang.reflect.IAnnotatedFeatureInfo
ANNOTATION_HELPER -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class gw.internal.gosu.parser.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 gw.internal.gosu.parser.JavaBaseFeatureInfo
isHidden, isVisible, makeDeprecatedMethods inherited from class gw.lang.reflect.BaseFeatureInfo
getAnnotation, getAnnotationsOfType, getContainer, getOwnersType, getParamTypes, getSuperAnnotatedElements, hasAnnotation, hasDeclaredAnnotation, isDefaultImpl, isInternalAPI, isReified, isScriptableMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface gw.lang.reflect.IAnnotatedFeatureInfo
getAnnotation, getAnnotationsOfType, hasAnnotation, hasDeclaredAnnotation, isDefaultImplMethods inherited from interface gw.lang.reflect.IAttributedFeatureInfo
isHidden, isReified, isScriptable, isVisibleMethods inherited from interface gw.lang.reflect.IFeatureInfo
getContainer, getOwnersTypeMethods inherited from interface gw.lang.reflect.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.
-