Flutter Engine
The Flutter Engine
|
Public Member Functions | |
ExtractMethodOptions (String returnType, boolean createGetter, String name, List< RefactoringMethodParameter > parameters, boolean extractAll) | |
boolean | equals (Object obj) |
boolean | createGetter () |
boolean | extractAll () |
String | getName () |
List< RefactoringMethodParameter > | getParameters () |
String | getReturnType () |
int | hashCode () |
void | setCreateGetter (boolean createGetter) |
void | setExtractAll (boolean extractAll) |
void | setName (String name) |
void | setParameters (List< RefactoringMethodParameter > parameters) |
void | setReturnType (String returnType) |
JsonObject | toJson () |
String | toString () |
Public Member Functions inherited from org.dartlang.analysis.server.protocol.RefactoringOptions | |
RefactoringOptions () | |
boolean | equals (Object obj) |
int | hashCode () |
JsonObject | toJson () |
String | toString () |
Static Public Member Functions | |
static ExtractMethodOptions | fromJson (JsonObject jsonObject) |
static List< ExtractMethodOptions > | fromJsonArray (JsonArray jsonArray) |
static RefactoringOptions | fromJson (JsonObject jsonObject) |
Static Public Attributes | |
static final ExtractMethodOptions[] | EMPTY_ARRAY = new ExtractMethodOptions[0] |
static final List< ExtractMethodOptions > | EMPTY_LIST = Lists.newArrayList() |
Static Public Attributes inherited from org.dartlang.analysis.server.protocol.RefactoringOptions | |
static final RefactoringOptions[] | EMPTY_ARRAY = new RefactoringOptions[0] |
static final List< RefactoringOptions > | EMPTY_LIST = Lists.newArrayList() |
@coverage dart.server.generated.types
Definition at line 30 of file ExtractMethodOptions.java.
|
inline |
Constructor for ExtractMethodOptions
.
Definition at line 75 of file ExtractMethodOptions.java.
|
inline |
True if a getter should be created rather than a method. It is an error if this field is true and the list of parameters is non-empty.
Definition at line 122 of file ExtractMethodOptions.java.
|
inline |
Reimplemented from org.dartlang.analysis.server.protocol.RefactoringOptions.
Definition at line 84 of file ExtractMethodOptions.java.
|
inline |
True if all occurrences of the expression or statements should be replaced by an invocation of the method. The expression or statements used to initiate the refactoring will always be replaced.
Definition at line 131 of file ExtractMethodOptions.java.
|
inlinestatic |
Reimplemented from org.dartlang.analysis.server.protocol.RefactoringOptions.
Definition at line 97 of file ExtractMethodOptions.java.
|
inlinestatic |
Definition at line 106 of file ExtractMethodOptions.java.
|
inline |
The name that the method should be given.
Definition at line 138 of file ExtractMethodOptions.java.
|
inline |
The parameters that should be defined for the method.
It is an error if a REQUIRED or NAMED parameter follows a POSITIONAL parameter. It is an error if a REQUIRED or POSITIONAL parameter follows a NAMED parameter.
Definition at line 153 of file ExtractMethodOptions.java.
|
inline |
The return type that should be defined for the method.
Definition at line 160 of file ExtractMethodOptions.java.
|
inline |
Reimplemented from org.dartlang.analysis.server.protocol.RefactoringOptions.
Definition at line 165 of file ExtractMethodOptions.java.
|
inline |
True if a getter should be created rather than a method. It is an error if this field is true and the list of parameters is non-empty.
Definition at line 179 of file ExtractMethodOptions.java.
|
inline |
True if all occurrences of the expression or statements should be replaced by an invocation of the method. The expression or statements used to initiate the refactoring will always be replaced.
Definition at line 188 of file ExtractMethodOptions.java.
|
inline |
The name that the method should be given.
Definition at line 195 of file ExtractMethodOptions.java.
|
inline |
The parameters that should be defined for the method.
It is an error if a REQUIRED or NAMED parameter follows a POSITIONAL parameter. It is an error if a REQUIRED or POSITIONAL parameter follows a NAMED parameter.
Definition at line 210 of file ExtractMethodOptions.java.
|
inline |
The return type that should be defined for the method.
Definition at line 217 of file ExtractMethodOptions.java.
|
inline |
Reimplemented from org.dartlang.analysis.server.protocol.RefactoringOptions.
Definition at line 221 of file ExtractMethodOptions.java.
|
inline |
Reimplemented from org.dartlang.analysis.server.protocol.RefactoringOptions.
Definition at line 236 of file ExtractMethodOptions.java.
|
static |
Definition at line 32 of file ExtractMethodOptions.java.
|
static |
Definition at line 34 of file ExtractMethodOptions.java.