mirror of
https://github.com/Z3Prover/z3
synced 2025-04-27 02:45:51 +00:00
Adding @Override declarations
They are important, as they prevent miss-spelling the parent method and /or arguments name.
This commit is contained in:
parent
a3a8ba40e7
commit
1dcaddbec7
36 changed files with 85 additions and 4 deletions
|
@ -29,6 +29,7 @@ public class FuncDecl extends AST
|
|||
/**
|
||||
* Object comparison.
|
||||
**/
|
||||
@Override
|
||||
public boolean equals(Object o)
|
||||
{
|
||||
FuncDecl casted = null;
|
||||
|
@ -58,6 +59,7 @@ public class FuncDecl extends AST
|
|||
/**
|
||||
* A string representations of the function declaration.
|
||||
**/
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
try
|
||||
|
@ -72,6 +74,7 @@ public class FuncDecl extends AST
|
|||
/**
|
||||
* Returns a unique identifier for the function declaration.
|
||||
**/
|
||||
@Override
|
||||
public int getId()
|
||||
{
|
||||
return Native.getFuncDeclId(getContext().nCtx(), getNativeObject());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue