Package gw.internal.gosu.parser
Class JavaConstructorInfo
- java.lang.Object
-
- gw.lang.reflect.BaseFeatureInfo
-
- gw.internal.gosu.parser.JavaBaseFeatureInfo
-
- gw.internal.gosu.parser.JavaConstructorInfo
-
- All Implemented Interfaces:
JavaHasParams,IAnnotatedFeatureInfo,IAttributedFeatureInfo,IConstructorInfo,IFeatureInfo,IHasParameterInfos,IOptionalParamCapable,IJavaConstructorInfo
public class JavaConstructorInfo extends JavaBaseFeatureInfo implements IJavaConstructorInfo
-
-
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
Constructors Constructor Description JavaConstructorInfo(IFeatureInfo container, IJavaClassConstructor ctor)
-
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, getDeprecatedReason, getOwnersType, getParamTypes, getSuperAnnotatedElements, hasAnnotation, hasDeclaredAnnotation, isDefaultImpl, isDeprecated, isInternalAPI, 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.IAnnotatedFeatureInfo
getAnnotation, getAnnotations, getAnnotationsOfType, getDeprecatedReason, hasAnnotation, hasDeclaredAnnotation, isDefaultImpl, isDeprecated
-
Methods inherited from interface gw.lang.reflect.IAttributedFeatureInfo
isHidden, isReified, isScriptable, isVisible
-
Methods inherited from interface gw.lang.reflect.IFeatureInfo
getContainer, getOwnersType
-
-
-
-
Constructor Detail
-
JavaConstructorInfo
public JavaConstructorInfo(IFeatureInfo container, IJavaClassConstructor ctor)
- Parameters:
container- Typically this will be the containing ITypeInfoctor- The java ctor
-
-
Method Detail
-
getJavaConstructor
public IJavaClassConstructor getJavaConstructor()
- Specified by:
getJavaConstructorin interfaceIJavaConstructorInfo
-
getRawConstructor
public Constructor getRawConstructor()
- Specified by:
getRawConstructorin interfaceIJavaConstructorInfo
-
hasRawConstructor
public boolean hasRawConstructor(IConstructorInfo rawCtor)
- Specified by:
hasRawConstructorin interfaceIConstructorInfo
-
isDefault
public boolean isDefault()
- Specified by:
isDefaultin interfaceIConstructorInfo- Specified by:
isDefaultin interfaceIJavaConstructorInfo
-
getType
public IType getType()
- Specified by:
getTypein interfaceIConstructorInfo
-
getParameters
public IParameterInfo[] getParameters()
- Specified by:
getParametersin interfaceIConstructorInfo- Specified by:
getParametersin interfaceIHasParameterInfos
-
getConstructor
public IConstructorHandler getConstructor()
- Specified by:
getConstructorin interfaceIConstructorInfo
-
getDeclaredAnnotations
public List<IAnnotationInfo> getDeclaredAnnotations()
- Specified by:
getDeclaredAnnotationsin interfaceIAnnotatedFeatureInfo- Overrides:
getDeclaredAnnotationsin classJavaBaseFeatureInfo
-
getExceptions
public List<IExceptionInfo> getExceptions()
- Specified by:
getExceptionsin interfaceIConstructorInfo
-
getName
public String getName()
- Specified by:
getNamein interfaceIFeatureInfo
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayNamein interfaceIFeatureInfo- Overrides:
getDisplayNamein classBaseFeatureInfo
-
getShortDescription
public String getShortDescription()
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceIFeatureInfo- Overrides:
getDescriptionin classBaseFeatureInfo
-
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
-
getDocsForParam
public IDocRef<IParamNode> getDocsForParam(int paramIndex)
- Specified by:
getDocsForParamin interfaceJavaHasParams
-
isFinal
public boolean isFinal()
- Specified by:
isFinalin interfaceIAttributedFeatureInfo- Overrides:
isFinalin classBaseFeatureInfo
-
isSynthetic
public boolean isSynthetic()
-
getDefaultValueExpressions
public IExpression[] getDefaultValueExpressions()
- Specified by:
getDefaultValueExpressionsin interfaceIOptionalParamCapable
-
getParameterNames
public String[] getParameterNames()
- Specified by:
getParameterNamesin interfaceIOptionalParamCapable
-
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
-
getLocationInfo
public ILocationInfo getLocationInfo()
- Specified by:
getLocationInfoin interfaceIFeatureInfo
-
-