mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-25 07:27:52 +01:00
ApiDoc @Nonnull
This commit is contained in:
parent
b755f6fd08
commit
4e2f35a073
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2018 - 2020 Volker Berlin (i-net software)
|
Copyright 2018 - 2021 Volker Berlin (i-net software)
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
@ -43,7 +43,7 @@ class WasmLoadStoreInstruction extends WasmLocalInstruction {
|
|||||||
* @param lineNumber
|
* @param lineNumber
|
||||||
* the line number in the Java source code
|
* the line number in the Java source code
|
||||||
*/
|
*/
|
||||||
WasmLoadStoreInstruction( VariableOperator op, @Nonnegative int idx, LocaleVariableManager localVariables, int javaCodePos, int lineNumber ) {
|
WasmLoadStoreInstruction( @Nonnull VariableOperator op, @Nonnegative int idx, LocaleVariableManager localVariables, int javaCodePos, int lineNumber ) {
|
||||||
super( op, idx, localVariables, javaCodePos, lineNumber );
|
super( op, idx, localVariables, javaCodePos, lineNumber );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -34,6 +34,7 @@ import static de.inetsoftware.jwebassembly.wasm.VariableOperator.*;
|
|||||||
*/
|
*/
|
||||||
class WasmLocalInstruction extends WasmInstruction {
|
class WasmLocalInstruction extends WasmInstruction {
|
||||||
|
|
||||||
|
@Nonnull
|
||||||
private VariableOperator op;
|
private VariableOperator op;
|
||||||
|
|
||||||
private int idx;
|
private int idx;
|
||||||
@ -54,7 +55,7 @@ class WasmLocalInstruction extends WasmInstruction {
|
|||||||
* @param lineNumber
|
* @param lineNumber
|
||||||
* the line number in the Java source code
|
* the line number in the Java source code
|
||||||
*/
|
*/
|
||||||
WasmLocalInstruction( VariableOperator op, @Nonnegative int idx, LocaleVariableManager localVariables, int javaCodePos, int lineNumber ) {
|
WasmLocalInstruction( @Nonnull VariableOperator op, @Nonnegative int idx, LocaleVariableManager localVariables, int javaCodePos, int lineNumber ) {
|
||||||
super( javaCodePos, lineNumber );
|
super( javaCodePos, lineNumber );
|
||||||
this.op = op;
|
this.op = op;
|
||||||
this.idx = idx;
|
this.idx = idx;
|
||||||
@ -74,6 +75,7 @@ class WasmLocalInstruction extends WasmInstruction {
|
|||||||
*
|
*
|
||||||
* @return the operator
|
* @return the operator
|
||||||
*/
|
*/
|
||||||
|
@Nonnull
|
||||||
VariableOperator getOperator() {
|
VariableOperator getOperator() {
|
||||||
return op;
|
return op;
|
||||||
}
|
}
|
||||||
@ -84,7 +86,7 @@ class WasmLocalInstruction extends WasmInstruction {
|
|||||||
* @param op
|
* @param op
|
||||||
* the operator
|
* the operator
|
||||||
*/
|
*/
|
||||||
void setOperator( VariableOperator op ) {
|
void setOperator( @Nonnull VariableOperator op ) {
|
||||||
this.op = op;
|
this.op = op;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user