Flutter Engine
The Flutter Engine
|
Public Member Functions | |
ExtractMethodFeedback (int offset, int length, String returnType, List< String > names, boolean canCreateGetter, List< RefactoringMethodParameter > parameters, int[] offsets, int[] lengths) | |
boolean | equals (Object obj) |
boolean | canCreateGetter () |
int | getLength () |
int[] | getLengths () |
List< String > | getNames () |
int | getOffset () |
int[] | getOffsets () |
List< RefactoringMethodParameter > | getParameters () |
String | getReturnType () |
int | hashCode () |
JsonObject | toJson () |
String | toString () |
Public Member Functions inherited from org.dartlang.analysis.server.protocol.RefactoringFeedback | |
RefactoringFeedback () | |
boolean | equals (Object obj) |
int | hashCode () |
JsonObject | toJson () |
String | toString () |
Static Public Member Functions | |
static ExtractMethodFeedback | fromJson (JsonObject jsonObject) |
static List< ExtractMethodFeedback > | fromJsonArray (JsonArray jsonArray) |
static RefactoringFeedback | fromJson (JsonObject jsonObject) |
Static Public Attributes | |
static final ExtractMethodFeedback[] | EMPTY_ARRAY = new ExtractMethodFeedback[0] |
static final List< ExtractMethodFeedback > | EMPTY_LIST = Lists.newArrayList() |
Static Public Attributes inherited from org.dartlang.analysis.server.protocol.RefactoringFeedback | |
static final RefactoringFeedback[] | EMPTY_ARRAY = new RefactoringFeedback[0] |
static final List< RefactoringFeedback > | EMPTY_LIST = Lists.newArrayList() |
@coverage dart.server.generated.types
Definition at line 30 of file ExtractMethodFeedback.java.
|
inline |
Constructor for ExtractMethodFeedback
.
Definition at line 84 of file ExtractMethodFeedback.java.
|
inline |
True if a getter could be created rather than a method.
Definition at line 139 of file ExtractMethodFeedback.java.
|
inline |
Reimplemented from org.dartlang.analysis.server.protocol.RefactoringFeedback.
Definition at line 96 of file ExtractMethodFeedback.java.
|
inlinestatic |
Reimplemented from org.dartlang.analysis.server.protocol.RefactoringFeedback.
Definition at line 112 of file ExtractMethodFeedback.java.
|
inlinestatic |
Definition at line 124 of file ExtractMethodFeedback.java.
|
inline |
The length of the expression or statements that will be extracted.
Definition at line 146 of file ExtractMethodFeedback.java.
|
inline |
The lengths of the expressions or statements that would be replaced by an invocation of the method. The lengths correspond to the offsets. In other words, for a given expression (or block of statements), if the offset of that expression is offsets[i], then the length of that expression is lengths[i].
Definition at line 156 of file ExtractMethodFeedback.java.
|
inline |
The proposed names for the method.
Definition at line 163 of file ExtractMethodFeedback.java.
|
inline |
The offset to the beginning of the expression or statements that will be extracted.
Definition at line 170 of file ExtractMethodFeedback.java.
|
inline |
The offsets of the expressions or statements that would be replaced by an invocation of the method.
Definition at line 178 of file ExtractMethodFeedback.java.
|
inline |
The proposed parameters for the method.
Definition at line 185 of file ExtractMethodFeedback.java.
|
inline |
The proposed return type for the method. If the returned element does not have a declared return type, this field will contain an empty string.
Definition at line 193 of file ExtractMethodFeedback.java.
|
inline |
Reimplemented from org.dartlang.analysis.server.protocol.RefactoringFeedback.
Definition at line 198 of file ExtractMethodFeedback.java.
|
inline |
Reimplemented from org.dartlang.analysis.server.protocol.RefactoringFeedback.
Definition at line 211 of file ExtractMethodFeedback.java.
|
inline |
Reimplemented from org.dartlang.analysis.server.protocol.RefactoringFeedback.
Definition at line 241 of file ExtractMethodFeedback.java.
|
static |
Definition at line 32 of file ExtractMethodFeedback.java.
|
static |
Definition at line 34 of file ExtractMethodFeedback.java.