Package gw.internal.gosu.parser
Class JavaPropertyInfo
- java.lang.Object
-
- gw.lang.reflect.BaseFeatureInfo
-
- gw.internal.gosu.parser.JavaBaseFeatureInfo
-
- gw.internal.gosu.parser.JavaPropertyInfo
-
- All Implemented Interfaces:
IAnnotatedFeatureInfo,IAttributedFeatureInfo,IFeatureInfo,IIntrinsicTypeReference,IMethodBackedPropertyInfo,IPropertyInfo,IJavaBasePropertyInfo,IJavaPropertyInfo
- Direct Known Subclasses:
LengthProperty
public class JavaPropertyInfo extends JavaBaseFeatureInfo implements IJavaPropertyInfo
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classJavaPropertyInfo.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
-
Methods inherited from class gw.internal.gosu.parser.JavaBaseFeatureInfo
isHidden, isVisible, makeDeprecated
-
Methods inherited from class gw.lang.reflect.BaseFeatureInfo
getAnnotation, getAnnotations, 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, getAnnotations, 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
-
newInstance
public static IJavaPropertyInfo newInstance(IFeatureInfo container, IJavaPropertyDescriptor pd)
-
newInstance
public static IJavaPropertyInfo newInstance(IFeatureInfo container, IJavaPropertyDescriptor pd, IType propertyType)
-
newInstance
public static IJavaPropertyInfo newInstance(IFeatureInfo container, IJavaPropertyDescriptor pd, IType propertyType, IPresentationInfo presInfo)
-
getFeatureType
public IType getFeatureType()
- Specified by:
getFeatureTypein interfaceIIntrinsicTypeReference
-
getAssignableFeatureType
public IType getAssignableFeatureType()
- Specified by:
getAssignableFeatureTypein interfaceIIntrinsicTypeReference
-
isReadable
public boolean isReadable()
- Specified by:
isReadablein interfaceIPropertyInfo
-
isWritable
public boolean isWritable(IType whosAskin)
- Specified by:
isWritablein interfaceIPropertyInfo
-
isWritable
public boolean isWritable()
- Specified by:
isWritablein interfaceIPropertyInfo
-
getDeclaredAnnotations
public List<IAnnotationInfo> getDeclaredAnnotations()
- Specified by:
getDeclaredAnnotationsin interfaceIAnnotatedFeatureInfo- Overrides:
getDeclaredAnnotationsin classJavaBaseFeatureInfo
-
getMethodDocs
public IDocRef<IMethodNode> getMethodDocs()
- Specified by:
getMethodDocsin interfaceIJavaPropertyInfo
-
getReturnDescription
public String getReturnDescription()
- Specified by:
getReturnDescriptionin interfaceIJavaBasePropertyInfo
-
isStatic
public boolean isStatic()
- Specified by:
isStaticin interfaceIAttributedFeatureInfo
-
isPrivate
public boolean isPrivate()
- Specified by:
isPrivatein interfaceIAttributedFeatureInfo- Overrides:
isPrivatein classBaseFeatureInfo
-
isInternal
public boolean isInternal()
- Specified by:
isInternalin interfaceIAttributedFeatureInfo- Overrides:
isInternalin classBaseFeatureInfo
-
isProtected
public boolean isProtected()
- Specified by:
isProtectedin interfaceIAttributedFeatureInfo- Overrides:
isProtectedin classBaseFeatureInfo
-
isPublic
public boolean isPublic()
- Specified by:
isPublicin interfaceIAttributedFeatureInfo- Overrides:
isPublicin classBaseFeatureInfo
-
isAbstract
public boolean isAbstract()
- Specified by:
isAbstractin interfaceIAttributedFeatureInfo- Overrides:
isAbstractin classBaseFeatureInfo
-
isFinal
public boolean isFinal()
- Specified by:
isFinalin interfaceIAttributedFeatureInfo- Overrides:
isFinalin classBaseFeatureInfo
-
getAnnotatedElement
protected IJavaAnnotatedElement getAnnotatedElement()
- Specified by:
getAnnotatedElementin classJavaBaseFeatureInfo
-
isVisibleViaFeatureDescriptor
protected boolean isVisibleViaFeatureDescriptor(IScriptabilityModifier constraint)
- Specified by:
isVisibleViaFeatureDescriptorin classJavaBaseFeatureInfo
-
isHiddenViaFeatureDescriptor
protected boolean isHiddenViaFeatureDescriptor()
- Specified by:
isHiddenViaFeatureDescriptorin classJavaBaseFeatureInfo
-
isDefaultEnumFeature
protected boolean isDefaultEnumFeature()
- Specified by:
isDefaultEnumFeaturein classJavaBaseFeatureInfo
-
isDeprecated
public boolean isDeprecated()
- Specified by:
isDeprecatedin interfaceIAnnotatedFeatureInfo- Overrides:
isDeprecatedin classBaseFeatureInfo
-
getDeprecatedReason
public String getDeprecatedReason()
- Specified by:
getDeprecatedReasonin interfaceIAnnotatedFeatureInfo- Overrides:
getDeprecatedReasonin classBaseFeatureInfo
-
getAccessor
public IPropertyAccessor getAccessor()
- Specified by:
getAccessorin interfaceIPropertyInfo
-
getPresentationInfo
public IPresentationInfo getPresentationInfo()
- Specified by:
getPresentationInfoin interfaceIPropertyInfo
-
getName
public String getName()
- Specified by:
getNamein interfaceIFeatureInfo
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayNamein interfaceIFeatureInfo- Overrides:
getDisplayNamein classBaseFeatureInfo
-
getShortDescription
public String getShortDescription()
- Specified by:
getShortDescriptionin interfaceIJavaPropertyInfo
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceIFeatureInfo- Overrides:
getDescriptionin classBaseFeatureInfo
-
getReadMethodInfo
public IMethodInfo getReadMethodInfo()
- Specified by:
getReadMethodInfoin interfaceIJavaPropertyInfo- Specified by:
getReadMethodInfoin interfaceIMethodBackedPropertyInfo
-
getPublicField
public IJavaClassField getPublicField()
- Specified by:
getPublicFieldin interfaceIJavaPropertyInfo
-
getWriteMethodInfo
public IMethodInfo getWriteMethodInfo()
- Specified by:
getWriteMethodInfoin interfaceIJavaPropertyInfo- Specified by:
getWriteMethodInfoin interfaceIMethodBackedPropertyInfo
-
toString
public String toString()
- Overrides:
toStringin classBaseFeatureInfo
-
getPropertyDescriptor
public IJavaPropertyDescriptor getPropertyDescriptor()
- Specified by:
getPropertyDescriptorin interfaceIJavaPropertyInfo
-
getLocationInfo
public ILocationInfo getLocationInfo()
- Specified by:
getLocationInfoin interfaceIFeatureInfo
-
-