// ino.module.Null.8644.package package mycompiler.mystatement; // ino.end // ino.module.Null.8644.import import java.util.Hashtable; import java.util.Vector; import mycompiler.SyntaxTreeNode; import mycompiler.mybytecode.ClassFile; import mycompiler.mybytecode.CodeAttribute; import mycompiler.mybytecode.JVMCode; import mycompiler.myclass.Class; import mycompiler.myexception.CTypeReconstructionException; import mycompiler.myexception.JVMCodeException; import mycompiler.mytype.GenericTypeVar; import mycompiler.mytype.Type; import mycompiler.mytype.TypePlaceholder; import mycompiler.mytypereconstruction.CSupportData; import mycompiler.mytypereconstruction.CTriple; import mycompiler.mytypereconstruction.set.CSubstitutionSet; import mycompiler.mytypereconstruction.set.CTripleSet; import mycompiler.mytypereconstruction.set.CTypeAssumptionSet; import mycompiler.mytypereconstruction.typeassumption.CTypeAssumption; import org.apache.log4j.Logger; // ino.end import typinferenz.ConstraintsSet; import typinferenz.JavaCodeResult; import typinferenz.ResultSet; import typinferenz.assumptions.TypeAssumptions; // ino.class.Null.25919.declaration public class Null extends Literal // ino.end // ino.class.Null.25919.body { // ino.attribute.parserlog.25923.declaration protected static Logger parserlog = Logger.getLogger("parser"); // ino.end // ino.method.Null.25926.definition public Null() // ino.end // ino.method.Null.25926.body { super(-1,-1); this.setType(new Type("__NULL__",getOffset())); } // ino.end // ino.method.get_Name.25929.definition public String get_Name() // ino.end // ino.method.get_Name.25929.body { return null; } // ino.end // ino.method.sc_check.25932.definition public void sc_check(Vector classname, Hashtable ch, Hashtable bh, boolean ext, Hashtable parach, Hashtable parabh) // ino.end // ino.method.sc_check.25932.body { if(ext) parserlog.debug(" ---Null---"); } // ino.end // ino.method.codegen.25935.definition public void codegen(ClassFile classfile, CodeAttribute code, Vector paralist) throws JVMCodeException // ino.end // ino.method.codegen.25935.body { code.add_code(JVMCode.aconst_null); } // ino.end // ino.method.TRStatement.25938.definition public CTripleSet TRStatement(CSubstitutionSet sigma, CTypeAssumptionSet V, CSupportData supportData) // ino.end // ino.method.TRStatement.25938.body { throw CTypeReconstructionException.createNotImplementedException(); } // ino.end // ino.method.TRExp.25941.definition public CTripleSet TRExp(CSubstitutionSet sigma, CTypeAssumptionSet V, CSupportData supportData) // ino.end // ino.method.TRExp.25941.body { CTripleSet tripleSet = new CTripleSet(); tripleSet.addElement(new CTriple(sigma, TypePlaceholder.fresh(this) ,V)); return tripleSet; } // ino.end // ino.method.wandleRefTypeAttributes2GenericAttributes.25944.definition public void wandleRefTypeAttributes2GenericAttributes(Vector paralist, Vector genericMethodParameters) // ino.end // ino.method.wandleRefTypeAttributes2GenericAttributes.25944.body { } // ino.end @Override public ConstraintsSet TYPEExpr(TypeAssumptions assumptions) { // TODO Auto-generated method stub return null; } @Override public JavaCodeResult printJavaCode(ResultSet resultSet) { return new JavaCodeResult("null"); } @Override public Vector getChildren() { return new Vector(); } } // ino.end