This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Add API for identification of methods in source code | ||
---|---|---|---|
Product: | debugger | Reporter: | Martin Entlicher <mentlicher> |
Component: | Java | Assignee: | Martin Entlicher <mentlicher> |
Status: | CLOSED FIXED | ||
Severity: | blocker | Keywords: | API, API_REVIEW_FAST |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 43066, 65015 | ||
Attachments: | The textual diff of the API change. |
Description
Martin Entlicher
2007-05-14 18:21:08 UTC
Two new methods need to be added into org.netbeans.spi.debugger.jpda.EditorContext: int getMethodLineNumber(url, className, methodName, methodSignature) String[] getCurrentMethodDeclaration() Created attachment 42385 [details]
The textual diff of the API change.
Please review this simple API change in debugger. '@param url the url of file the class is deined in' - looks like some typo (defined?). btw: does it mean URL of source file or classfile? It means url of the source file. I'll correct the Javadoc, the same sentence is used in Javadoc of getFieldLineNumber(), and similar in getClassName(). Thanks for the review, I'll commit the change later today... The API change is committed to trunk: /cvs/debuggerjpda/api/apichanges.xml,v <-- apichanges.xml new revision: 1.22; previous revision: 1.21 /cvs/debuggerjpda/api/manifest.mf,v <-- manifest.mf new revision: 1.23; previous revision: 1.22 /cvs/debuggerjpda/api/src/org/netbeans/spi/debugger/jpda/EditorContext.java,v <-- EditorContext.java new revision: 1.12; previous revision: 1.11 /cvs/debuggerjpda/projects/src/org/netbeans/modules/debugger/jpda/projects/Bundle.properties,v <-- Bundle.properties new revision: 1.3; previous revision: 1.2 /cvs/debuggerjpda/projects/src/org/netbeans/modules/debugger/jpda/projects/DebuggerAnnotation.java,v <-- DebuggerAnnotation.java new revision: 1.4; previous revision: 1.3 /cvs/debuggerjpda/projects/src/org/netbeans/modules/debugger/jpda/projects/EditorContextImpl.java,v <-- EditorContextImpl.java new revision: 1.19; previous revision: 1.18 /cvs/debuggerjpda/projects/src/org/netbeans/modules/debugger/jpda/projects/SourcePathProviderImpl.java,v <-- SourcePathProviderImpl.java new revision: 1.3; previous revision: 1.2 Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier. |