VoidType extends BuiltinType { @Override public boolean hasCanonicalConstant(Scope unused) { return false; } private  VoidType(); @Override String toString(); @Override boolean hasCanonicalConstant(Scope unused); @Override Expr getCanonicalConstant(Scope scope); @Override void accept(IAstVisitor visitor); static final VoidType VOID; }
@Test public void hasCanonicalConstant() { assertFalse(VoidType.VOID.hasCanonicalConstant(new Scope())); }