Package org.aspectj.asm
Schnittstelle IElementHandleProvider
- Alle bekannten Implementierungsklassen:
JDTLikeHandleProvider
public interface IElementHandleProvider
Adapter used to uniquely identify program element handles. Can be implemented and overridden in @see{AsmManager} in order to
provide IDE-specific mechanisms of identifying elements. For example, AJDT uses workspace-relative paths that are understood by
its JavaCore class.
- Autor:
- Mik Kersten
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungcreateHandleIdentifier
(File sourceFile, int line, int column, int offset) createHandleIdentifier
(ISourceLocation location) getFileForHandle
(String handle) NOTE: this is necessary for the current implementation to look up nodes, but we may want to consider removing it.int
getLineNumberForHandle
(String handle) NOTE: this is necessary for the current implementation to look up nodes, but we may want to consider removing it.int
getOffSetForHandle
(String handle) void
Initializes handle provider state.
-
Methodendetails
-
createHandleIdentifier
- Gibt zurück:
- a String uniquely identifying this element
-
createHandleIdentifier
- Gibt zurück:
- a String uniquely identifying this element
-
createHandleIdentifier
- Gibt zurück:
- a String uniquely identifying this element
-
getFileForHandle
NOTE: this is necessary for the current implementation to look up nodes, but we may want to consider removing it.- Gibt zurück:
- a String corresponding to the
-
getLineNumberForHandle
NOTE: this is necessary for the current implementation to look up nodes, but we may want to consider removing it.- Gibt zurück:
- the line number corresponding to this handel
-
getOffSetForHandle
-
initialize
void initialize()Initializes handle provider state. The initializer is invoked when a new ASM is created on a full build.
-