1 package com.j2biz.pencil.test.scenario.impl.classFunctions; 2 3 import com.j2biz.pencil.test.additional.TestLog; 4 5 public class ClassLineNumberFunctionScene { 6 7 static { 8 TestLog.debug("ClassNameFunctionScene.<clinit>() = 8"); 9 { 10 TestLog.debug("ClassNameFunctionScene.<clinit>().local = 10"); 11 } 12 } 13 14 { 15 TestLog.debug("ClassNameFunctionScene.<init>() = 15"); 16 17 { 18 TestLog.debug("ClassNameFunctionScene.<init>().local = 18"); 19 } 20 } 21 22 public static void main( String [] args ) { 23 TestLog.debug("ClassNameFunctionScene.main() = 23"); 24 25 new ClassLineNumberFunctionScene(); 26 27 class EmbeddedClass { 28 { 29 TestLog.debug("ClassNameFunctionScene.EmbeddedClass.<init>() = 29"); 30 31 { 32 TestLog.debug("ClassNameFunctionScene.EmbeddedClass.<init>().local = 32"); 33 } 34 } 35 } 36 37 new EmbeddedClass(); 38 } 39 } | Popular Tags |