org.vishia.java2C.test
Class TestAnonymous

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

public class TestAnonymous
extends java.lang.Object


Nested Class Summary
(package private)  class TestAnonymous.TestInnerNonstatic
           
(package private) static class TestAnonymous.TestInnerStatic
           
 
Field Summary
(package private)  SimpleClass ref
           
(package private)  SimpleClass ref2
          An composite instance is able to access with the type SimpleClass, but it is an enhanced instance of ImplIfc, which based in SimpleClass.
(package private)  SimpleClass staticAnonymous
          A static anonymous instantiated reference.
(package private)  int testValueOuter
           
 
Constructor Summary
TestAnonymous()
           
 
Method Summary
(package private)  void setRef(SimpleClass ref)
           
(package private)  void test()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

testValueOuter

int testValueOuter

ref

SimpleClass ref

ref2

final SimpleClass ref2
An composite instance is able to access with the type SimpleClass, but it is an enhanced instance of ImplIfc, which based in SimpleClass. It is suitable to use


staticAnonymous

SimpleClass staticAnonymous
A static anonymous instantiated reference. TODO: The static variant doesn't work yet (Version 0.92) because the instantiation isn't clarified.

Constructor Detail

TestAnonymous

public TestAnonymous()
Method Detail

setRef

void setRef(SimpleClass ref)

test

void test()