Ejemplo n.º 1
0
        /// <summary>
        /// Open a class by it's filename
        /// </summary>
        public ClassFile OpenClass(string fileName)
        {
            ClassFile result;

            if (classFiles.TryGetValue(fileName, out result))
            {
                return(result);
            }
            result = Jar.OpenClass(fileName);
            if (result == null)
            {
                return(null);
            }
            classFiles[fileName] = result;
#if DEBUG
            module.OnClassLoaded(result);
#endif
            return(result);
        }