@coverage dart.server.generated.types
Definition at line 30 of file InlineMethodOptions.java.
◆ InlineMethodOptions()
org.dartlang.analysis.server.protocol.InlineMethodOptions.InlineMethodOptions |
( |
boolean |
deleteSource, |
|
|
boolean |
inlineAll |
|
) |
| |
|
inline |
◆ deleteSource()
boolean org.dartlang.analysis.server.protocol.InlineMethodOptions.deleteSource |
( |
| ) |
|
|
inline |
True if the method being inlined should be removed. It is an error if this field is true and inlineAll is false.
Definition at line 89 of file InlineMethodOptions.java.
89 {
90 return deleteSource;
91 }
◆ equals()
boolean org.dartlang.analysis.server.protocol.InlineMethodOptions.equals |
( |
Object |
obj | ) |
|
|
inline |
◆ fromJson()
static InlineMethodOptions org.dartlang.analysis.server.protocol.InlineMethodOptions.fromJson |
( |
JsonObject |
jsonObject | ) |
|
|
inlinestatic |
◆ fromJsonArray()
static List< InlineMethodOptions > org.dartlang.analysis.server.protocol.InlineMethodOptions.fromJsonArray |
( |
JsonArray |
jsonArray | ) |
|
|
inlinestatic |
Definition at line 73 of file InlineMethodOptions.java.
73 {
74 if (jsonArray == null) {
76 }
77 ArrayList<InlineMethodOptions> list = new ArrayList<InlineMethodOptions>(jsonArray.size());
78 Iterator<JsonElement> iterator = jsonArray.iterator();
79 while (iterator.hasNext()) {
80 list.add(
fromJson(iterator.next().getAsJsonObject()));
81 }
82 return list;
83 }
static final List< InlineMethodOptions > EMPTY_LIST
static InlineMethodOptions fromJson(JsonObject jsonObject)
◆ hashCode()
int org.dartlang.analysis.server.protocol.InlineMethodOptions.hashCode |
( |
| ) |
|
|
inline |
◆ inlineAll()
boolean org.dartlang.analysis.server.protocol.InlineMethodOptions.inlineAll |
( |
| ) |
|
|
inline |
True if all invocations of the method should be inlined, or false if only the invocation site used to create this refactoring should be inlined.
Definition at line 97 of file InlineMethodOptions.java.
97 {
98 return inlineAll;
99 }
◆ setDeleteSource()
void org.dartlang.analysis.server.protocol.InlineMethodOptions.setDeleteSource |
( |
boolean |
deleteSource | ) |
|
|
inline |
True if the method being inlined should be removed. It is an error if this field is true and inlineAll is false.
Definition at line 113 of file InlineMethodOptions.java.
113 {
114 this.deleteSource = deleteSource;
115 }
◆ setInlineAll()
void org.dartlang.analysis.server.protocol.InlineMethodOptions.setInlineAll |
( |
boolean |
inlineAll | ) |
|
|
inline |
True if all invocations of the method should be inlined, or false if only the invocation site used to create this refactoring should be inlined.
Definition at line 121 of file InlineMethodOptions.java.
121 {
122 this.inlineAll = inlineAll;
123 }
◆ toJson()
JsonObject org.dartlang.analysis.server.protocol.InlineMethodOptions.toJson |
( |
| ) |
|
|
inline |
◆ toString()
String org.dartlang.analysis.server.protocol.InlineMethodOptions.toString |
( |
| ) |
|
|
inline |
◆ EMPTY_ARRAY
◆ EMPTY_LIST
final List<InlineMethodOptions> org.dartlang.analysis.server.protocol.InlineMethodOptions.EMPTY_LIST = Lists.newArrayList() |
|
static |
The documentation for this class was generated from the following file: