aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/src/main/java/org/aspectj/lang/JoinPoint.java
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/src/main/java/org/aspectj/lang/JoinPoint.java')
-rw-r--r--runtime/src/main/java/org/aspectj/lang/JoinPoint.java70
1 files changed, 35 insertions, 35 deletions
diff --git a/runtime/src/main/java/org/aspectj/lang/JoinPoint.java b/runtime/src/main/java/org/aspectj/lang/JoinPoint.java
index 78ffce265..03c834e7a 100644
--- a/runtime/src/main/java/org/aspectj/lang/JoinPoint.java
+++ b/runtime/src/main/java/org/aspectj/lang/JoinPoint.java
@@ -1,14 +1,14 @@
/* *******************************************************************
- * Copyright (c) 1999-2001 Xerox Corporation,
+ * Copyright (c) 1999-2001 Xerox Corporation,
* 2002 Palo Alto Research Center, Incorporated (PARC).
- * All rights reserved.
- * This program and the accompanying materials are made available
- * under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Xerox/PARC initial implementation
+ * All rights reserved.
+ * This program and the accompanying materials are made available
+ * under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Xerox/PARC initial implementation
* ******************************************************************/
@@ -56,7 +56,7 @@ public interface JoinPoint {
*
* <p> Returns null when there is no currently executing object available.
* This includes all join points that occur in a static context.</p>
- *
+ *
* @return the currently executing object (or null if not available - e.g. static context)
*/
Object getThis();
@@ -69,7 +69,7 @@ public interface JoinPoint {
* get at this object for better static typing and performance.
*
* Returns null when there is no target object
- *
+ *
* @return the target object (or null if there isn't one)
*/
Object getTarget();
@@ -85,21 +85,21 @@ public interface JoinPoint {
*/
Signature getSignature();
- /**
+ /**
*
* <p>If there is no source location available, returns null.</p>
*
* <p>Returns the SourceLocation of the defining class for default constructors.</p>
*
* <p> <code>getStaticPart().getSourceLocation()</code> returns the same object. </p>
- *
+ *
* @return the source location corresponding to the join point.
*/
SourceLocation getSourceLocation();
/** This string is guaranteed to be interned.
* <code>getStaticPart().getKind()</code> returns the same object.
- *
+ *
* @return a string representing the kind of join point.
*/
String getKind();
@@ -129,7 +129,7 @@ public interface JoinPoint {
*
* @see JoinPoint#getStaticPart()
*/
- public interface StaticPart {
+ interface StaticPart {
/** @return the signature at the join point. */
Signature getSignature();
@@ -145,14 +145,14 @@ public interface JoinPoint {
* is guaranteed to be interned
*/
String getKind();
-
+
/**
* Return the id for this JoinPoint.StaticPart. All JoinPoint.StaticPart
- * instances are assigned an id number upon creation. For each advised type
+ * instances are assigned an id number upon creation. For each advised type
* the id numbers start at 0.
* <br>
- * The id is guaranteed to remain constant across repeated executions
- * of a program but may change if the code is recompiled.
+ * The id is guaranteed to remain constant across repeated executions
+ * of a program but may change if the code is recompiled.
* <br>
* The benefit of having an id is that it can be used for array index
* purposes which can be quicker than using the JoinPoint.StaticPart
@@ -162,7 +162,7 @@ public interface JoinPoint {
* the same id, then if the id is being used to index some joinpoint specific
* state then that state must be maintained on a pertype basis - either by
* using pertypewithin() or an ITD.
- *
+ *
* @return the id of this joinpoint
*/
int getId();
@@ -180,7 +180,7 @@ public interface JoinPoint {
String toLongString();
}
- public interface EnclosingStaticPart extends StaticPart {}
+ interface EnclosingStaticPart extends StaticPart {}
/**
* @return an object that encapsulates the static parts of this join point.
@@ -191,19 +191,19 @@ public interface JoinPoint {
/**
* The legal return values from getKind()
*/
- static String METHOD_EXECUTION = "method-execution";
- static String METHOD_CALL = "method-call";
- static String CONSTRUCTOR_EXECUTION = "constructor-execution";
- static String CONSTRUCTOR_CALL = "constructor-call";
- static String FIELD_GET = "field-get";
- static String FIELD_SET = "field-set";
- static String STATICINITIALIZATION = "staticinitialization";
- static String PREINITIALIZATION = "preinitialization";
- static String INITIALIZATION = "initialization";
- static String EXCEPTION_HANDLER = "exception-handler";
- static String SYNCHRONIZATION_LOCK = "lock";
- static String SYNCHRONIZATION_UNLOCK = "unlock";
-
- static String ADVICE_EXECUTION = "adviceexecution";
+ String METHOD_EXECUTION = "method-execution";
+ String METHOD_CALL = "method-call";
+ String CONSTRUCTOR_EXECUTION = "constructor-execution";
+ String CONSTRUCTOR_CALL = "constructor-call";
+ String FIELD_GET = "field-get";
+ String FIELD_SET = "field-set";
+ String STATICINITIALIZATION = "staticinitialization";
+ String PREINITIALIZATION = "preinitialization";
+ String INITIALIZATION = "initialization";
+ String EXCEPTION_HANDLER = "exception-handler";
+ String SYNCHRONIZATION_LOCK = "lock";
+ String SYNCHRONIZATION_UNLOCK = "unlock";
+
+ String ADVICE_EXECUTION = "adviceexecution";
}