@Documented @Target(value={METHOD,CONSTRUCTOR}) public @interface InlineMe
Modifier and Type | Required Element and Description |
---|---|
String |
replacement
What the caller should be replaced with.
|
Modifier and Type | Optional Element and Description |
---|---|
String[] |
imports
The new imports to (optionally) add to the caller.
|
String[] |
staticImports
The new static imports to (optionally) add to the caller.
|
public abstract String replacement
this
in the replacement body. If you are invoking a static method, you must include the
implicit ClassName
in the replacement body.public abstract String[] imports
public abstract String[] staticImports
Copyright © 2021 Google LLC. All rights reserved.