| 1 16 package com.j2biz.pencil.test.stuff; 17 18 import com.j2biz.log.LOG; 19 20 21 public class TestCastingCallerClass { 22 23 24 final public TestCascadeInstance1 testVar = new TestCascadeInstance1(); 25 26 public TestCastingCallerClass() { 27 28 LOG.debug( "this.interface.public.instance = ${testVar.field1}" ); 29 LOG.debug( "this.interface.default.instance = ${testVar.field2}" ); 30 LOG.debug( "this.class.public.instance = ${testVar.field3}"); 31 LOG.debug( "this.class.default.instance = ${testVar.field4}" ); 32 33 LOG.debug( "parent.interface.public.instance = ${(com.j2biz.pencil.test.stuff.TestCastingInstance3):testVar.field1}" ); 35 LOG.debug( "parent.class.public.instance = ${(com.j2biz.pencil.test.stuff.TestCastingInstance2):testVar.field3}" ); 36 37 40 } 44 } 45 | Popular Tags |