Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(74)

Side by Side Diff: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/element/member/PropertyAccessorMember.java

Issue 26746002: Issue 13918. final fields induce setters that are illegal to call (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2013, the Dart project authors. 2 * Copyright (c) 2013, the Dart project authors.
3 * 3 *
4 * Licensed under the Eclipse Public License v1.0 (the "License"); you may not u se this file except 4 * Licensed under the Eclipse Public License v1.0 (the "License"); you may not u se this file except
5 * in compliance with the License. You may obtain a copy of the License at 5 * in compliance with the License. You may obtain a copy of the License at
6 * 6 *
7 * http://www.eclipse.org/legal/epl-v10.html 7 * http://www.eclipse.org/legal/epl-v10.html
8 * 8 *
9 * Unless required by applicable law or agreed to in writing, software distribut ed under the License 9 * Unless required by applicable law or agreed to in writing, software distribut ed under the License
10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY K IND, either express 10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY K IND, either express
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 } 100 }
101 return variable; 101 return variable;
102 } 102 }
103 103
104 @Override 104 @Override
105 public boolean isAbstract() { 105 public boolean isAbstract() {
106 return getBaseElement().isAbstract(); 106 return getBaseElement().isAbstract();
107 } 107 }
108 108
109 @Override 109 @Override
110 public boolean isExcludedSetter() {
111 return getBaseElement().isExcludedSetter();
112 }
113
114 @Override
110 public boolean isGetter() { 115 public boolean isGetter() {
111 return getBaseElement().isGetter(); 116 return getBaseElement().isGetter();
112 } 117 }
113 118
114 @Override 119 @Override
115 public boolean isSetter() { 120 public boolean isSetter() {
116 return getBaseElement().isSetter(); 121 return getBaseElement().isSetter();
117 } 122 }
118 123
119 @Override 124 @Override
(...skipping 24 matching lines...) Expand all
144 builder.append(type.getReturnType()); 149 builder.append(type.getReturnType());
145 } 150 }
146 return builder.toString(); 151 return builder.toString();
147 } 152 }
148 153
149 @Override 154 @Override
150 protected InterfaceType getDefiningType() { 155 protected InterfaceType getDefiningType() {
151 return (InterfaceType) super.getDefiningType(); 156 return (InterfaceType) super.getDefiningType();
152 } 157 }
153 } 158 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698