Package com.tngtech.archunit.core.domain
Interface JavaParameterizedType
-
@PublicAPI(usage=ACCESS) public interface JavaParameterizedType extends JavaType
AJavaParameterizedType
represents a concrete parameterization of a generic type. Consider the generic typeList<T>
, thenList<String>
would be a parameterized type where the concrete typejava.lang.String
has been assigned to the type variableT
. The concrete typejava.lang.String
is then an "actual type argument" of thisJavaParameterizedType
(seegetActualTypeArguments()
).
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.tngtech.archunit.core.domain.properties.HasName
HasName.AndFullName, HasName.Functions, HasName.Predicates
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<JavaType>
getActualTypeArguments()
-
-
-
Method Detail
-
getActualTypeArguments
@PublicAPI(usage=ACCESS) java.util.List<JavaType> getActualTypeArguments()
- Returns:
- The actual type arguments of this parameterized type (compare
JavaParameterizedType
).
-
-