Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-03-21 | Verify that null is not passed as vararg parameter (#551) | Ash Davies | |
2017-03-15 | Adds messaging to NPEs thrown in MethodSpec.methodBuilder() and ↵ | Barry Carroll | |
MethodSpec.addModifiers() (#550) I encountered the NPEs because of variations in the API response which I use to generate my code. I figured it would be better to add some messaging to the NPEs :) | |||
2017-01-21 | Fix division by zero in CodeBlock arg formatting (#542) | John Draper | |
2016-11-14 | Merge pull request #530 from cconroy/methodspec-named | Jesse Wilson | |
Add MethodSpec.Builder addNamedCode convenience method | |||
2016-11-10 | Add MethodSpec.Builder addNamedCode convenience method | Chris Conroy | |
2016-11-10 | Only send the relevant characters into the matcher | Chris Conroy | |
2016-11-09 | Rollback support for retaining parameter annotations. | jwilson | |
We recently merged this because it was demanded, but looking through our history we've had vocal users complaining about this exact kind of behavior. https://github.com/square/javapoet/pull/487/files | |||
2016-11-09 | Fix imports of nested types. | jwilson | |
This adds a test and rolls back the changes made in a136eaa777b7750e16b3c6e8bd6d0228442e3e1d. The tests contributed with that PR still pass. | |||
2016-11-09 | Implement line wrapping. | jwilson | |
Currently only method parameters are wrapped. Anything else can be wrapped by replacing a space with $W. https://github.com/square/javapoet/issues/105 | |||
2016-11-09 | Add support for named arguments to CodeBlock | Chris Conroy | |
Relative and positional arguments are fine for small statements, but larger code blocks benefit from having named arguments. https://github.com/square/javapoet/issues/518 | |||
2016-11-08 | Disallow nulls in TypeSpec#addSuperinterfaces | Ben Bader | |
2016-11-08 | Always write UTF-8. | jwilson | |
Sometimes the system default charset is not UTF-8 and this is sad. We always want UTF-8, and we want to encourage anyone doing tools to use UTF-8. Closes: https://github.com/square/javapoet/pull/474 | |||
2016-11-08 | Make MethodSpec.overriding include parameter annotations. | Derek Perez | |
2016-10-28 | Guard for null in TypeSpec.Builder#addSuperinterface(TypeName) | Ben Bader | |
2016-10-27 | Fix indentation directives in CodeBlock javadoc | Ron Shapiro | |
2016-09-26 | `addJavadoc(CodeBlock)` overloads for TypeSpec, MethodSpec, and FieldSpec | Ron Shapiro | |
2016-09-02 | Check kind state when adding super class. | Christian Stein | |
2016-08-06 | Change MethodSpec.overriding to not copy annotations. | Gregory Kick | |
Closes: https://github.com/square/javapoet/issues/482 | |||
2016-08-06 | Merge pull request #472 from buckbaskin/master | Jesse Wilson | |
Add convenience method builder.addComment | |||
2016-08-04 | ClassName.getReflectionName() added. #485 | Christian Stein | |
2016-07-24 | Remove DEFAULT modifier from overridden method. #480 | Christian Stein | |
2016-06-13 | Add convenience method builder.addComment | Buck Baskin | |
Adds a single line comment to the code. See issue #454 | |||
2016-06-07 | Removed the unnecessary comments | Chris Reynolds | |
2016-06-07 | Fixed the name clash when implementing/extending classes of the same name | Chris Reynolds | |
2016-05-29 | Allow fields in annotations | Ben Bader | |
2016-05-06 | allow TypeName subclasses in withBounds() input list | Roger Caplan | |
2016-04-23 | Avoid using raw types for SomeGeneric<T>.Inner | marcosb | |
Fixes #458 | |||
2016-03-24 | optimize TypeName#toString() with cache | FUJI Goro (gfx) | |
2016-03-24 | specialize CodeWriter#emit(String) for optimization | FUJI Goro (gfx) | |
2016-03-22 | TypeName.isBoxedPrimitive(). | jwilson | |
2016-03-21 | Fix string literal and backslashes. | Xudong Yang | |
2016-03-19 | Merge pull request #441 from sormuras/typevar_withbounds | Jesse Wilson | |
TypeVariableName.withBounds added | |||
2016-03-18 | Annotation methods to be public, abstract and nothing else | Skelehog | |
Other modifiers like static are not allowed for annotation methods. The exception message no longer suggests that annotation methods cannot have modifiers, which is misleading since public and abstract is in fact required. | |||
2016-03-17 | TypeVariableName.withBounds added. | Christian Stein | |
2016-03-13 | Ignore duplicate exceptions in MethodSpec.Builder | Ron Shapiro | |
2016-03-13 | Merge pull request #430 from ronshapiro/typename_get_errortype | Jesse Wilson | |
Treat ErrorType like a regular DeclaredType in TypeName.get() | |||
2016-02-23 | Treat ErrorType like a regular DeclaredType in TypeName.get() | Ron Shapiro | |
2016-02-10 | Revive CodeBlock.of() | Ron Shapiro | |
2016-02-10 | Add TypeSpec factories for when a ClassName already exists. | Jake Wharton | |
2016-02-09 | Fix a bug where annotations broke import resolution. | jwilson | |
Closes: https://github.com/square/javapoet/issues/422 | |||
2016-02-07 | Append annotations from multiple calls to TypeName#annotated | Ron Shapiro | |
2016-02-06 | Allow TypeNames to be annotated twice | Ron Shapiro | |
2016-01-22 | make TypeSpec.Kind enum public | Roger Caplan | |
2016-01-19 | Added support for initializer blocks; Bugfix in TypeSpec.toBuilder() for ↵ | Hannes Dorfmann | |
static initializer block | |||
2016-01-17 | Literal conversion clean up. | Christian Stein | |
Character and String literal conversion refactored. Made AnnotationSpec.Builder.addMemberForValue package private. Refactored and fixed bug in AnnotationSpec.get(AnnotationMirror). Removed redundant public modifiers from package private Util methods. | |||
2016-01-11 | TypeName.equals() and .hashCode() now respect attached annotations. | Christian Stein | |
Made TypeName.equals() and TypeName.hashCode() final and respect attached annotations by using toString() representation. Removed all overridings in derived classes. | |||
2016-01-10 | Static import corner case tests and README/CHANGELOG updates. | Christian Stein | |
2016-01-09 | Static import support added. | Christian Stein | |
2016-01-08 | Escape special char values. | Christian Stein | |
2016-01-08 | Added char/Character to AnnotationSpec.Builder.addValue logic | Christian Stein | |