Package gw.internal.gosu.parser
Class GosuConstructorInfo
- java.lang.Object
-
- gw.lang.reflect.BaseFeatureInfo
-
- gw.internal.gosu.parser.GosuBaseAttributedFeatureInfo
-
- gw.internal.gosu.parser.AbstractGenericMethodInfo
-
- gw.internal.gosu.parser.GosuConstructorInfo
-
- All Implemented Interfaces:
IGosuConstructorInfo,IAnnotatedFeatureInfo,IAttributedFeatureInfo,IConstructorInfo,IDFSBackedFeatureInfo,IFeatureInfo,IGenericMethodInfo,IHasParameterInfos,IOptionalParamCapable
- Direct Known Subclasses:
ParameterizedGosuConstructorInfo
public class GosuConstructorInfo extends AbstractGenericMethodInfo implements IGosuConstructorInfo
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classGosuConstructorInfo.GosuConstructorHandler-
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 GosuConstructorInfo(IFeatureInfo container, DynamicFunctionSymbol dfs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IGosuConstructorInfogetBackingConstructorInfo()IConstructorHandlergetConstructor()IExpression[]getDefaultValueExpressions()String[]getParameterNames()ITypegetType()booleanhasRawConstructor(IConstructorInfo rawCtor)booleanisDefault()-
Methods inherited from class gw.internal.gosu.parser.AbstractGenericMethodInfo
ensureInferredTypeAssignableToBoundingType, getArgs, getDescription, getDfs, getDisplayName, getExceptions, getGosuAnnotations, getName, getParameterizedParameterTypes, getParameterizedParameterTypes2, getParameterizedReturnType, getParameters, getTypeVariables, inferTypeParametersFromArgumentTypes, inferTypeParametersFromArgumentTypes2, isAbstract, isDefaultImpl, isFinal, isInternal, isPrivate, isProtected, isPublic, isReified, isStatic
-
Methods inherited from class gw.internal.gosu.parser.GosuBaseAttributedFeatureInfo
getActualTypeInContainer, getDeclaredAnnotations, getDeprecatedReason, getOwnersType, isDeprecated, isHidden, isVisible
-
Methods inherited from class gw.lang.reflect.BaseFeatureInfo
getAnnotation, getAnnotations, getAnnotationsOfType, getContainer, getParamTypes, getSuperAnnotatedElements, hasAnnotation, hasDeclaredAnnotation, isInternalAPI, 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, getDeclaredAnnotations, getDeprecatedReason, hasAnnotation, hasDeclaredAnnotation, isDefaultImpl, isDeprecated
-
Methods inherited from interface gw.lang.reflect.IAttributedFeatureInfo
isAbstract, isFinal, isHidden, isInternal, isPrivate, isProtected, isPublic, isReified, isScriptable, isStatic, isVisible
-
Methods inherited from interface gw.lang.reflect.IConstructorInfo
getExceptions, getParameters
-
Methods inherited from interface gw.lang.reflect.IDFSBackedFeatureInfo
getDfs
-
Methods inherited from interface gw.lang.reflect.IFeatureInfo
getContainer, getDescription, getDisplayName, getLocationInfo, getName, getOwnersType
-
Methods inherited from interface gw.lang.reflect.IGenericMethodInfo
getParameterizedParameterTypes, getParameterizedParameterTypes2, getParameterizedReturnType, getTypeVariables, inferTypeParametersFromArgumentTypes, inferTypeParametersFromArgumentTypes2
-
Methods inherited from interface gw.lang.reflect.gs.IGosuConstructorInfo
getArgs
-
-
-
-
Constructor Detail
-
GosuConstructorInfo
public GosuConstructorInfo(IFeatureInfo container, DynamicFunctionSymbol dfs)
-
-
Method Detail
-
getType
public IType getType()
- Specified by:
getTypein interfaceIConstructorInfo
-
getConstructor
public IConstructorHandler getConstructor()
- Specified by:
getConstructorin interfaceIConstructorInfo
-
hasRawConstructor
public boolean hasRawConstructor(IConstructorInfo rawCtor)
- Specified by:
hasRawConstructorin interfaceIConstructorInfo
-
isDefault
public boolean isDefault()
- Specified by:
isDefaultin interfaceIConstructorInfo
-
getDefaultValueExpressions
public IExpression[] getDefaultValueExpressions()
- Specified by:
getDefaultValueExpressionsin interfaceIOptionalParamCapable
-
getParameterNames
public String[] getParameterNames()
- Specified by:
getParameterNamesin interfaceIOptionalParamCapable
-
getBackingConstructorInfo
public IGosuConstructorInfo getBackingConstructorInfo()
- Specified by:
getBackingConstructorInfoin interfaceIGosuConstructorInfo
-
-