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 inherited from interface gw.lang.reflect.IAnnotatedFeatureInfo
ANNOTATION_HELPER
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IPropertyAccessor
getAccessor()
List<IAnnotationInfo>
getAnnotations()
IPresentationInfo
getPresentationInfo()
boolean
isPublic()
True if this feature is public.boolean
isReadable()
-
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
-
-
-
-
Method Detail
-
getAccessor
public IPropertyAccessor getAccessor()
- Specified by:
getAccessor
in interfaceIPropertyInfo
- Overrides:
getAccessor
in classJavaPropertyInfo
- Returns:
- the PropertyAccessor (for getting and setting) this property.
-
getPresentationInfo
public IPresentationInfo 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
public List<IAnnotationInfo> 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.
-
-