X-Git-Url: http://jaekl.net/gitweb/?a=blobdiff_plain;f=prod%2Fnet%2Fjaekl%2Fcfb%2Fxml%2FBugMethod.java;h=f05c510af39ddd412df0744439cb3edcb445b032;hb=a4a577abc3f9b2b1147caafd1cb39fa8c2622cd4;hp=33c615a858780cd79c0f76a5fe9d49412b0aa692;hpb=598968590bf67cf87d3243878f7ebb2ff8015065;p=cfb.git diff --git a/prod/net/jaekl/cfb/xml/BugMethod.java b/prod/net/jaekl/cfb/xml/BugMethod.java index 33c615a..f05c510 100644 --- a/prod/net/jaekl/cfb/xml/BugMethod.java +++ b/prod/net/jaekl/cfb/xml/BugMethod.java @@ -37,8 +37,18 @@ 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