public class JavaMethodDescriptor extends java.lang.Object implements MethodDescriptor<ParameterInfoImpl,java.lang.String>
MethodDescriptor.ReadWriteOption
Constructor and Description |
---|
JavaMethodDescriptor(PsiMethod method) |
Modifier and Type | Method and Description |
---|---|
boolean |
canChangeName() |
boolean |
canChangeParameters() |
MethodDescriptor.ReadWriteOption |
canChangeReturnType() |
boolean |
canChangeVisibility() |
java.util.List<AccessModifier> |
getAllowedModifiers() |
PsiMethod |
getMethod() |
java.lang.String |
getName() |
java.util.List<ParameterInfoImpl> |
getParameters() |
int |
getParametersCount() |
java.lang.String |
getReturnTypeText() |
java.lang.String |
getVisibility() |
public JavaMethodDescriptor(PsiMethod method)
public java.lang.String getName()
getName
in interface MethodDescriptor<ParameterInfoImpl,java.lang.String>
public java.util.List<ParameterInfoImpl> getParameters()
getParameters
in interface MethodDescriptor<ParameterInfoImpl,java.lang.String>
public java.lang.String getVisibility()
getVisibility
in interface MethodDescriptor<ParameterInfoImpl,java.lang.String>
public PsiMethod getMethod()
getMethod
in interface MethodDescriptor<ParameterInfoImpl,java.lang.String>
public int getParametersCount()
getParametersCount
in interface MethodDescriptor<ParameterInfoImpl,java.lang.String>
public java.lang.String getReturnTypeText()
public boolean canChangeVisibility()
canChangeVisibility
in interface MethodDescriptor<ParameterInfoImpl,java.lang.String>
public boolean canChangeParameters()
canChangeParameters
in interface MethodDescriptor<ParameterInfoImpl,java.lang.String>
public MethodDescriptor.ReadWriteOption canChangeReturnType()
canChangeReturnType
in interface MethodDescriptor<ParameterInfoImpl,java.lang.String>
public boolean canChangeName()
canChangeName
in interface MethodDescriptor<ParameterInfoImpl,java.lang.String>
public java.util.List<AccessModifier> getAllowedModifiers()