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.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
-
Constructor Summary
ConstructorsConstructorDescriptionJavaBaseFeatureInfo
(IFeatureInfo container) JavaBaseFeatureInfo
(IType intrType) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract IJavaAnnotatedElement
protected abstract boolean
boolean
isHidden()
True if this feature is hidden.protected abstract boolean
private boolean
boolean
isVisible
(IScriptabilityModifier constraint) Determine if this feature is visible given a visibility constraint.protected abstract boolean
isVisibleViaFeatureDescriptor
(IScriptabilityModifier constraint) protected Deprecated
makeDeprecated
(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, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface gw.lang.reflect.IAttributedFeatureInfo
isStatic
Methods 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:IAttributedFeatureInfo
Determine if this feature is visible given a visibility constraint.- Specified by:
isVisible
in interfaceIAttributedFeatureInfo
- Overrides:
isVisible
in classBaseFeatureInfo
-
isHidden
public boolean isHidden()Description copied from interface:IAttributedFeatureInfo
True if this feature is hidden. Hidden feature should not to be exposed to earthlings.- Specified by:
isHidden
in interfaceIAttributedFeatureInfo
- Overrides:
isHidden
in classBaseFeatureInfo
-
isProxyClassCompiling
private boolean isProxyClassCompiling() -
makeDeprecated
-
isDefaultEnumFeature
protected abstract boolean isDefaultEnumFeature()
-