/** * Parse persistence metadata for the given class. */ public void parse(Class<?> cls) { if (_log.isTraceEnabled()) _log.trace(_loc.get("parse-class", cls.getName())); _cls = cls; _stack.push(cls); try { parsePackageAnnotations(); ClassMetaData meta = parseClassAnnotations(); updateSourceMode(meta); } finally { _stack.pop(); _cls = _stack.isEmpty() ? null : _stack.peek(); _file = null; } }
/** * Parse persistence metadata for the given class. */ public void parse(Class<?> cls) { if (_log.isTraceEnabled()) _log.trace(_loc.get("parse-class", cls.getName())); _cls = cls; _stack.push(cls); try { parsePackageAnnotations(); ClassMetaData meta = parseClassAnnotations(); updateSourceMode(meta); } finally { _stack.pop(); _cls = _stack.isEmpty() ? null : _stack.peek(); _file = null; } }
/** * Parse persistence metadata for the given class. */ public void parse(Class<?> cls) { if (_log.isTraceEnabled()) _log.trace(_loc.get("parse-class", cls.getName())); _cls = cls; _stack.push(cls); try { parsePackageAnnotations(); ClassMetaData meta = parseClassAnnotations(); updateSourceMode(meta); } finally { _stack.pop(); _cls = _stack.isEmpty() ? null : _stack.peek(); _file = null; } }
/** * Parse persistence metadata for the given class. */ public void parse(Class<?> cls) { if (_log.isTraceEnabled()) _log.trace(_loc.get("parse-class", cls.getName())); _cls = cls; _stack.push(cls); try { parsePackageAnnotations(); ClassMetaData meta = parseClassAnnotations(); updateSourceMode(meta); } finally { _stack.pop(); _cls = _stack.isEmpty() ? null : _stack.peek(); _file = null; } }
/** * Parse persistence metadata for the given class. */ public void parse(Class cls) { if (_log.isTraceEnabled()) _log.trace(_loc.get("parse-class", cls.getName())); _cls = cls; try { parsePackageAnnotations(); ClassMetaData meta = parseClassAnnotations(); updateSourceMode(meta); } finally { _cls = null; _file = null; } }