Contents
-
Terminally Deprecated Elements
It is deprecated and needs to be removed because JavaRewriter and
CompilationUnit have been decoupled in recent changes.
-
Deprecated Classes
It is deprecated and needs to be removed because JavaRewriter and
CompilationUnit have been decoupled in recent changes.
superseded by
SourceLanguage, which can name a file's
language rather than only answering "is this Kotlin?". Kept while
callers are migrated; the methods here delegate so behaviour is
identical.
-
Deprecated Exception Classes
throw
UnsupportedSourceLanguageException with the
language and the operation instead, so the refusal can name what
was declined. Kept as a subclass because call sites still throw
it and because it preserves the original message.
-
Deprecated Methods
This rarely ever works as expected because the file you want to
write is in one of the Maven modules, not necessarily in the root
project.