Package gw.internal.gosu.parser
Class JavaBaseFeatureInfo
java.lang.Object
gw.lang.reflect.BaseFeatureInfo
gw.internal.gosu.parser.JavaBaseFeatureInfo
- All Implemented Interfaces:
IAnnotatedFeatureInfo,IAttributedFeatureInfo,IFeatureInfo
- Direct Known Subclasses:
JavaConstructorInfo,JavaFieldPropertyInfo,JavaMethodInfo,JavaPropertyInfo,JavaTypeInfo
-
Nested Class Summary
Nested classes/interfaces inherited from interface gw.lang.reflect.IAnnotatedFeatureInfo
IAnnotatedFeatureInfo.IAnnotationInfoHelperNested classes/interfaces inherited from interface gw.lang.reflect.IAttributedFeatureInfo
IAttributedFeatureInfo.MODIFIER -
Field Summary
Fields inherited from interface gw.lang.reflect.IAnnotatedFeatureInfo
ANNOTATION_HELPER -
Constructor Summary
ConstructorsConstructorDescriptionJavaBaseFeatureInfo(IFeatureInfo container) JavaBaseFeatureInfo(IType intrType) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract IJavaAnnotatedElementprotected abstract booleanbooleanisHidden()True if this feature is hidden.protected abstract booleanprivate booleanbooleanisVisible(IScriptabilityModifier constraint) Determine if this feature is visible given a visibility constraint.protected abstract booleanisVisibleViaFeatureDescriptor(IScriptabilityModifier constraint) protected DeprecatedmakeDeprecated(String reason) Methods inherited from class gw.lang.reflect.BaseFeatureInfo
getAnnotation, getAnnotations, getAnnotationsOfType, getContainer, getDeprecatedReason, getDescription, getDisplayName, getOwnersType, getParamTypes, getSuperAnnotatedElements, hasAnnotation, hasDeclaredAnnotation, isAbstract, isDefaultImpl, isDeprecated, isFinal, isInternal, isInternalAPI, isPrivate, isProtected, isPublic, isReified, isScriptable, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface gw.lang.reflect.IAttributedFeatureInfo
isStaticMethods inherited from interface gw.lang.reflect.IFeatureInfo
getLocationInfo, getName
-
Constructor Details
-
JavaBaseFeatureInfo
-
JavaBaseFeatureInfo
-
-
Method Details
-
getAnnotatedElement
-
getDeclaredAnnotations
- Returns:
- A map of AnnotationInfo objects by type representing all the annotations associated with this feature, or an empty map if there are no annotations.
-
isVisibleViaFeatureDescriptor
-
isHiddenViaFeatureDescriptor
protected abstract boolean isHiddenViaFeatureDescriptor() -
isVisible
Description copied from interface:IAttributedFeatureInfoDetermine if this feature is visible given a visibility constraint.
NOTE: implementers of this method are responsible for handling the null case, taken to mean that there are not scriptability constraints.- Specified by:
isVisiblein interfaceIAttributedFeatureInfo- Overrides:
isVisiblein classBaseFeatureInfo
-
isHidden
public boolean isHidden()Description copied from interface:IAttributedFeatureInfoTrue if this feature is hidden. Hidden feature should not to be exposed to earthlings.- Specified by:
isHiddenin interfaceIAttributedFeatureInfo- Overrides:
isHiddenin classBaseFeatureInfo
-
isProxyClassCompiling
private boolean isProxyClassCompiling() -
makeDeprecated
-
isDefaultEnumFeature
protected abstract boolean isDefaultEnumFeature()
-