Top Description Methods
com.google.errorprone.annotations

public @Interface InlineMe

extends Annotation
Annotations
@Documented
@Target:METHOD, CONSTRUCTOR
Static Imports
java.lang.annotation.ElementType.CONSTRUCTOR, .ElementType.METHOD

Indicates that callers of this API should be inlined. That is, this API is trivially expressible in terms of another API, for example a method that just calls another method.

Method Summary

Modifier and TypeMethod and Description
public String[]
imports()

The new imports to (optionally) add to the caller.

public String
replacement()

What the caller should be replaced with.

public String[]
staticImports()

The new static imports to (optionally) add to the caller.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

importsback to summary
public String[] imports()

The new imports to (optionally) add to the caller.

replacementback to summary
public String replacement()

What the caller should be replaced with. Local parameter names can be used in the replacement string. If you are invoking an instance method or constructor, you must include the implicit this in the replacement body. If you are invoking a static method, you must include the implicit ClassName in the replacement body.

staticImportsback to summary
public String[] staticImports()

The new static imports to (optionally) add to the caller.