Package com.google.auto.value.processor
Class TypeEncoder.TypeRewriter
java.lang.Object
com.google.auto.value.processor.TypeEncoder.TypeRewriter
- Enclosing class:
TypeEncoder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final TypeMirror
private final Elements
private final String
private final JavaScanner
private final String
private final int
private final Types
-
Constructor Summary
ConstructorsConstructorDescriptionTypeRewriter
(String text, Elements elementUtils, Types typeUtils, String pkg, TypeMirror baseType) -
Method Summary
Modifier and TypeMethodDescriptionprivate DeclaredType
classForName
(String className) private String
classNameAt
(int token) private void
decode
(StringBuilder output, TypeSimplifier typeSimplifier, int token) private OptionalInt
private Set
<TypeMirror> (package private) String
rewrite()
-
Field Details
-
text
-
textLength
private final int textLength -
scanner
-
elementUtils
-
typeUtils
-
packageName
-
baseType
-
-
Constructor Details
-
TypeRewriter
TypeRewriter(String text, Elements elementUtils, Types typeUtils, String pkg, TypeMirror baseType)
-
-
Method Details
-
rewrite
String rewrite() -
findReferencedClasses
-
classForName
-
decode
-
findImportMarker
-
classNameAt
-