Searched refs:characterLiteralWithoutSingleQuotes (Results 1 – 3 of 3) sorted by relevance
/external/javapoet/src/test/java/com/squareup/javapoet/ |
D | UtilTest.java | 24 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/ |
D | Util.java | 89 static String characterLiteralWithoutSingleQuotes(char c) { in characterLiteralWithoutSingleQuotes() method in Util 122 result.append(characterLiteralWithoutSingleQuotes(c)); in stringLiteralWithDoubleQuotes()
|
D | AnnotationSpec.java | 39 import static com.squareup.javapoet.Util.characterLiteralWithoutSingleQuotes; 234 return addMember(memberName, "'$L'", characterLiteralWithoutSingleQuotes((char) value)); in addMemberForValue()
|