aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/src
diff options
context:
space:
mode:
authorAndy Clement <aclement@pivotal.io>2018-10-15 08:42:28 -0700
committerAndy Clement <aclement@pivotal.io>2018-10-15 08:42:28 -0700
commit432d4845cb8e460b9e46c2a422179416728289ad (patch)
tree029a3096b3ed977b2c35f2468244dcfc282c1187 /runtime/src
parent28dfb7737d25788e12db01555641f9c2dd31521a (diff)
downloadaspectj-432d4845cb8e460b9e46c2a422179416728289ad.tar.gz
aspectj-432d4845cb8e460b9e46c2a422179416728289ad.zip
polish javadoc
Diffstat (limited to 'runtime/src')
-rw-r--r--runtime/src/org/aspectj/lang/Aspects14.java24
1 files changed, 12 insertions, 12 deletions
diff --git a/runtime/src/org/aspectj/lang/Aspects14.java b/runtime/src/org/aspectj/lang/Aspects14.java
index d2ae3e0f7..b7f3a3a4b 100644
--- a/runtime/src/org/aspectj/lang/Aspects14.java
+++ b/runtime/src/org/aspectj/lang/Aspects14.java
@@ -12,9 +12,9 @@
package org.aspectj.lang;
+import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
-import java.lang.reflect.InvocationTargetException;
/**
* For users working on a level of Java prior to Java5, Aspects14 handles generic aspectOf methods when they
@@ -36,8 +36,8 @@ public class Aspects14 {
/**
* Returns the singleton aspect or the percflow / percflowbelow associated with the current thread
*
- * @param aspectClass
- * @return
+ * @param aspectClass aspect class for which to discover the aspect instance
+ * @return an aspect instance
* @throws NoAspectBoundException if no such aspect
*/
public static Object aspectOf(Class aspectClass) throws NoAspectBoundException {
@@ -53,9 +53,9 @@ public class Aspects14 {
/**
* Returns the perthis / pertarget aspect
- * @param aspectClass
- * @param perObject
- * @return
+ * @param aspectClass aspect class for which to discover the aspect instance
+ * @param perObject object for which to discover the aspect instance
+ * @return an aspect instance
* @throws NoAspectBoundException if no such aspect, or no aspect bound
*/
public static Object aspectOf(Class aspectClass, Object perObject) throws NoAspectBoundException {
@@ -71,7 +71,7 @@ public class Aspects14 {
/**
* Returns the pertypewithin aspect
- * @param aspectClass
+ * @param aspectClass aspect class for which to discover the aspect instance
* @param perTypeWithin class
* @return
* @throws NoAspectBoundException if no such aspect, or no aspect bound
@@ -90,7 +90,7 @@ public class Aspects14 {
/**
* Returns true if singleton aspect or percflow / percflowbelow aspect is bound
*
- * @param aspectClass
+ * @param aspectClass aspect class for which to check the aspect instance
* @return
* @throws NoAspectBoundException if not bound
*/
@@ -104,9 +104,9 @@ public class Aspects14 {
/**
* Returns true if the perthis / pertarget aspect is bound
- * @param aspectClass
+ * @param aspectClass aspect class for which to check the aspect instance
* @param perObject
- * @return
+ * @return true if aspect instance exists for the class/object combination
* @throws NoAspectBoundException if not bound
*/
public static boolean hasAspect(Class aspectClass, Object perObject) throws NoAspectBoundException {
@@ -119,9 +119,9 @@ public class Aspects14 {
/**
* Returns true if the pertypewithin aspect is bound
- * @param aspectClass
+ * @param aspectClass aspect class for which to check the aspect instance
* @param perTypeWithin class
- * @return
+ * @return true if aspect instance exists for this aspect class/pertypewithin class combination
* @throws NoAspectBoundException if not bound
*/
public static boolean hasAspect(Class aspectClass, Class perTypeWithin) throws NoAspectBoundException {