Lines Matching refs:Fix
8 * Fix: Don't copy parameter annotations when creating a `ParameterSpec`.
14 * Fix: Ignore parameter annotations in `MethodSpec.overriding()`.
32 * Fix: Use `\\R` instead of `\n` as line separator in `CodeWriter.emitAndIndent()`.
33 * Fix: Copy originating elements in `TypeSpec.toBuilder()`.
34 * Fix: Ensure trailing newlines in Javadocs and method bodies.
35 * Fix: Copy annotations when creating a `ParameterSpec` from a `VariableElement`.
36 * Fix: Properly handle classes located in empty packages in `ClassName`.
37 * Fix: Only allow `final` modifier on a `ParameterSpec`.
38 * Fix: Use fully-qualified names for type names that are masked by type variable names.
44 * Fix: JavaPoet 1.11 had a regression where `TypeName.get()` would throw on error types, masking
65 * Fix: Include annotations when emitting type variables.
66 * Fix: Use the right imports for annotated type parameters.
67 * Fix: Don't incorrectly escape classnames that start with `$`.
73 * Fix: Don't emit incorrect code when the declared type's signature references another type with
75 * Fix: Support anonymous inner classes in `ClassName.get()`.
105 * Fix: Always write UTF-8. Previously JavaPoet would use the system default charset which was
107 * Fix: Permit (constant) fields to be defined in annotation types.
120 * Fix: Double quotes and backslashes in string literals were not properly quoted in 1.6.0. This is
132 * Fix: Make `TypeSpec.Kind` enum public. This can be used to check if a `TypeSpec` is a class,
134 * Fix: Don’t break import resolution on annotated types.
135 * Fix: Forbid unexpected modifiers like `private` on annotation members.
136 * Fix: Deduplicate exceptions in `MethodSpec.Builder`.
137 * Fix: Treat `ErrorType` like a regular `DeclaredType` in `TypeName.get()`. This should make it
144 * Fix: Annotated `TypeName` instances are only equal if their annotations are equal.
151 * Fix: AnnotationSpec escapes character literals properly.
152 * Fix: Don't stack overflow when `TypeVariableName` is part of `ParameterizedTypeName`.
153 * Fix: Reporting not used indexed arguments in like `add("$1S", "a", "b")`.
154 * Fix: Prevent import of types located in the default package, i.e. have no package name.
166 * Fix: Don't stack overflow when `TypeVariableName` gets a self-referential type.
167 * Fix: Better handling of name collisions on imports. Previously JavaPoet did the wrong thing when
176 * Fix: Avoid infinite recursion in `TypeName.get(TypeMirror)`.
177 * Fix: Use qualified name for conflicting simple names in the same file.
178 * Fix: Better messages for parameter indexing errors.
188 * Fix: `MethodSpec.overriding()` retains annotations.
203 * Fix: `nextControlFlow()` accepts arguments.
204 * Fix: Reject duplicate calls to set the superclass.
205 * Fix: `WildcardTypeName.get(WildcardType)` no longer throws a `NullPointerException`.
206 * Fix: Don't allow double field initialization.
223 * Fix: Use canonical name when emitting a class import.
224 * Fix: Apply type compression to varargs and array types.
225 * Fix: Restore binary compatibility with pre-2.5 versions.
233 * Fix: Truncate any generic type when emitting constructors.
234 * Fix: Do not emit trailing whitespace after '=' at end-of-line.
247 * Fix: Properly handle subpackages of `java.lang` in `compressType`.
263 * Fix: Do not emit trailing whitespace for empty Javadoc lines.
281 * Fix: `stringLiteral` now correctly handles escapes and control characters.
308 * Fix: Fully qualify types whose simple name matches an import.
314 * Fix: Static import emit now properly supports method imports.