Package gw.internal.gosu.dynamic
Class DynamicConstructorInfo
- java.lang.Object
-
- gw.lang.reflect.BaseFeatureInfo
-
- gw.internal.gosu.dynamic.DynamicConstructorInfo
-
- All Implemented Interfaces:
IAnnotatedFeatureInfo,IAttributedFeatureInfo,IConstructorInfo,IFeatureInfo,IHasParameterInfos
public class DynamicConstructorInfo extends BaseFeatureInfo implements IConstructorInfo
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private classDynamicConstructorInfo.ConstructorHandler-
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 Modifier and Type Field Description private IParameterInfo[]_paramInfos-
Fields inherited from interface gw.lang.reflect.IAnnotatedFeatureInfo
ANNOTATION_HELPER
-
-
Constructor Summary
Constructors Constructor Description DynamicConstructorInfo(ITypeInfo dynamicTypeInfo, IType... paramTypes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IConstructorHandlergetConstructor()java.util.List<IAnnotationInfo>getDeclaredAnnotations()java.util.List<IExceptionInfo>getExceptions()java.lang.StringgetName()Gets the programmatic name or identifier of this feature.IParameterInfo[]getParameters()ITypegetType()booleanisDefault()booleanisStatic()True if this feature is static, meaning the feature is not specific to a particular instance of the feature's containing type.private voidmakeParameters(IType[] paramTypes)-
Methods inherited from class gw.lang.reflect.BaseFeatureInfo
getAnnotation, getAnnotations, getAnnotationsOfType, getContainer, getDeprecatedReason, getDescription, getDisplayName, getOwnersType, getParamTypes, getSuperAnnotatedElements, hasAnnotation, hasDeclaredAnnotation, isAbstract, isDefaultImpl, isDeprecated, isFinal, isHidden, isInternal, isInternalAPI, isPrivate, isProtected, isPublic, isReified, isScriptable, isVisible, 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
isAbstract, isFinal, isHidden, isInternal, isPrivate, isProtected, isPublic, isReified, isScriptable, isVisible
-
Methods inherited from interface gw.lang.reflect.IConstructorInfo
hasRawConstructor
-
Methods inherited from interface gw.lang.reflect.IFeatureInfo
getContainer, getDescription, getDisplayName, getLocationInfo, getOwnersType
-
-
-
-
Field Detail
-
_paramInfos
private IParameterInfo[] _paramInfos
-
-
Method Detail
-
makeParameters
private void makeParameters(IType[] paramTypes)
-
isStatic
public boolean isStatic()
Description copied from interface:IAttributedFeatureInfoTrue if this feature is static, meaning the feature is not specific to a particular instance of the feature's containing type.- Specified by:
isStaticin interfaceIAttributedFeatureInfo
-
getDeclaredAnnotations
public java.util.List<IAnnotationInfo> getDeclaredAnnotations()
- Specified by:
getDeclaredAnnotationsin interfaceIAnnotatedFeatureInfo- 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.
-
getName
public java.lang.String getName()
Description copied from interface:IFeatureInfoGets the programmatic name or identifier of this feature. Note this name should follow Java identifier naming conventions (alpha-num and underscores, but can't start with a digit).- Specified by:
getNamein interfaceIFeatureInfo
-
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
-
getExceptions
public java.util.List<IExceptionInfo> getExceptions()
- Specified by:
getExceptionsin interfaceIConstructorInfo
-
isDefault
public boolean isDefault()
- Specified by:
isDefaultin interfaceIConstructorInfo
-
-