All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jadex.bdiv3.MyTestClass Maven / Gradle / Ivy

Go to download

BDIV3 Kernel that supports annotated POJOs and uses byte code manipulation for performance improvements.

There is a newer version: 4.0.267
Show newest version
package jadex.bdiv3;



public class MyTestClass
{
//	public int testfield = inc();

//	@Belief(dependson="testfield")
//	protected int testfield2 = testfield+3;

//	protected int testfield3 = getVal();

//	protected int[] myints = new int[3];
//
//	protected Object[] myobs = new Object[2];
	
//	protected BDIAgent	__agent;

//	protected List,Class[], Object[]>>	initcalls;
	
//	protected String	__globalname	= "huhu";
//	
//	protected BDIAgent	__agent;
	
	
//	public MyTestClass(String name, List values)
//	{
//		BDIAgent.addInitArgs(this, MyTestClass.class, new Class[]{String.class,  List.class}, new Object[]{name, values});
//		
////		if(initcalls==null)
////		{
////			initcalls	= new ArrayList,Class[], Object[]>>();
////		}
////		
////		initcalls.add(new Tuple3, Class[], Object[]>(MyTestClass.class, new Class[]{String.class,  List.class}, new Object[]{name, values}));
//		
////		myints[0] = 3;
////		
////		myobs[1] = new Object();
////		System.out.println("hello");
////		System.out.println(testfield+" "+testfield2+" "+testfield3);
////		testfield = 22;
//	}
	
	public void nix()
	{
	}
	
	public static Object getNull()
	{
		return null;
	}
	
//	public void setVal(double val)
//	{
//		String	belief	= "haha";
//		__agent.setAbstractBeliefValue(__globalname, belief, val);
//	}
//	
//	Integer	n	= Integer.valueOf(39784374);
//	Character	c 	= new Character('d');
//	Long	l	= new Long(247895);
//	Float	f	= new Float(378156);
//	Double	d	= new Double(91347);
//	
//	public byte getbVal()
//	{
//		return (byte)n.intValue();
//	}
//
//	public short getsVal()
//	{
//		return (short)n.intValue();
//	}
//
//	public int getiVal()
//	{
//		return n;
//	}
//
//	public long getlVal()
//	{
//		return l;
//	}
//
//	public float getfVal()
//	{
//		return f;
//	}
//
//	public double getdVal()
//	{
//		return d;
//	}
//
	public boolean getboVal()
	{
		return false;
	}
//
//	public char getcVal()
//	{
//		return c;
//	}

//	
//	public int inc()
//	{
//		return testfield2++;
//	}
//	
//	public int getTestfield()
//	{
//		return testfield;
//	}

//	public static void main(String[] args)
//	{
//		MyTestClass tm = new MyTestClass();
////		java -classpath "asm.jar;asm-util.jar" org.objectweb.asm.util.ASMifier org/domain/package/YourClass.class
//	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy