Project health: remove unused setter in GeneratedExecutableElement.
Change on 2019/06/20 by antoniocortes
@@ -46,7 +46,7 @@ import javax.lang.model.type.TypeVisitor;
*/
public class GeneratedExecutableElement extends GeneratedElement implements ExecutableElement {
- private String selector;
+ private final String selector;
private final List<VariableElement> parameters = Lists.newArrayList();
private final List<TypeMirror> thrownTypes = Lists.newArrayList();
private final List<TypeParameterElement> typeParameters = Lists.newArrayList();
@@ -118,10 +118,6 @@ public class GeneratedExecutableElement extends GeneratedElement implements Exec
return selector;
}
- public void setSelector(String selector) {
- this.selector = selector;
- }
-
public GeneratedExecutableElement addParameter(VariableElement param) {
parameters.add(param);
return this;
