protected override void BeforeParse()
 {
     AddJavaLangObjectBaseType objectBaseTypeAdder = new AddJavaLangObjectBaseType();
     objectBaseTypeAdder.CodeBase = codeBase;
     codeBase.Types.Visitors.Add(objectBaseTypeAdder);
     if (Mode == GetMode(typeof(ExternalInterfaceTransformer)))
     {
         ExternalInterfaceTransformer externalInterfaceTransformer = new ExternalInterfaceTransformer();
         externalInterfaceTransformer.CodeBase = codeBase;
         codeBase.Types.Visitors.Add(externalInterfaceTransformer);
     }
 }
Exemplo n.º 2
0
        protected override void BeforeParse()
        {
            AddJavaLangObjectBaseType objectBaseTypeAdder = new AddJavaLangObjectBaseType();

            objectBaseTypeAdder.CodeBase = codeBase;
            codeBase.Types.Visitors.Add(objectBaseTypeAdder);
            if (Mode == GetMode(typeof(ExternalInterfaceTransformer)))
            {
                ExternalInterfaceTransformer externalInterfaceTransformer = new ExternalInterfaceTransformer();
                externalInterfaceTransformer.CodeBase = codeBase;
                codeBase.Types.Visitors.Add(externalInterfaceTransformer);
            }
        }