|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
T - 実行時の型public interface CtWildcard<T>
ワイルドカード型。
| メソッドの概要 | ||
|---|---|---|
CtType<?> |
getBound()
このワイルドカードの上限または下限を示す型を返す。 |
|
WildcardBoundKind |
getBoundKind()
このワイルドカードに付与されたバウンドの種類を返す。 |
|
CtType<?> |
getLowerBound()
この型の下限を返す。 |
|
CtType<?> |
getUpperBound()
この型の上限を返す。 |
|
|
lowerBounded(Class<B> bound)
下限({@code ? |
|
|
lowerBounded(CtType<B> bound)
下限({@code ? |
|
CtWildcard<?> |
unbounded()
バウンドを持たないワイルドカードを返す。 |
|
|
upperBounded(Class<B> bound)
上限({@code ? |
|
|
upperBounded(CtType<B> bound)
上限({@code ? |
|
| インタフェース org.ashikunep.irenka.dom.CtType から継承されたメソッド |
|---|
apply, array, asSubType, box, capture, erasure, getField, getMethod, getMethod, getMethod, getMethod, getMethod, getMethod, getName, getNumberOfDimensions, getSuperClass, getSuperInterfaces, getTypeKind, getTypePersistence, isAssignableFrom, isCompatible, isSame, unbox |
| インタフェース org.ashikunep.irenka.dom.CtElement から継承されたメソッド |
|---|
accept, accept, copy, copy, equals, exists, freezeChildren, freezeParent, getChild, getCompilationUnit, getCorrespondedFile, getElementKind, getGenericContext, getLocation, getLocationInParent, getParent, getProperty, hashCode, isChildrenFrozen, isModified, isParentFrozen, isSynthetic, setChild, setLocation, setParent, substitute |
| インタフェース org.ashikunep.irenka.util.ClientStorageContainer から継承されたメソッド |
|---|
getClientStorage, putClientStorage |
| メソッドの詳細 |
|---|
WildcardBoundKind getBoundKind()
@Unmodifiable CtType<?> getBound()
java.lang.Objectを表す型を返す。
CtType<?> getLowerBound()
getBoundKind()がWildcardBoundKind.LOWER_BOUNDEDを返す場合、この呼び出しはgetBound()と同じ値を返す。
そうでない場合、この呼び出しはnull型を返す。
返される値は、親を持たない場合がある。
CtBoundedType<T> 内の getLowerBoundCtType<?> getUpperBound()
getBoundKind()がWildcardBoundKind.UPPER_BOUNDEDを返す場合、この呼び出しはgetBound()と同じ値を返す。
そうでない場合、この呼び出しはObject型を返す。
返される値は、親を持たない場合がある。
CtBoundedType<T> 内の getUpperBoundCtWildcard<?> unbounded()
<B> CtWildcard<? extends B> upperBounded(Class<B> bound)
? extends B)を持つワイルドカードを返す。
B - バウンドの型bound - バウンド
<B> CtWildcard<? extends B> upperBounded(CtType<B> bound)
? extends B)を持つワイルドカードを返す。
B - バウンドの型bound - バウンド
<B> CtWildcard<? super B> lowerBounded(Class<B> bound)
? super B)を持つワイルドカードを返す。
B - バウンドの型bound - バウンド
<B> CtWildcard<? super B> lowerBounded(CtType<B> bound)
? super B)を持つワイルドカードを返す。
B - バウンドの型bound - バウンド
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||