public FieldCompiler(ICompiler compiler, VariableDeclaration variableDeclaration)
        {
            _compiler = compiler;
            _variableDeclaration = variableDeclaration;

            var className = ((ClassType)_compiler.GetPreviousContextFromStack(0)).Name;
            _javaClass = JavaClassMetadata.GetClass(className);
        }
        private static string GetClassName(ICompiler compiler)
        {
            var classType = compiler.GetPreviousContextFromStack<ClassType>();

            return classType == null ? null : classType.Name;
        }