public static interface ElementDescriptor.ConstraintFinderConstraintFinder はスレッドセーフではありません。お揃いの ConstraintDescriptor のセットです。
| 修飾子と型 | メソッドと説明 | 
|---|---|
| ElementDescriptor.ConstraintFinder | declaredOn(ElementTypeSE... types) 指定された要素のリストされた  typesでホストされている制約に制限します。 | 
| SetSE<ConstraintDescriptor<?>> | getConstraintDescriptors() 定義された制限に従い、 ElementDescriptorで記述された要素でホストされている制約記述子を取得します。 | 
| boolean | hasConstraints() 制限に一致する少なくとも 1 つの制約宣言が要素に存在する場合は  trueを返し、それ以外の場合はfalseを返します。 | 
| ElementDescriptor.ConstraintFinder | lookingAt(Scope scope) この要素に提供されたスコープに一致する制約に制限します。 | 
| ElementDescriptor.ConstraintFinder | unorderedAndMatchingGroups(ClassSE<?>... groups) この要素の特定のグループセットに一致する制約に制限します。 | 
ElementDescriptor.ConstraintFinder unorderedAndMatchingGroups(ClassSE<?>... groups)
 このメソッドは、グループ変換、グループシーケンス、グループ継承(クラスレベルの Default グループのオーバーライドを含む)を考慮しますが、特定の順序で ConstraintDescriptor を返しません。具体的には、グループシーケンスの順序は考慮されません。
groups - 対象となるグループ this ElementDescriptor.ConstraintFinder lookingAt(Scope scope)
Scope.HIERARCHYscope - 期待される範囲 this ElementDescriptor.ConstraintFinder declaredOn(ElementTypeSE... types)
types でホストされている制約に制限します。デフォルトでは、要素のすべての可能な型です。
 通常、フィールド(FIELD)または getter(METHOD)に制限するために使用されます。
types - ターゲット型 this SetSE<ConstraintDescriptor<?>> getConstraintDescriptors()
ElementDescriptor で記述された要素でホストされている制約記述子を取得します。boolean hasConstraints()
true を返し、それ以外の場合は false を返します。true Copyright © 2019 Eclipse Foundation.
Use is subject to license terms.