Home
last modified time | relevance | path

Searched refs:characterLiteralWithoutSingleQuotes (Results 1 – 3 of 3) sorted by relevance

/external/javapoet/src/test/java/com/squareup/javapoet/
DUtilTest.java24 assertEquals("a", Util.characterLiteralWithoutSingleQuotes('a')); in characterLiteral()
25 assertEquals("b", Util.characterLiteralWithoutSingleQuotes('b')); in characterLiteral()
26 assertEquals("c", Util.characterLiteralWithoutSingleQuotes('c')); in characterLiteral()
27 assertEquals("%", Util.characterLiteralWithoutSingleQuotes('%')); in characterLiteral()
29 assertEquals("\\b", Util.characterLiteralWithoutSingleQuotes('\b')); in characterLiteral()
30 assertEquals("\\t", Util.characterLiteralWithoutSingleQuotes('\t')); in characterLiteral()
31 assertEquals("\\n", Util.characterLiteralWithoutSingleQuotes('\n')); in characterLiteral()
32 assertEquals("\\f", Util.characterLiteralWithoutSingleQuotes('\f')); in characterLiteral()
33 assertEquals("\\r", Util.characterLiteralWithoutSingleQuotes('\r')); in characterLiteral()
34 assertEquals("\"", Util.characterLiteralWithoutSingleQuotes('"')); in characterLiteral()
[all …]
/external/javapoet/src/main/java/com/squareup/javapoet/
DUtil.java89 static String characterLiteralWithoutSingleQuotes(char c) { in characterLiteralWithoutSingleQuotes() method in Util
122 result.append(characterLiteralWithoutSingleQuotes(c)); in stringLiteralWithDoubleQuotes()
DAnnotationSpec.java39 import static com.squareup.javapoet.Util.characterLiteralWithoutSingleQuotes;
234 return addMember(memberName, "'$L'", characterLiteralWithoutSingleQuotes((char) value)); in addMemberForValue()