org.seasar.framework.aop.intertype
クラス AbstractInterType

java.lang.Object
  拡張org.seasar.framework.aop.intertype.AbstractInterType
すべての実装インタフェース:
InterType
直系の既知のサブクラス:
PropertyInterType

public abstract class AbstractInterType
extends Object
implements InterType


フィールドの概要
protected  ClassPool classPool
           
static String COMPONENT
           
protected  CtClass enhancedClass
           
protected  Class targetClass
           
 
コンストラクタの概要
AbstractInterType()
           
 
メソッドの概要
protected  void addConstant(Class type, String name, String init)
           
protected  void addField(Class type, String name)
           
protected  void addField(Class type, String name, String init)
           
protected  void addField(int modifiers, Class type, String name)
           
protected  void addField(int modifiers, Class type, String name, CtField.Initializer init)
           
protected  void addField(int modifiers, Class type, String name, String init)
           
protected  void addField(String src)
           
protected  void addInterface(Class clazz)
           
protected  void addMethod(Class returnType, String name, Class[] paramTypes, Class[] exceptionTypes, String src)
           
protected  void addMethod(Class returnType, String name, Class[] paramTypes, String src)
           
protected  void addMethod(Class returnType, String name, String src)
           
protected  void addMethod(int modifiers, Class returnType, String name, Class[] paramTypes, Class[] exceptionTypes, String src)
           
protected  void addMethod(String src)
           
protected  void addMethod(String name, Class[] paramTypes, Class[] exceptionTypes, String src)
           
protected  void addMethod(String name, Class[] paramTypes, String src)
           
protected  void addMethod(String name, String src)
           
protected  void addStaticField(Class type, String name)
           
protected  void addStaticField(Class type, String name, String init)
           
protected  void addStaticField(int modifiers, Class type, String name)
           
protected  void addStaticField(int modifiers, Class type, String name, CtField.Initializer init)
           
protected  void addStaticField(int modifiers, Class type, String name, String init)
           
protected  void addStaticMethod(Class returnType, String name, Class[] paramTypes, Class[] exceptionTypes, String src)
           
protected  void addStaticMethod(Class returnType, String name, Class[] paramTypes, String src)
           
protected  void addStaticMethod(Class returnType, String name, String src)
           
protected  void addStaticMethod(String name, Class[] paramTypes, Class[] exceptionTypes, String src)
           
protected  void addStaticMethod(String name, Class[] paramTypes, String src)
           
protected  void addStaticMethod(String name, String src)
           
protected  ClassPool getClassPool()
           
protected  CtClass getEnhancedClass()
           
protected  Class getTargetClass()
           
protected abstract  void introduce()
           
 void introduce(Class targetClass, CtClass enhancedClass)
           
protected  CtClass toCtClass(Class clazz)
           
protected  CtClass[] toCtClassArray(Class[] classes)
           
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

COMPONENT

public static final String COMPONENT
関連項目:
定数フィールド値

targetClass

protected Class targetClass

enhancedClass

protected CtClass enhancedClass

classPool

protected ClassPool classPool
コンストラクタの詳細

AbstractInterType

public AbstractInterType()
メソッドの詳細

introduce

public void introduce(Class targetClass,
                      CtClass enhancedClass)
定義:
インタフェース InterType 内の introduce

introduce

protected abstract void introduce()
                           throws CannotCompileException,
                                  NotFoundException
例外:
CannotCompileException
NotFoundException

getTargetClass

protected Class getTargetClass()

getEnhancedClass

protected CtClass getEnhancedClass()

getClassPool

protected ClassPool getClassPool()

addInterface

protected void addInterface(Class clazz)

addField

protected void addField(Class type,
                        String name)

addField

protected void addField(Class type,
                        String name,
                        String init)

addStaticField

protected void addStaticField(Class type,
                              String name)

addStaticField

protected void addStaticField(Class type,
                              String name,
                              String init)

addConstant

protected void addConstant(Class type,
                           String name,
                           String init)

addStaticField

protected void addStaticField(int modifiers,
                              Class type,
                              String name)

addStaticField

protected void addStaticField(int modifiers,
                              Class type,
                              String name,
                              String init)

addStaticField

protected void addStaticField(int modifiers,
                              Class type,
                              String name,
                              CtField.Initializer init)

addField

protected void addField(int modifiers,
                        Class type,
                        String name)

addField

protected void addField(String src)

addField

protected void addField(int modifiers,
                        Class type,
                        String name,
                        String init)

addField

protected void addField(int modifiers,
                        Class type,
                        String name,
                        CtField.Initializer init)

addMethod

protected void addMethod(String name,
                         String src)

addMethod

protected void addMethod(String name,
                         Class[] paramTypes,
                         String src)

addMethod

protected void addMethod(String name,
                         Class[] paramTypes,
                         Class[] exceptionTypes,
                         String src)

addMethod

protected void addMethod(Class returnType,
                         String name,
                         String src)

addMethod

protected void addMethod(Class returnType,
                         String name,
                         Class[] paramTypes,
                         String src)

addMethod

protected void addMethod(Class returnType,
                         String name,
                         Class[] paramTypes,
                         Class[] exceptionTypes,
                         String src)

addStaticMethod

protected void addStaticMethod(String name,
                               String src)

addStaticMethod

protected void addStaticMethod(String name,
                               Class[] paramTypes,
                               String src)

addStaticMethod

protected void addStaticMethod(String name,
                               Class[] paramTypes,
                               Class[] exceptionTypes,
                               String src)

addStaticMethod

protected void addStaticMethod(Class returnType,
                               String name,
                               String src)

addStaticMethod

protected void addStaticMethod(Class returnType,
                               String name,
                               Class[] paramTypes,
                               String src)

addStaticMethod

protected void addStaticMethod(Class returnType,
                               String name,
                               Class[] paramTypes,
                               Class[] exceptionTypes,
                               String src)

addMethod

protected void addMethod(int modifiers,
                         Class returnType,
                         String name,
                         Class[] paramTypes,
                         Class[] exceptionTypes,
                         String src)

addMethod

protected void addMethod(String src)

toCtClass

protected CtClass toCtClass(Class clazz)

toCtClassArray

protected CtClass[] toCtClassArray(Class[] classes)


Copyright © 2004-2007 The Seasar Foundation. All Rights Reserved.