@@ -0,0 +1,1458 @@
+package org.dbflute.intro.bizfw.code;%0A%0Aimport java.io.File;%0A%0Aimport org.dbflute.utflute.core.PlainTestCase;%0Aimport org.dbflute.utflute.core.filesystem.FileLineHandler;%0Aimport org.dbflute.utflute.core.policestory.javaclass.PoliceStoryJavaClassHandler;%0Aimport org.dbflute.util.Srl;%0A%0A/**%0A * @author jflute%0A */%0Apublic class CodeManagementTest extends PlainTestCase %7B%0A%0A    public void test_decooment_decoMapFile_dependency() %7B%0A        policeStoryOfJavaClassChase(new PoliceStoryJavaClassHandler() %7B%0A            public void handle(File srcFile, Class%3C?%3E clazz) %7B%0A                if (clazz.getName().startsWith(%22org.dbflute.infra%22)) %7B // e.g. DfDecoMapFile%0A                    log(%22...Checking infra class: %7B%7D%22, clazz.getName());%0A                    readLine(srcFile, %22UTF-8%22, new FileLineHandler() %7B%0A                        public void handle(String line) %7B%0A                            if (line.startsWith(%22import %22)) %7B%0A                                String refName = Srl.rtrim(Srl.substringFirstRear(line, %22import %22), %22;%22);%0A                                if (refName.startsWith(%22org.dbflute.intro%22)) %7B%0A                                    String msg = %22Cannot refer to intro classes: %22 + clazz.getName() + %22, %22 + refName;%0A                                    throw new IllegalStateException(msg);%0A                                %7D%0A                            %7D%0A                        %7D%0A                    %7D);%0A                %7D%0A            %7D%0A        %7D);%0A    %7D%0A%7D%0A

make CodeManagementTest for decoMapFile