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
public class LengthProperty extends JavaPropertyInfo
-
-
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
Fields Modifier and Type Field Description private IPropertyAccessor_accessor-
Fields inherited from interface gw.lang.reflect.IAnnotatedFeatureInfo
ANNOTATION_HELPER
-
-
Constructor Summary
Constructors Constructor Description LengthProperty(ITypeInfo typeInfo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IPropertyAccessorgetAccessor()java.util.List<IAnnotationInfo>getAnnotations()IPresentationInfogetPresentationInfo()booleanisPublic()True if this feature is public.booleanisReadable()-
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 Detail
-
_accessor
private IPropertyAccessor _accessor
-
-
Constructor Detail
-
LengthProperty
LengthProperty(ITypeInfo typeInfo) throws java.beans.IntrospectionException
- Throws:
java.beans.IntrospectionException
-
-
Method Detail
-
getAccessor
public IPropertyAccessor getAccessor()
- Specified by:
getAccessorin interfaceIPropertyInfo- Overrides:
getAccessorin classJavaPropertyInfo- Returns:
- the PropertyAccessor (for getting and setting) this property.
-
getPresentationInfo
public IPresentationInfo 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
public java.util.List<IAnnotationInfo> 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.
-
-