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 Details

    • _container

      private final IFeatureInfo _container
    • _name

      private final String _name
    • _description

      private final String _description
    • _type

      private final IType _type
    • _defValue

      private final IExpression _defValue
  • Constructor Details

  • Method Details

    • makeDisplayName

      private String makeDisplayName(String name)
    • getContainer

      public IFeatureInfo getContainer()
      Description copied from interface: IFeatureInfo
      Get this feature's containing feature. May be null.
      Specified by:
      getContainer in interface IFeatureInfo
    • getOwnersType

      public IType getOwnersType()
      Description copied from interface: IFeatureInfo
      Get 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:
      getOwnersType in interface IFeatureInfo
    • getName

      public String getName()
      Description copied from interface: IFeatureInfo
      Gets 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:
      getName in interface IFeatureInfo
    • getDisplayName

      public String getDisplayName()
      Description copied from interface: IFeatureInfo
      Gets the display name of this feature. There is no guarantee this display name is localized.
      Specified by:
      getDisplayName in interface IFeatureInfo
    • getDescription

      public String getDescription()
      Description copied from interface: IFeatureInfo
      A full description of this feature.
      Specified by:
      getDescription in interface IFeatureInfo
    • getFeatureType

      public IType getFeatureType()
      Description copied from interface: IIntrinsicTypeReference
      The type of this feature e.g., for a property this is the property's type.
      Specified by:
      getFeatureType in interface IIntrinsicTypeReference
    • getDefaultValue

      public IExpression getDefaultValue()