インターフェース ElementDescriptor
- すべての既知のサブインターフェース:
BeanDescriptor、ConstructorDescriptor、ContainerElementTypeDescriptor、CrossParameterDescriptor、ExecutableDescriptor、MethodDescriptor、ParameterDescriptor、PropertyDescriptor、ReturnValueDescriptor
public interface ElementDescriptor
検証された要素(クラス、プロパティ、メソッドなど)について説明します。
- 作成者:
- Emmanuel Bernard, Hardy Ferentschik, Gunnar Morling
ネストされたクラスの要約
ネストされたクラス方法の概要
修飾子と型メソッド説明制約を見つけて、特定の条件に制限する可能性があります。クラス階層内のこの要素のすべての制約記述子を返すか、何も存在しない場合は空のSetを返します。ClassSE<?>boolean
メソッドの詳細
hasConstraints
boolean hasConstraints()- 戻り値:
- クラス階層内のこの要素に少なくとも 1 つの制約宣言が存在する場合は
trueを返し、それ以外の場合はfalseを返します。
getElementClass
ClassSE<?> getElementClass()- 戻り値:
- 静的に定義された戻り型
getConstraintDescriptors
SetSE<ConstraintDescriptor<?>> getConstraintDescriptors()クラス階層内のこの要素のすべての制約記述子を返すか、何も存在しない場合は空のSetを返します。- 戻り値:
- この要素の制約記述子の
Set
findConstraints
ElementDescriptor.ConstraintFinder findConstraints()制約を見つけて、特定の条件に制限する可能性があります。- 戻り値:
ConstraintFinderオブジェクト