org.jboss.aop.pointcut
Class Util
java.lang.Object
org.jboss.aop.pointcut.Util
- public class Util
- extends Object
Comment
- Version:
- $Revision: 1.21 $
- Author:
- Bill Burke
Constructor Summary |
Util()
|
Method Summary |
static boolean |
has(Class target,
ASTConstructor con,
Advisor advisor)
|
static boolean |
has(Class target,
ASTField field,
Advisor advisor)
|
static boolean |
has(Class target,
ASTField field,
Advisor advisor,
boolean checkSuper)
|
static boolean |
has(Class target,
ASTMethod method,
Advisor advisor)
|
static boolean |
has(Class target,
ASTMethod method,
Advisor advisor,
boolean checkSuper)
|
static boolean |
has(javassist.CtClass target,
ASTConstructor con,
Advisor advisor)
|
static boolean |
has(javassist.CtClass target,
ASTField field,
Advisor advisor)
|
static boolean |
has(javassist.CtClass target,
ASTField field,
Advisor advisor,
boolean checkSuper)
|
static boolean |
has(javassist.CtClass target,
ASTMethod method,
Advisor advisor)
|
static boolean |
has(javassist.CtClass target,
ASTMethod method,
Advisor advisor,
boolean checkSuper)
|
static boolean |
matchesClassExpr(ClassExpression classExpr,
Class clazz,
Advisor advisor)
|
static boolean |
matchesClassExpr(ClassExpression classExpr,
javassist.CtClass clazz,
Advisor advisor)
|
static boolean |
matchesTypedef(Class clazz,
ClassExpression classExpr,
Advisor advisor)
|
static boolean |
matchesTypedef(javassist.CtClass clazz,
ClassExpression classExpr,
Advisor advisor)
|
static boolean |
matchExceptions(ArrayList nodeExceptions,
Class[] foundExceptions)
|
static boolean |
matchExceptions(ArrayList nodeExceptions,
javassist.CtClass[] foundExceptions)
|
static boolean |
matchModifiers(ASTAttribute need,
int have)
|
static boolean |
subtypeOf(Class clazz,
ClassExpression instanceOf)
|
static boolean |
subtypeOf(javassist.CtClass clazz,
ClassExpression instanceOf)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Util
public Util()
matchesClassExpr
public static boolean matchesClassExpr(ClassExpression classExpr,
javassist.CtClass clazz,
Advisor advisor)
matchesClassExpr
public static boolean matchesClassExpr(ClassExpression classExpr,
Class clazz,
Advisor advisor)
subtypeOf
public static boolean subtypeOf(javassist.CtClass clazz,
ClassExpression instanceOf)
subtypeOf
public static boolean subtypeOf(Class clazz,
ClassExpression instanceOf)
has
public static boolean has(javassist.CtClass target,
ASTMethod method,
Advisor advisor)
has
public static boolean has(javassist.CtClass target,
ASTMethod method,
Advisor advisor,
boolean checkSuper)
has
public static boolean has(javassist.CtClass target,
ASTField field,
Advisor advisor)
has
public static boolean has(javassist.CtClass target,
ASTField field,
Advisor advisor,
boolean checkSuper)
has
public static boolean has(javassist.CtClass target,
ASTConstructor con,
Advisor advisor)
has
public static boolean has(Class target,
ASTMethod method,
Advisor advisor)
has
public static boolean has(Class target,
ASTMethod method,
Advisor advisor,
boolean checkSuper)
has
public static boolean has(Class target,
ASTField field,
Advisor advisor)
has
public static boolean has(Class target,
ASTField field,
Advisor advisor,
boolean checkSuper)
has
public static boolean has(Class target,
ASTConstructor con,
Advisor advisor)
matchesTypedef
public static boolean matchesTypedef(javassist.CtClass clazz,
ClassExpression classExpr,
Advisor advisor)
matchesTypedef
public static boolean matchesTypedef(Class clazz,
ClassExpression classExpr,
Advisor advisor)
matchModifiers
public static boolean matchModifiers(ASTAttribute need,
int have)
matchExceptions
public static boolean matchExceptions(ArrayList nodeExceptions,
javassist.CtClass[] foundExceptions)
- Parameters:
nodeExceptions
- ArrayList of ASTException entries for a given ASTMethod or ASTConstructorfoundExceptions
- Array of Exceptions found for a method/constructor
matchExceptions
public static boolean matchExceptions(ArrayList nodeExceptions,
Class[] foundExceptions)
- Parameters:
nodeExceptions
- ArrayList of ASTException entries for a given ASTMethod or ASTConstructorfoundExceptions
- Array of Exceptions found for a method/constructor
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.