public static class ChangeParametersRequest.ExistingParameterWrapper extends java.lang.Object implements ExpectedParameter
JvmElementActionsFactory
implementations.
From the API calling side use MethodRequestsKt#updateMethodParametersRequest(Supplier, Function)
Constructor and Description |
---|
ExistingParameterWrapper(JvmParameter existingParameter) |
Modifier and Type | Method and Description |
---|---|
JvmParameter |
getExistingParameter() |
java.util.List<ExpectedType> |
getExpectedTypes() |
java.util.Collection<java.lang.String> |
getSemanticNames()
For example for unresolved call in Java
a.foo(bars) this method will return 'bars' string,
which then will be used to suggest parameter names
taking code style parameter prefix into consideration as well as its type. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getExpectedAnnotations
public ExistingParameterWrapper(JvmParameter existingParameter)
public java.util.List<ExpectedType> getExpectedTypes()
getExpectedTypes
in interface ExpectedParameter
public java.util.Collection<java.lang.String> getSemanticNames()
ExpectedParameter
a.foo(bars)
this method will return 'bars' string,
which then will be used to suggest parameter names
taking code style parameter prefix into consideration as well as its type.getSemanticNames
in interface ExpectedParameter
public JvmParameter getExistingParameter()