Method

public class Method implements Snippet

The declaration of a method in JavaScript code.

Types

Link copied to clipboard
public class Builder
The builder of a method.

Functions

Link copied to clipboard
public static Method.Builder newBuilder(MethodReference methodReference)
Obtains the builder to compose a method.
Link copied to clipboard
public CodeLines value()
Obtains code lines representing this snippet.