The following is the first few sections of a chapter from The Busy Coder's Guide to Android Development, plus headings for the remaining major sections, to give you an idea about the content of the chapter.
One common thing to do in a Gradle plugin is to generate Java code. Code that writes other code based upon supplied inputs is referred to as a “code generator”.
At its core, Java code is just text. Developers generate text on the fly quite a bit, particularly in Web development. There are two main approaches to such text generation:
In this chapter, we will examine what it takes to generate Java code
from a Gradle plugin. In particular, we will look at the second
approach, where we will have Java code that generates other Java code,
using a library that makes this a lot easier than writing a lot
append() calls to a
Understanding this chapter requires that you have read the preceding chapter and all of its prerequisites.
The preview of this section is unavailable right now, but if you leave your name and number at the sound of the tone, it might get back to you (BEEEEEEEEEEEEP!).
The preview of this section is [REDACTED].
The preview of this section was fed to a gremlin, after midnight.
The preview of this section was lost due to a rupture in the space-time continuum.