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

Side by Side Diff: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/element/handle/PropertyAccessorElementHandle.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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 public PropertyInducingElement getVariable() { 57 public PropertyInducingElement getVariable() {
58 return getActualElement().getVariable(); 58 return getActualElement().getVariable();
59 } 59 }
60 60
61 @Override 61 @Override
62 public boolean isAbstract() { 62 public boolean isAbstract() {
63 return getActualElement().isAbstract(); 63 return getActualElement().isAbstract();
64 } 64 }
65 65
66 @Override 66 @Override
67 public boolean isExcludedSetter() {
68 return getActualElement().isExcludedSetter();
69 }
70
71 @Override
67 public boolean isGetter() { 72 public boolean isGetter() {
68 return getActualElement().isGetter(); 73 return getActualElement().isGetter();
69 } 74 }
70 75
71 @Override 76 @Override
72 public boolean isSetter() { 77 public boolean isSetter() {
73 return getActualElement().isSetter(); 78 return getActualElement().isSetter();
74 } 79 }
75 80
76 @Override 81 @Override
77 protected PropertyAccessorElement getActualElement() { 82 protected PropertyAccessorElement getActualElement() {
78 return (PropertyAccessorElement) super.getActualElement(); 83 return (PropertyAccessorElement) super.getActualElement();
79 } 84 }
80 } 85 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698