Add ability to load previously found bugs back out of the database.
[cfb.git] / prod / net / jaekl / cfb / xml / BugMethod.java
index 4e5fc47ceb6f1c6c4c61fdcf45975cb9a0f449ef..f05c510af39ddd412df0744439cb3edcb445b032 100644 (file)
@@ -37,6 +37,15 @@ public class BugMethod extends ParseResult {
                m_sourceLines = new ArrayList<SourceLine>();
        }
        
+       public BugMethod(Long id, String methodName, String methodRole) {
+               super(TAG, INTERNAL, EXTERNAL);
+               m_className = null;
+               m_methodName = methodName;
+               m_role = methodRole;
+               m_isStatic = false;
+               m_sourceLines = new ArrayList<SourceLine>();
+       }
+       
        public String getClassName() { return m_className; }
        public String getMethodName() { return m_methodName; }
        public String getRole() { return m_role; }