Package gw.lang.reflect
Class ParameterInfoBuilder.BuiltParameterInfo
- java.lang.Object
-
- gw.lang.reflect.ParameterInfoBuilder.BuiltParameterInfo
-
- All Implemented Interfaces:
IFeatureInfo,IIntrinsicTypeReference,IParameterInfo
- Enclosing class:
- ParameterInfoBuilder
public static class ParameterInfoBuilder.BuiltParameterInfo extends Object implements IParameterInfo
-
-
Field Summary
-
Fields inherited from interface gw.lang.reflect.IParameterInfo
EMPTY_ARRAY
-
-
Constructor Summary
Constructors Constructor Description BuiltParameterInfo(ParameterInfoBuilder builder, IFeatureInfo container)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IFeatureInfogetContainer()Get this feature's containing feature.IExpressiongetDefaultValue()StringgetDescription()A full description of this feature.StringgetDisplayName()Gets the display name of this feature.ITypegetFeatureType()The type of this feature e.g., for a property this is the property's type.StringgetName()Gets the programmatic name or identifier of this feature.ITypegetOwnersType()Get this feature's owner's type.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface gw.lang.reflect.IFeatureInfo
getLocationInfo
-
Methods inherited from interface gw.lang.reflect.IIntrinsicTypeReference
getAssignableFeatureType
-
-
-
-
Constructor Detail
-
BuiltParameterInfo
public BuiltParameterInfo(ParameterInfoBuilder builder, IFeatureInfo container)
-
-
Method Detail
-
getContainer
public IFeatureInfo getContainer()
Description copied from interface:IFeatureInfoGet this feature's containing feature. May be null.- Specified by:
getContainerin interfaceIFeatureInfo
-
getOwnersType
public IType getOwnersType()
Description copied from interface:IFeatureInfoGet this feature's owner's type. If this feature has no owner, this is the type of the feature itself. Typically, the only kind of feature w/o an owner is an ITypeInfo, so properties, methods, params, etc. s/b considered owned. Hence, ultimately an ITypeInfo's type will be the owner's type for any given feature.- Specified by:
getOwnersTypein interfaceIFeatureInfo
-
getName
public 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
-
getDisplayName
public String getDisplayName()
Description copied from interface:IFeatureInfoGets the display name of this feature. There is no guarantee this display name is localized.- Specified by:
getDisplayNamein interfaceIFeatureInfo
-
getDescription
public String getDescription()
Description copied from interface:IFeatureInfoA full description of this feature.- Specified by:
getDescriptionin interfaceIFeatureInfo
-
getFeatureType
public IType getFeatureType()
Description copied from interface:IIntrinsicTypeReferenceThe type of this feature e.g., for a property this is the property's type.- Specified by:
getFeatureTypein interfaceIIntrinsicTypeReference
-
getDefaultValue
public IExpression getDefaultValue()
-
-