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.PropertyAccessorAdaptor
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
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, toString
Methods inherited from class gw.internal.gosu.parser.JavaBaseFeatureInfo
isHidden, isVisible, makeDeprecated
Methods inherited from class gw.lang.reflect.BaseFeatureInfo
getAnnotation, getAnnotationsOfType, getContainer, getOwnersType, getParamTypes, getSuperAnnotatedElements, hasAnnotation, hasDeclaredAnnotation, isDefaultImpl, isInternalAPI, isReified, isScriptable
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface gw.lang.reflect.IAnnotatedFeatureInfo
getAnnotation, getAnnotationsOfType, hasAnnotation, hasDeclaredAnnotation, isDefaultImpl
Methods inherited from interface gw.lang.reflect.IAttributedFeatureInfo
isHidden, isReified, isScriptable, isVisible
Methods inherited from interface gw.lang.reflect.IFeatureInfo
getContainer, getOwnersType
Methods 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:
getAccessor
in interfaceIPropertyInfo
- Overrides:
getAccessor
in classJavaPropertyInfo
- Returns:
- the PropertyAccessor (for getting and setting) this property.
-
getPresentationInfo
- Specified by:
getPresentationInfo
in interfaceIPropertyInfo
- Overrides:
getPresentationInfo
in classJavaPropertyInfo
-
isPublic
public boolean isPublic()Description copied from interface:IAttributedFeatureInfo
True if this feature is public. Public features are not restricted.- Specified by:
isPublic
in interfaceIAttributedFeatureInfo
- Overrides:
isPublic
in classJavaPropertyInfo
-
isReadable
public boolean isReadable()- Specified by:
isReadable
in interfaceIPropertyInfo
- Overrides:
isReadable
in classJavaPropertyInfo
- Returns:
- true if the property is readable given the visibility constraint passed in, false otherwise.
-
getAnnotations
- Specified by:
getAnnotations
in interfaceIAnnotatedFeatureInfo
- Overrides:
getAnnotations
in 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.
-