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
-
Nested Class Summary
Nested ClassesNested 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
FieldsFields inherited from class gw.internal.gosu.parser.GosuBaseAttributedFeatureInfo
_declaredAnnotations
Fields inherited from interface gw.lang.reflect.IAnnotatedFeatureInfo
ANNOTATION_HELPER
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]
getType()
boolean
hasRawConstructor
(IConstructorInfo rawCtor) boolean
Methods inherited from class gw.internal.gosu.parser.AbstractGenericMethodInfo
ensureInferredTypeAssignableToBoundingType, getArgs, getDescription, getDfs, getDisplayName, getExceptions, getGosuAnnotations, getGosuClass, 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
-
Field Details
-
_type
-
_ctorHandler
-
-
Constructor Details
-
GosuConstructorInfo
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceIConstructorInfo
-
getConstructor
- Specified by:
getConstructor
in interfaceIConstructorInfo
-
hasRawConstructor
- Specified by:
hasRawConstructor
in interfaceIConstructorInfo
-
isDefault
public boolean isDefault()- Specified by:
isDefault
in interfaceIConstructorInfo
-
getDefaultValueExpressions
- Specified by:
getDefaultValueExpressions
in interfaceIOptionalParamCapable
- Returns:
- An array of objects representing the default values for a function's parameters. Returns an empty array if there are no default values, otherwise returns an array corresponding with default parameter values. If a parameter does not have a default value, it's default value is null in the array.
-
getParameterNames
- Specified by:
getParameterNames
in interfaceIOptionalParamCapable
-
getBackingConstructorInfo
- Specified by:
getBackingConstructorInfo
in interfaceIGosuConstructorInfo
-