From: chiba Date: Mon, 12 Jun 2006 18:43:54 +0000 (+0000) Subject: modified javadocs. X-Git-Tag: rel_3_17_1_ga~350 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d759705aca5094a3d907179421dae4a99be59fde;p=javassist.git modified javadocs. git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@281 30ef5769-5b8d-40dd-aea6-55b5d6557bb3 --- diff --git a/src/main/javassist/CtClass.java b/src/main/javassist/CtClass.java index fe592998..265e338f 100644 --- a/src/main/javassist/CtClass.java +++ b/src/main/javassist/CtClass.java @@ -436,6 +436,8 @@ public abstract class CtClass { /** * Determines whether this object represents an annotation type. * It returns true if this object represents an annotation type. + * + * @since 3.2 */ public boolean isAnnotation() { return false; @@ -444,6 +446,8 @@ public abstract class CtClass { /** * Determines whether this object represents an enum. * It returns true if this object represents an enum. + * + * @since 3.2 */ public boolean isEnum() { return false; diff --git a/src/main/javassist/Modifier.java b/src/main/javassist/Modifier.java index 730e24b6..44a17633 100644 --- a/src/main/javassist/Modifier.java +++ b/src/main/javassist/Modifier.java @@ -134,6 +134,8 @@ public class Modifier { /** * Returns true if the modifiers include the annotation * modifier. + * + * @since 3.2 */ public static boolean isAnnotation(int mod) { return (mod & ANNOTATION) != 0; @@ -142,6 +144,8 @@ public class Modifier { /** * Returns true if the modifiers include the enum * modifier. + * + * @since 3.2 */ public static boolean isEnum(int mod) { return (mod & ENUM) != 0; diff --git a/src/main/javassist/util/proxy/ProxyFactory.java b/src/main/javassist/util/proxy/ProxyFactory.java index f0dd6777..9ce9f147 100644 --- a/src/main/javassist/util/proxy/ProxyFactory.java +++ b/src/main/javassist/util/proxy/ProxyFactory.java @@ -47,7 +47,7 @@ import javassist.bytecode.*; * public Object invoke(Object self, Method m, Method proceed, * Object[] args) throws Throwable { * System.out.println("Name: " + m.getName()); - * proceed.invoke(self, args); // execute the original method. + * return proceed.invoke(self, args); // execute the original method. * } * }; * f.setHandler(mi);