Package spoon.reflect.reference
Interface CtActualTypeContainer
- All Known Subinterfaces:
CtArrayTypeReference<T>
,CtConstructorCall<T>
,CtExecutableReference<T>
,CtIntersectionTypeReference<T>
,CtInvocation<T>
,CtNewClass<T>
,CtTypeParameterReference
,CtTypeReference<T>
,CtWildcardReference
- All Known Implementing Classes:
CtArrayTypeReferenceImpl
,CtConstructorCallImpl
,CtExecutableReferenceImpl
,CtIntersectionTypeReferenceImpl
,CtInvocationImpl
,CtNewClassImpl
,CtTypeParameterReferenceImpl
,CtTypeReferenceImpl
,CtWildcardReferenceImpl
public interface CtActualTypeContainer
This interface defines the capability related to binding generics (aka type parameters).
-
Method Summary
Modifier and TypeMethodDescription<T extends CtActualTypeContainer>
TaddActualTypeArgument(CtTypeReference<?> actualTypeArgument)
Adds a type argument.List<CtTypeReference<?>>
Gets the type arguments.boolean
removeActualTypeArgument(CtTypeReference<?> actualTypeArgument)
Removes a type argument.<T extends CtActualTypeContainer>
TsetActualTypeArguments(List<? extends CtTypeReference<?>> actualTypeArguments)
Sets the type arguments.
-
Method Details
-
getActualTypeArguments
List<CtTypeReference<?>> getActualTypeArguments()Gets the type arguments. -
setActualTypeArguments
<T extends CtActualTypeContainer> T setActualTypeArguments(List<? extends CtTypeReference<?>> actualTypeArguments)Sets the type arguments. -
addActualTypeArgument
Adds a type argument. -
removeActualTypeArgument
Removes a type argument.
-