aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/com/squareup/javapoet/TypeSpecTest.java
AgeCommit message (Expand)Author
2020-01-06Add alwaysQualify() API to avoid collisions with known colliding types (#734)Zac Sweers
2020-01-01Copy originating elements in toBuilder() as well (#750)Zac Sweers
2020-01-01Ensure trailing newlines in javadocs and method bodies (#732)Zac Sweers
2020-01-01Mutable builder list fields (#650)Zac Sweers
2018-08-21Qualify types masked by type variables (#657)Ron Shapiro
2018-03-12Fail fast with null AnnotationSpec on type.Eric Cochran
2018-03-03Update the codebase now that we require Java 8 (#617)Thomas Broyer
2018-01-26Adds `$B` as an optional newline if a line will exceed 100 chars (#598)Ron Shapiro
2018-01-21Updated various versions of 3rd-party libraries and tools (#602)Christian Stein
2017-08-13Include annotations when emitting type variables. (#574)Jake Wharton
2017-06-23addStatement(CodeBlock) overloads for CodeBlock and MethodSpec (#567)Ron Shapiro
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
2016-11-09Fix imports of nested types.jwilson
2016-11-09Implement line wrapping.jwilson
2016-11-08Disallow nulls in TypeSpec#addSuperinterfacesBen Bader
2016-10-28Guard for null in TypeSpec.Builder#addSuperinterface(TypeName)Ben Bader
2016-09-26`addJavadoc(CodeBlock)` overloads for TypeSpec, MethodSpec, and FieldSpecRon Shapiro
2016-09-02Check kind state when adding super class. Christian Stein
2016-06-07Fixed the name clash when implementing/extending classes of the same nameChris Reynolds
2016-05-29Allow fields in annotationsBen Bader
2016-03-17TypeVariableName.withBounds added.Christian Stein
2016-02-10Revive CodeBlock.of()Ron Shapiro
2016-02-10Add TypeSpec factories for when a ClassName already exists.Jake Wharton
2016-02-09Fix a bug where annotations broke import resolution.jwilson
2016-01-19Added support for initializer blocks; Bugfix in TypeSpec.toBuilder() for stat...Hannes Dorfmann
2015-12-09Too many indexed arguments does fail now.Christian Stein
2015-10-16equals() and hashCode() implemented.Christian Stein
2015-10-07Added test for static methods in an interface.Christian Stein
2015-08-05Removed unused import statements.Christian Stein
2015-08-03Squashed commit of the following:Jamie
2015-07-22Shorten parameter validation.jwilson
2015-07-20Create better messages for auto-indexingKenzie Togami
2015-06-22Added the ability to use indexes in format argumentsAdam Paloski
2015-06-11Javadoc on enum constants.jwilson
2015-06-02Added support of static code block in the TypeSpecDaniel Serdyukov
2015-03-30Fix import error.Jesse Beder
2015-03-17Add support for default methods on interfacesKenzie Togami
2015-02-26Merge pull request #236 from ben-manes/superclassJesse Wilson
2015-02-26Add precondition check when specifying the superclassBen Manes
2015-02-25Add test for simple if/else statement.Jake Wharton
2015-02-25Creates annotation type from TypeSpec.GerardPaligot
2015-02-22Eager validation of argument types.jwilson
2015-02-11Fix nextControlFlow not accepting argumentsdhleong
2015-02-10Change CodeBlock.nextControlFlow so that it includes a space before the {, co...Éamonn McManus
2015-02-03Add Collection utilities on *Spec builders.Florent Biville
2015-02-02Add @RunWith boilerplate to tests - lets alternative test runners in other bu...Christian Edward Gruber
2015-01-31Don't allow double field initialization.Ben Manes
2015-01-28Don't use java.lang.reflect.Type internally.Jesse Wilson