Searched refs:typeElementFor (Results 1 – 1 of 1) sorted by relevance
35 private TypeElement typeElementFor(Class<?> clazz) { in typeElementFor() method in SourceFilesTest44 assertThat(simpleVariableName(typeElementFor(Long.class))).isEqualTo("l"); in testSimpleVariableName_typeCollisions()45 assertThat(simpleVariableName(typeElementFor(Double.class))).isEqualTo("d"); in testSimpleVariableName_typeCollisions()47 assertThat(simpleVariableName(typeElementFor(Int.class))).isEqualTo("i"); in testSimpleVariableName_typeCollisions()49 assertThat(simpleVariableName(typeElementFor(Void.class))).isEqualTo("v"); in testSimpleVariableName_typeCollisions()51 assertThat(simpleVariableName(typeElementFor(Class.class))).isEqualTo("clazz"); in testSimpleVariableName_typeCollisions()52 assertThat(simpleVariableName(typeElementFor(Package.class))).isEqualTo("pkg"); in testSimpleVariableName_typeCollisions()61 assertThat(simpleVariableName(typeElementFor(For.class))).isEqualTo("for_"); in testSimpleVariableName_randomKeywords()62 assertThat(simpleVariableName(typeElementFor(Goto.class))).isEqualTo("goto_"); in testSimpleVariableName_randomKeywords()67 assertThat(simpleVariableName(typeElementFor(Object.class))).isEqualTo("object"); in testSimpleVariableName()[all …]