T - アノテーション型 public abstract class AnnotationLiteral<T extends AnnotationSE> extends ObjectSE implements AnnotationSE, SerializableSE
アノテーション型インスタンスのインラインインスタンス化をサポートします。
リフレクション操作は、SecurityActionsEE ユーティリティクラスを使用してセキュリティマネージャーをサポートしています。
アノテーション型のインスタンスは、 AnnotationLiteral をサブクラス化することによって取得できます。
public abstract class PayByQualifier extends AnnotationLiteral<PayBy> implements PayBy {
}
PayBy payByCheque = new PayByQualifier() {
public PaymentMethod value() {
return CHEQUE;
}
};
Instance.select(Annotation...), Event.select(Annotation...), 連載形式 | 修飾子 | コンストラクターと説明 |
|---|---|
protected | AnnotationLiteral() |
| 修飾子と型 | メソッドと説明 |
|---|---|
ClassSE<? extends AnnotationSE> | annotationType() |
boolean | equals(ObjectSE other) |
int | hashCode() |
StringSE | toString() |
cloneSE, finalizeSE, getClassSE, notifySE, notifyAllSE, waitSE, waitSE, waitSEpublic ClassSE<? extends AnnotationSE> annotationType()
AnnotationSE の annotationTypeSE public StringSE toString()
AnnotationSE の toStringSE ObjectSE の toStringSE public boolean equals(ObjectSE other)
AnnotationSE の equalsSE ObjectSE の equalsSE public int hashCode()
AnnotationSE の hashCodeSE ObjectSE の hashCodeSE Copyright © 2019 Eclipse Foundation.
Use is subject to license terms.