File tree Expand file tree Collapse file tree 4 files changed +0
-18
lines changed
graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects Expand file tree Collapse file tree 4 files changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -1829,16 +1829,4 @@ public boolean hasMetaObject() {
1829
1829
public Object getMetaObject (@ Shared ("getClassThis" ) @ Cached GetClassNode getClass ) {
1830
1830
return getClass .execute (this );
1831
1831
}
1832
-
1833
- @ ExportMessage
1834
- @ SuppressWarnings ("static-method" )
1835
- public SourceSection getSourceLocation () {
1836
- return null ;
1837
- }
1838
-
1839
- @ ExportMessage
1840
- @ SuppressWarnings ("static-method" )
1841
- public boolean hasSourceLocation () {
1842
- return false ;
1843
- }
1844
1832
}
Original file line number Diff line number Diff line change @@ -445,7 +445,6 @@ public RootCallTarget getRootCallTarget() {
445
445
return callTarget ;
446
446
}
447
447
448
- @ Override
449
448
@ ExportMessage
450
449
public SourceSection getSourceLocation () {
451
450
RootNode rootNode = getRootNode ();
@@ -461,7 +460,6 @@ private static SourceSection getForeignSourceSection(RootNode rootNode) {
461
460
return rootNode .getSourceSection ();
462
461
}
463
462
464
- @ Override
465
463
@ ExportMessage
466
464
public boolean hasSourceLocation () {
467
465
return true ;
Original file line number Diff line number Diff line change @@ -205,7 +205,6 @@ public boolean isCallable() {
205
205
return true ;
206
206
}
207
207
208
- @ Override
209
208
@ ExportMessage
210
209
public SourceSection getSourceLocation () {
211
210
RootNode rootNode = getCallTarget ().getRootNode ();
@@ -221,7 +220,6 @@ private static SourceSection getForeignSourceSection(RootNode rootNode) {
221
220
return rootNode .getSourceSection ();
222
221
}
223
222
224
- @ Override
225
223
@ ExportMessage
226
224
public boolean hasSourceLocation () {
227
225
return true ;
Original file line number Diff line number Diff line change @@ -135,14 +135,12 @@ public static PList expect(Object value) throws UnexpectedResultException {
135
135
throw new UnexpectedResultException (value );
136
136
}
137
137
138
- @ Override
139
138
@ ExportMessage
140
139
public SourceSection getSourceLocation () {
141
140
ListLiteralNode node = getOrigin ();
142
141
return node != null ? node .getSourceSection () : null ;
143
142
}
144
143
145
- @ Override
146
144
@ ExportMessage
147
145
public boolean hasSourceLocation () {
148
146
return getOrigin () != null && getOrigin ().getSourceSection () != null ;
You can’t perform that action at this time.
0 commit comments