mirror of
https://github.com/sigmasternchen/xtext-core
synced 2025-03-15 08:18:55 +00:00
added missing since annotations
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
This commit is contained in:
parent
4023a25c84
commit
54ec08b19e
2 changed files with 16 additions and 5 deletions
|
@ -100,5 +100,13 @@ import org.eclipse.lsp4j.Range
|
|||
}
|
||||
return new Document(if (version !== null) version + 1 else null, newContent)
|
||||
}
|
||||
|
||||
/**
|
||||
* @since 2.15
|
||||
*/
|
||||
@Pure
|
||||
def boolean isPrintSourceOnError() {
|
||||
printSourceOnError
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -138,6 +138,14 @@ public class Document {
|
|||
return new Document(_xifexpression, newContent);
|
||||
}
|
||||
|
||||
/**
|
||||
* @since 2.15
|
||||
*/
|
||||
@Pure
|
||||
public boolean isPrintSourceOnError() {
|
||||
return this.printSourceOnError;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Pure
|
||||
public int hashCode() {
|
||||
|
@ -192,9 +200,4 @@ public class Document {
|
|||
public String getContents() {
|
||||
return this.contents;
|
||||
}
|
||||
|
||||
@Pure
|
||||
public boolean isPrintSourceOnError() {
|
||||
return this.printSourceOnError;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue