Class IntroduceParameterObjectDescriptor.Parameter

java.lang.Object
org.eclipse.jdt.core.refactoring.descriptors.IntroduceParameterObjectDescriptor.Parameter
Enclosing class:
IntroduceParameterObjectDescriptor

public static class IntroduceParameterObjectDescriptor.Parameter extends Object
Instances of Parameter are used to describe the position of parameter and fields.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Parameter(int index)
    Creates a new parameter object.
  • Method Summary

    Modifier and Type
    Method
    Description
    The name of the field that will be created if isCreateField() is true
    int
    The index of the parameter in the original method signature.
    boolean
    If true the parameter will be removed from the method's signature and will be added to the parameter object.
    void
    setCreateField(boolean createField)
    Sets whether the parameter will be removed from the method's signature or will be added to the parameter object.
    void
    setFieldName(String fieldName)
    Sets the name of the field that will be created in the parameter object if isCreateField() is true.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait