JavaPatternMatching/src/mycompiler/mystatement/EmptyStmt.java

119 lines
3.4 KiB
Java
Raw Normal View History

2013-10-18 11:33:46 +00:00
// ino.module.EmptyStmt.8629.package
package mycompiler.mystatement;
// ino.end
// ino.module.EmptyStmt.8629.import
import java.util.Hashtable;
import java.util.Vector;
2014-03-17 16:55:55 +00:00
import mycompiler.SyntaxTreeNode;
2013-10-18 11:33:46 +00:00
import mycompiler.mybytecode.ClassFile;
import mycompiler.mybytecode.CodeAttribute;
import mycompiler.myclass.Class;
import mycompiler.myexception.CTypeReconstructionException;
import mycompiler.myexception.JVMCodeException;
import mycompiler.mytype.GenericTypeVar;
import mycompiler.mytype.Type;
import mycompiler.mytypereconstruction.CSupportData;
import mycompiler.mytypereconstruction.replacementlistener.CReplaceTypeEvent;
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
2014-03-17 16:55:55 +00:00
2013-10-18 11:33:46 +00:00
import sun.reflect.generics.reflectiveObjects.NotImplementedException;
import typinferenz.ConstraintsSet;
import typinferenz.JavaCodeResult;
import typinferenz.ResultSet;
import typinferenz.assumptions.TypeAssumptions;
2013-10-18 11:33:46 +00:00
// ino.class.EmptyStmt.25203.declaration
public class EmptyStmt extends Statement
// ino.end
// ino.class.EmptyStmt.25203.body
{
// ino.method.EmptyStmt.25207.definition
public EmptyStmt()
// ino.end
// ino.method.EmptyStmt.25207.body
{
super(-1,-1);
}
// ino.end
// ino.attribute.parserlog.25210.declaration
protected static Logger parserlog = Logger.getLogger("parser");
// ino.end
// ino.method.sc_check.25213.definition
public void sc_check(Vector<Class> classlist, Hashtable ch, Hashtable<String, String> bh, boolean ext, Hashtable parach, Hashtable<String, Hashtable> parabh)
// ino.end
// ino.method.sc_check.25213.body
{
if(ext){
parserlog.debug(" ---EmptyStmt---");
}
}
// ino.end
// ino.method.codegen.25216.definition
public void codegen(ClassFile classfile, CodeAttribute code, Vector paralist)
throws JVMCodeException
// ino.end
// ino.method.codegen.25216.body
{ }
// ino.end
// ino.method.TRStatement.25219.definition
public CTripleSet TRStatement(CSubstitutionSet sigma, CTypeAssumptionSet V, CSupportData supportData)
// ino.end
// ino.method.TRStatement.25219.body
{
throw CTypeReconstructionException.createNotImplementedException();
}
// ino.end
// ino.method.wandleRefTypeAttributes2GenericAttributes.25222.definition
public void wandleRefTypeAttributes2GenericAttributes(Vector<Type> paralist, Vector<GenericTypeVar> genericMethodParameters)
// ino.end
// ino.method.wandleRefTypeAttributes2GenericAttributes.25222.body
{
}
// ino.end
public boolean addOffsetsToStatement(CTypeAssumption localAssumption,String NameVariable,boolean isMemberVariable)
{
return true;
}
@Override
public ConstraintsSet TYPEStmt(TypeAssumptions assumptions) {
// TODO Auto-generated method stub
return null;
}
public void replaceType(CReplaceTypeEvent e) {
// TODO Auto-generated method stub
throw new NotImplementedException();
}
public int getTypeLineNumber() {
throw new NotImplementedException();
}
@Override
public JavaCodeResult printJavaCode(ResultSet resultSet) {
return new JavaCodeResult("");
}
2014-03-17 16:55:55 +00:00
2013-10-18 11:33:46 +00:00
}
// ino.end