Package org.aspectj.asm.internal
Klasse JDTLikeHandleProvider
java.lang.Object
org.aspectj.asm.internal.JDTLikeHandleProvider
- Alle implementierten Schnittstellen:
IElementHandleProvider
Creates JDT-like handles, for example
- method with string argument:
<tjp{Demo.java[Demo~main~\[QString; - method with generic argument:
<pkg{MyClass.java[MyClass~myMethod~QList\<QString;>; - aspect:
<pkg*A1.aj}A1 - advice with Integer arg:
<pkg*A8.aj}A8&afterReturning&QInteger; - method call:
<pkg*A10.aj[C~m1?method-call(void pkg.C.m2())
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungcreateHandleIdentifier(File sourceFile, int line, int column, int offset) createHandleIdentifier(ISourceLocation location) booleangetFileForHandle(String handle) NOTE: this is necessary for the current implementation to look up nodes, but we may want to consider removing it.intgetLineNumberForHandle(String handle) NOTE: this is necessary for the current implementation to look up nodes, but we may want to consider removing it.intgetOffSetForHandle(String handle) voidInitializes handle provider state.
-
Konstruktordetails
-
JDTLikeHandleProvider
-
-
Methodendetails
-
initialize
public void initialize()Beschreibung aus Schnittstelle kopiert:IElementHandleProviderInitializes handle provider state. The initializer is invoked when a new ASM is created on a full build.- Angegeben von:
initializein SchnittstelleIElementHandleProvider
-
createHandleIdentifier
- Angegeben von:
createHandleIdentifierin SchnittstelleIElementHandleProvider- Gibt zurück:
- a String uniquely identifying this element
-
getFileForHandle
Beschreibung aus Schnittstelle kopiert:IElementHandleProviderNOTE: this is necessary for the current implementation to look up nodes, but we may want to consider removing it.- Angegeben von:
getFileForHandlein SchnittstelleIElementHandleProvider- Gibt zurück:
- a String corresponding to the
-
getLineNumberForHandle
Beschreibung aus Schnittstelle kopiert:IElementHandleProviderNOTE: this is necessary for the current implementation to look up nodes, but we may want to consider removing it.- Angegeben von:
getLineNumberForHandlein SchnittstelleIElementHandleProvider- Gibt zurück:
- the line number corresponding to this handel
-
getOffSetForHandle
- Angegeben von:
getOffSetForHandlein SchnittstelleIElementHandleProvider
-
createHandleIdentifier
- Angegeben von:
createHandleIdentifierin SchnittstelleIElementHandleProvider- Gibt zurück:
- a String uniquely identifying this element
-
createHandleIdentifier
- Angegeben von:
createHandleIdentifierin SchnittstelleIElementHandleProvider- Gibt zurück:
- a String uniquely identifying this element
-
dependsOnLocation
public boolean dependsOnLocation()
-