@Test public void testGetterNameNotBoolean() { SymbolResolver resolver = new ComposedSymbolResolver(Collections.emptyList()); assertEquals("getFoo", ParamUtils.getterName(new FormalParameterSymbol(new ReferenceTypeUsage(ReflectionTypeDefinitionFactory.getInstance().getTypeDefinition(Boolean.class, resolver)), "foo"), DUMMY_RESOLVER)); assertEquals("getFoo", ParamUtils.getterName(new FormalParameterSymbol(ReferenceTypeUsage.STRING(resolver), "foo"), DUMMY_RESOLVER)); assertEquals("getA", ParamUtils.getterName(new FormalParameterSymbol(ReferenceTypeUsage.STRING(resolver), "a"), DUMMY_RESOLVER)); }
public static String getterName(FormalParameter formalParameter, SymbolResolver resolver) { return Property.getterName(formalParameter.getType(), formalParameter.getName(), resolver); }
ParamUtils { public static String getterName(FormalParameter formalParameter, SymbolResolver resolver) { return Property.getterName(formalParameter.getType(), formalParameter.getName(), resolver); } }
ParamUtils { public static String getterName(FormalParameter formalParameter, SymbolResolver resolver) { return Property.getterName(formalParameter.getType(), formalParameter.getName(), resolver); } private  ParamUtils(); }
ParamUtils { public static String getterName(FormalParameter formalParameter, SymbolResolver resolver) { return Property.getterName(formalParameter.getType(), formalParameter.getName(), resolver); } private  ParamUtils(); static boolean verifyOrder(List<ActualParam> actualParams); static List<ActualParam> unnamedParams(List<ActualParam> actualParams); static List<ActualParam> namedParams(List<ActualParam> actualParams); static boolean hasDefaultParams(List<? extends FormalParameter> formalParameters); static Either<String, List<ActualParam>> desugarizeAsteriskParam(List<? extends FormalParameter> formalParameters, Expression value, SymbolResolver resolver, Node parent); static String getterName(FormalParameter formalParameter, SymbolResolver resolver); }
ParamUtils { public static String getterName(FormalParameter formalParameter, SymbolResolver resolver) { return Property.getterName(formalParameter.getType(), formalParameter.getName(), resolver); } private  ParamUtils(); static boolean verifyOrder(List<ActualParam> actualParams); static List<ActualParam> unnamedParams(List<ActualParam> actualParams); static List<ActualParam> namedParams(List<ActualParam> actualParams); static boolean hasDefaultParams(List<? extends FormalParameter> formalParameters); static Either<String, List<ActualParam>> desugarizeAsteriskParam(List<? extends FormalParameter> formalParameters, Expression value, SymbolResolver resolver, Node parent); static String getterName(FormalParameter formalParameter, SymbolResolver resolver);  }