org.vishia.java2C.test
Class AnyClass

java.lang.Object
  extended by org.vishia.java2C.test.AnyClass

public class AnyClass
extends java.lang.Object


Field Summary
(package private)  ImplIfc ref
          The ref is needed to test #returnRefSimle(int) for concatenations of references.
(package private)  int x1
           
 
Constructor Summary
AnyClass(ImplIfc ref)
          Check whether a static instance of this class is translated to C.
 
Method Summary
(package private)  int addValue(int value)
          Any final method to call.
(package private)  int addValueOverrideable(int value)
          Any override-able method to call.
(package private)  ImplIfc returnRef()
          Returns any other instance.
(package private)  ImplIfc returnRefOverrideable()
          Returns any other instance, but this method is able to override, non final.
(package private)  AnyClass returnThis(int value)
          Returns itself (this)
(package private)  AnyClass returnThisOverrideable(int value)
          Returns itself (this), but the method is able to override.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

x1

int x1

ref

ImplIfc ref
The ref is needed to test #returnRefSimle(int) for concatenations of references.

Constructor Detail

AnyClass

AnyClass(ImplIfc ref)
Check whether a static instance of this class is translated to C.

Method Detail

addValue

final int addValue(int value)
Any final method to call.


addValueOverrideable

int addValueOverrideable(int value)
Any override-able method to call.


returnThis

final AnyClass returnThis(int value)
Returns itself (this)

Parameters:
value -
Returns:

returnThisOverrideable

AnyClass returnThisOverrideable(int value)
Returns itself (this), but the method is able to override. Therefore a dynamic call should be used.


returnRef

final ImplIfc returnRef()
Returns any other instance.

Parameters:
value -
Returns:

returnRefOverrideable

ImplIfc returnRefOverrideable()
Returns any other instance, but this method is able to override, non final.

Parameters:
value -
Returns: