X-Git-Url: http://jaekl.net/gitweb/?a=blobdiff_plain;f=prod%2Fnet%2Fjaekl%2Fcfb%2Fxml%2FBugMethod.java;h=f05c510af39ddd412df0744439cb3edcb445b032;hb=a4a577abc3f9b2b1147caafd1cb39fa8c2622cd4;hp=80afa93392a69b632cd3c9023982a5fc18d9c850;hpb=5bc9bbe3fd54b9fc7aa3b92d2d37e95c41b9645a;p=cfb.git diff --git a/prod/net/jaekl/cfb/xml/BugMethod.java b/prod/net/jaekl/cfb/xml/BugMethod.java index 80afa93..f05c510 100644 --- a/prod/net/jaekl/cfb/xml/BugMethod.java +++ b/prod/net/jaekl/cfb/xml/BugMethod.java @@ -37,6 +37,20 @@ public class BugMethod extends ParseResult { m_sourceLines = new ArrayList(); } + 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(); + } + + public String getClassName() { return m_className; } + public String getMethodName() { return m_methodName; } + public String getRole() { return m_role; } + public SourceLine[] getSourceLines() { return m_sourceLines.toArray(new SourceLine[m_sourceLines.size()]); } + @Override public void handleMainAttributes(Attributes attr) throws MissingAttributeException {