-
Notifications
You must be signed in to change notification settings - Fork 751
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Latest docs on successful build 6804 auto-pushed to gh-pages
- Loading branch information
1 parent
39fe4ff
commit 8caa326
Showing
1 changed file
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -138,7 +138,11 @@ <h1 title="Annotation Type Placeholder" class="title">Annotation Type Placeholde | |
<p>Placeholder methods are not permitted to refer to any local variables or parameters of the | ||
<code>@BeforeTemplate</code> that are not passed to them as arguments. Additionally, they | ||
<em>must</em> contain references to all arguments that <em>are</em> passed to them -- except | ||
those corresponding to parameters annotated with <a href="MayOptionallyUse.html" title="annotation in com.google.errorprone.refaster.annotation"><code>MayOptionallyUse</code></a>.</div> | ||
those corresponding to parameters annotated with <a href="MayOptionallyUse.html" title="annotation in com.google.errorprone.refaster.annotation"><code>MayOptionallyUse</code></a>. | ||
|
||
<p>Note that <a href="Matches.html" title="annotation in com.google.errorprone.refaster.annotation"><code>Matches</code></a> and <a href="NotMatches.html" title="annotation in com.google.errorprone.refaster.annotation"><code>NotMatches</code></a> can be applied to placeholder methods, but, | ||
<strong>and this is a serious health warning</strong>, those predicates will only be matched if | ||
the placeholder method is used as an <em>expression</em>, not a <em>statement</em>.</div> | ||
<dl class="notes"> | ||
<dt>Author:</dt> | ||
<dd>[email protected] (Louis Wasserman)</dd> | ||
|