Explorar el Código

modified javadocs.


git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@281 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
tags/rel_3_17_1_ga
chiba hace 18 años
padre
commit
d759705aca

+ 4
- 0
src/main/javassist/CtClass.java Ver fichero

@@ -436,6 +436,8 @@ public abstract class CtClass {
/**
* Determines whether this object represents an annotation type.
* It returns <code>true</code> 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 <code>true</code> if this object represents an enum.
*
* @since 3.2
*/
public boolean isEnum() {
return false;

+ 4
- 0
src/main/javassist/Modifier.java Ver fichero

@@ -134,6 +134,8 @@ public class Modifier {
/**
* Returns true if the modifiers include the <tt>annotation</tt>
* 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 <tt>enum</tt>
* modifier.
*
* @since 3.2
*/
public static boolean isEnum(int mod) {
return (mod & ENUM) != 0;

+ 1
- 1
src/main/javassist/util/proxy/ProxyFactory.java Ver fichero

@@ -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);

Cargando…
Cancelar
Guardar