org.seasar.aptina.beans.internal
クラス BeansProcessor
java.lang.Object
javax.annotation.processing.AbstractProcessor
org.seasar.aptina.beans.internal.BeansProcessor
- すべての実装されたインタフェース:
- Processor
@SupportedSourceVersion(value=RELEASE_6)
@SupportedAnnotationTypes(value="org.seasar.aptina.beans.BeanState")
public class BeansProcessor
- extends AbstractProcessor
BeanState
で注釈されたクラス (状態クラス) のフィールドに対する getter/setter メソッドを持つサブクラス
(Bean クラス) を生成する Annotation Processor です.
- 作成者:
- koichik
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
messageFormatter
protected EnumMessageFormatter<DiagnosticMessageCode> messageFormatter
- メッセージフォーマッタ
BeansProcessor
public BeansProcessor()
process
public boolean process(Set<? extends TypeElement> annotations,
RoundEnvironment roundEnv)
BeanState
で注釈されたクラス (状態クラス) のフィールドに対する getter/setter メソッドを持つサブクラス
(Bean クラス) を生成します.
- 定義:
- インタフェース
Processor
内の process
- 定義:
- クラス
AbstractProcessor
内の process
printMessage
protected void printMessage(Element element,
DiagnosticMessageCode messageCode,
Object... args)
- メッセージを出力します.
- パラメータ:
element
- メッセージの対象となる要素messageCode
- メッセージコードargs
- メッセージに埋め込む引数
Copyright © 2009-2010 The Seasar Foundation. All Rights Reserved.