Lines Matching refs:Fix
7 * Fix: JavaPoet 1.11 had a regression where `TypeName.get()` would throw on error types, masking
28 * Fix: Include annotations when emitting type variables.
29 * Fix: Use the right imports for annotated type parameters.
30 * Fix: Don't incorrectly escape classnames that start with `$`.
36 * Fix: Don't emit incorrect code when the declared type's signature references another type with
38 * Fix: Support anonymous inner classes in `ClassName.get()`.
68 * Fix: Always write UTF-8. Previously JavaPoet would use the system default charset which was
70 * Fix: Permit (constant) fields to be defined in annotation types.
83 * Fix: Double quotes and backslashes in string literals were not properly quoted in 1.6.0. This is
95 * Fix: Make `TypeSpec.Kind` enum public. This can be used to check if a `TypeSpec` is a class,
97 * Fix: Don’t break import resolution on annotated types.
98 * Fix: Forbid unexpected modifiers like `private` on annotation members.
99 * Fix: Deduplicate exceptions in `MethodSpec.Builder`.
100 * Fix: Treat `ErrorType` like a regular `DeclaredType` in `TypeName.get()`. This should make it
107 * Fix: Annotated `TypeName` instances are only equal if their annotations are equal.
114 * Fix: AnnotationSpec escapes character literals properly.
115 * Fix: Don't stack overflow when `TypeVariableName` is part of `ParameterizedTypeName`.
116 * Fix: Reporting not used indexed arguments in like `add("$1S", "a", "b")`.
117 * Fix: Prevent import of types located in the default package, i.e. have no package name.
129 * Fix: Don't stack overflow when `TypeVariableName` gets a self-referential type.
130 * Fix: Better handling of name collisions on imports. Previously JavaPoet did the wrong thing when
139 * Fix: Avoid infinite recursion in `TypeName.get(TypeMirror)`.
140 * Fix: Use qualified name for conflicting simple names in the same file.
141 * Fix: Better messages for parameter indexing errors.
151 * Fix: `MethodSpec.overriding()` retains annotations.
166 * Fix: `nextControlFlow()` accepts arguments.
167 * Fix: Reject duplicate calls to set the superclass.
168 * Fix: `WildcardTypeName.get(WildcardType)` no longer throws a `NullPointerException`.
169 * Fix: Don't allow double field initialization.
186 * Fix: Use canonical name when emitting a class import.
187 * Fix: Apply type compression to varargs and array types.
188 * Fix: Restore binary compatibility with pre-2.5 versions.
196 * Fix: Truncate any generic type when emitting constructors.
197 * Fix: Do not emit trailing whitespace after '=' at end-of-line.
210 * Fix: Properly handle subpackages of `java.lang` in `compressType`.
226 * Fix: Do not emit trailing whitespace for empty Javadoc lines.
244 * Fix: `stringLiteral` now correctly handles escapes and control characters.
271 * Fix: Fully qualify types whose simple name matches an import.
277 * Fix: Static import emit now properly supports method imports.