@Test public void method_parameter_toString() { TypeDescriptor type = DEFAULT.get(MyClass.class); MethodDescriptor method = type.getMethods().get(new MethodSignature("method", MyClass.class)); List<ParameterDescriptor> parameters = method.getParameters(); assertThat(parameters.get(0).toString()).isEqualTo("org.javersion.reflect.ParameterDescriptorTest$MyClass.method(*org.javersion.reflect.ParameterDescriptorTest$MyClass myClass*)"); }
@Override public String toString() { return methodDescriptor.toString(index); }
ParameterDescriptor extends MemberDescriptor { @Override public String toString() { return methodDescriptor.toString(index); } }
ParameterDescriptor extends MemberDescriptor { @Override public String toString() { return methodDescriptor.toString(index); } ParameterDescriptor(AbstractMethodDescriptor methodDescriptor, Parameter parameter, int index); }
ParameterDescriptor extends MemberDescriptor { @Override public String toString() { return methodDescriptor.toString(index); } ParameterDescriptor(AbstractMethodDescriptor methodDescriptor, Parameter parameter, int index); TypeDescriptor getType(); String getName(); int getIndex(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); }
ParameterDescriptor extends MemberDescriptor { @Override public String toString() { return methodDescriptor.toString(index); } ParameterDescriptor(AbstractMethodDescriptor methodDescriptor, Parameter parameter, int index); TypeDescriptor getType(); String getName(); int getIndex(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }