Bot releases are visible (Hide)
Changes in this release:
Published by realityforge 5 months ago
Changes in this release:
CompileTestUtil.assertCompilesWithoutWarnings()
so that they generate more useful failure messages by asserting on errors, then warnings, and then success.Published by realityforge 5 months ago
Changes in this release:
0.61
where interface methods were collected at incorrectly in some circumstances.Published by realityforge 5 months ago
Changes in this release:
CompileTestUtil.assertCompilesWithoutWarnings()
so that they generate more useful failure messages by asserting on wwarnings, then errors and then success.0.60
where interface methods were not collected at all unless they were collected at the end.Published by realityforge 5 months ago
Changes in this release:
collectInterfaceMethodsAtEnd
to ElementsUtil.getMethods(...)
so that interface methods can be collected at the end of collecting methods for classes. This is useful in systems that allow users to provide additional extension methods via interfaces.Published by realityforge over 2 years ago
Changes in this release:
Predicate<TypeElement> isValidPredicate
to AbstractStandardProcessor.processTypeElements(...)
so can override the mechanisms for determining whether an element is "valid enough" to perform annotation processing on.Published by realityforge over 2 years ago
Changes in this release:
AbstractProcessorTest.outputFilesIfEnabled(Compilation, Filter)
method.Published by realityforge over 2 years ago
Changes in this release:
javax.annotation.Generated
prior to Java 9 as we no longer support Java prior to Java 9.Published by realityforge over 2 years ago
Changes in this release:
SynthesizingProcessor
supports source in version 17
.CompileTestUtil
and Compilation
classes in the qa
module to reimplement functionality present in the com.google.testing.compile:compile-testing
artifact. Rewrite AbstractProcessorTest
to use CompileTestUtil
functionality rather than the equivalent code in the com.google.testing.compile:compile-testing
artifact. Remove the com.google.testing.compile:compile-testing
artifact and related dependencies. This resulted in simpler code and made it easier to evolve the project to support the latest version of Java.Published by realityforge over 2 years ago
Changes in this release:
ElementsUtil.isSynthetic(Element)
and ElementsUtil.isNotSynthetic(Element)
as it used java internals that are not available in later versions of java. Later versions of java should use elements.getOrigin( element ).isDeclared()
for equivalent functionality.17
.Published by realityforge almost 3 years ago
Changes in this release:
debugAnnotationProcessingRootElements()
to be less prone to confusion.processTypeElements(...)
and performAction(...)
methods to accept a label to use when emitting debug messages.Published by realityforge almost 3 years ago
Changes in this release:
au.com.stocksoftware.idea.codestyle
artifact to version 1.17
.com.squareup
artifact to version 1.13.0
.AbstractStandardProcessor.debugAnnotationProcessingRootElements(...)
helper method that downstream annotation processors can call to improve debuggability.AbstractStandardProcessor.getNewTypeElementsToProcess(...)
so that it only returns types for that have been passed to the annotation processor for processing. This avoids the annotation processor from re-generating classes or descriptors for dependencies and eliminates failures during concurrent, incremental compiles. This does necessitate the downstream annotation processors invoking collectRootTypeNames(RoundEnvironment)
at the start of the process()
method and clearRootTypeNamesIfProcessingOver(RoundEnvironment)
at the end of the process()
method.Published by realityforge over 4 years ago
Changes in this release:
MemberChecks.mustBeProtected(...)
and MemberChecks.mustNotBeProtected(...)
helper methods.Published by realityforge over 4 years ago
Changes in this release:
GeneratorUtil.overrideMethod(...)
was not passing on the additionalSuppressions
parameter when generating suppressions.Published by realityforge over 4 years ago
Changes in this release:
TypesUtil.hasRawTypes()
helper method.ElementsUtil.isElementDeprecated()
helper method and add replacement ElementsUtil.hasDeprecatedAnnotation()
.ElementsUtil.isDeprecated()
helper method that determines whether the element is effectively deprecated by either being annotated with @Deprecated
or being enclosed in a deprecated element.TypesUtil.isDeprecated(...)
helper method.Published by realityforge over 4 years ago
Changes in this release:
ElementsUtil.getOverriddenMethod(...)
is public.Published by realityforge over 4 years ago
Changes in this release:
ElementsUtil.getOverriddenMethod(...)
helper method.Published by realityforge over 4 years ago
Changes in this release:
MemberChecks.doesMethodNotOverrideInterfaceMethod(...)
public access.Published by realityforge over 4 years ago
Changes in this release:
AbstractProcessorTest.outputFilesIfEnabled(...)
helper method so that downstream projects can update golden files/fixtures even when they are performing custom configuration of the compilation.Published by realityforge over 4 years ago
Changes in this release:
AbstractStandardProcessor.isDebugEnabled()
to expose whether the debug state is enabled.