aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/squareup/javapoet
AgeCommit message (Expand)Author
2018-05-16Fix TypeName.get() on top-level error types (#646)Ron Shapiro
2018-04-28Avoid TypeElement.getKind() in ClassName.get().Jesse Wilson
2018-04-28Tighten up the code that handles emitting type annotations.Jesse Wilson
2018-04-23Remove unused listJake Wharton
2018-03-12Fail fast with null AnnotationSpec on type.Eric Cochran
2018-03-10Add tests for Java 8 TYPE_USE annotations on arrays (#614). (#618)Roberto Lublinerman
2018-03-04Use contextual type parameters for throws types. (#625)Eric Cochran
2018-03-04Disable overriding methods in final classes. (#626)Eric Cochran
2018-03-03Update the codebase now that we require Java 8 (#617)Thomas Broyer
2018-02-23Require valid annotation member names. (#620)Eric Cochran
2018-01-28Fix checkState message in CodeWriter (#609)Ron Shapiro
2018-01-28Fix "Do not submit" from https://github.com/square/javapoet/pull/598 😬😬...Ron Shapiro
2018-01-26Use $Z in method parameter lists. (#605)Jesse Wilson
2018-01-26Fix search of annotated type parameters in importszhurs
2018-01-26Add isEmpty to CodeBlock.Builder. (#596)Jake Wharton
2018-01-26Implement CodeBlock.join() and CodeBlock.joining() (#599)Ron Shapiro
2018-01-26Adds `$B` as an optional newline if a line will exceed 100 chars (#598)Ron Shapiro
2017-08-13Include annotations when emitting type variables. (#574)Jake Wharton
2017-07-01Switch from StringWriter to StringBuilder. (#568)Jake Wharton
2017-06-23addStatement(CodeBlock) overloads for CodeBlock and MethodSpec (#567)Ron Shapiro
2017-05-23Fix ClassName regression for class names starting with a $ (#562)Phil Glass
2017-05-13Support anonymous inner classes in ClassName#get (#526)Kay Roepke
2017-05-13Fix conflicts with types with same name as type being declared (#559)Thomas Broyer
2017-05-12Add convenience anonymousClassBuilder(CodeBlock) (#560)Zac Sweers
2017-03-21Verify that null is not passed as vararg parameter (#551)Ash Davies
2017-03-15Adds messaging to NPEs thrown in MethodSpec.methodBuilder() and MethodSpec.ad...Barry Carroll
2017-01-21Fix division by zero in CodeBlock arg formatting (#542)John Draper
2016-11-14Merge pull request #530 from cconroy/methodspec-namedJesse Wilson
2016-11-10Add MethodSpec.Builder addNamedCode convenience methodChris Conroy
2016-11-10Only send the relevant characters into the matcherChris Conroy
2016-11-09Rollback support for retaining parameter annotations.jwilson
2016-11-09Fix imports of nested types.jwilson
2016-11-09Implement line wrapping.jwilson
2016-11-09Add support for named arguments to CodeBlockChris Conroy
2016-11-08Disallow nulls in TypeSpec#addSuperinterfacesBen Bader
2016-11-08Always write UTF-8.jwilson
2016-11-08Make MethodSpec.overriding include parameter annotations.Derek Perez
2016-10-28Guard for null in TypeSpec.Builder#addSuperinterface(TypeName)Ben Bader
2016-10-27Fix indentation directives in CodeBlock javadocRon Shapiro
2016-09-26`addJavadoc(CodeBlock)` overloads for TypeSpec, MethodSpec, and FieldSpecRon Shapiro
2016-09-02Check kind state when adding super class. Christian Stein
2016-08-06Change MethodSpec.overriding to not copy annotations.Gregory Kick
2016-08-06Merge pull request #472 from buckbaskin/masterJesse Wilson
2016-08-04ClassName.getReflectionName() added. #485Christian Stein
2016-07-24Remove DEFAULT modifier from overridden method. #480Christian Stein
2016-06-13Add convenience method builder.addCommentBuck Baskin
2016-06-07Removed the unnecessary commentsChris Reynolds
2016-06-07Fixed the name clash when implementing/extending classes of the same nameChris Reynolds
2016-05-29Allow fields in annotationsBen Bader
2016-05-06allow TypeName subclasses in withBounds() input listRoger Caplan