Lines Matching refs:simpleVariableName
20 import static dagger.internal.codegen.binding.SourceFiles.simpleVariableName;
45 assertThat(simpleVariableName(typeElementFor(Long.class))).isEqualTo("l"); in testSimpleVariableName_typeCollisions()
46 assertThat(simpleVariableName(typeElementFor(Double.class))).isEqualTo("d"); in testSimpleVariableName_typeCollisions()
48 assertThat(simpleVariableName(typeElementFor(Int.class))).isEqualTo("i"); in testSimpleVariableName_typeCollisions()
50 assertThat(simpleVariableName(typeElementFor(Void.class))).isEqualTo("v"); in testSimpleVariableName_typeCollisions()
52 assertThat(simpleVariableName(typeElementFor(Class.class))).isEqualTo("clazz"); in testSimpleVariableName_typeCollisions()
53 assertThat(simpleVariableName(typeElementFor(Package.class))).isEqualTo("pkg"); in testSimpleVariableName_typeCollisions()
62 assertThat(simpleVariableName(typeElementFor(For.class))).isEqualTo("for_"); in testSimpleVariableName_randomKeywords()
63 assertThat(simpleVariableName(typeElementFor(Goto.class))).isEqualTo("goto_"); in testSimpleVariableName_randomKeywords()
68 assertThat(simpleVariableName(typeElementFor(Object.class))).isEqualTo("object"); in testSimpleVariableName()
69 assertThat(simpleVariableName(typeElementFor(List.class))).isEqualTo("list"); in testSimpleVariableName()