Esempio n. 1
0
        private static JMemberExpression GetClassName(ITypeDefinition ce)
        {
            var name = JNaming.JName2(ce).RemoveGenericArgs();

            name.PreviousMember = null;
            return(name);
        }
Esempio n. 2
0
        private string GetJFilename(ITypeDefinition ce)
        {
            var outputDir = "out";
            var att       = JMeta.GetJsExportAttribute(Project.Compilation.MainAssembly);

            if (att != null && att.OutputDir != null)
            {
                outputDir = att.OutputDir;
            }
            return(Path.Combine(outputDir, JNaming.JName2(ce).RemoveGenericArgs().ToJs().Replace(".", "\\") + ".java"));
        }