Interface TemplateParameter<T>

All Known Subinterfaces:
CtAnnotation<A>, CtAnnotationFieldAccess<T>, CtArrayAccess<T,​E>, CtArrayRead<T>, CtArrayWrite<T>, CtAssignment<T,​A>, CtBinaryOperator<T>, CtBlock<R>, CtCodeSnippetExpression<T>, CtConditional<T>, CtConstructorCall<T>, CtDo, CtExecutableReferenceExpression<T,​E>, CtExpression<T>, CtFieldAccess<T>, CtFieldRead<T>, CtFieldWrite<T>, CtFor, CtForEach, CtIf, CtInvocation<T>, CtLambda<T>, CtLiteral<T>, CtLoop, CtNewArray<T>, CtNewClass<T>, CtOperatorAssignment<T,​A>, CtReturn<R>, CtSuperAccess<T>, CtSwitchExpression<T,​S>, CtTargetedExpression<T,​E>, CtTextBlock, CtThisAccess<T>, CtThrow, CtTry, CtTryWithResource, CtTypeAccess<A>, CtTypePattern, CtUnaryOperator<T>, CtVariableAccess<T>, CtVariableRead<T>, CtVariableWrite<T>, CtWhile
All Known Implementing Classes:
CtAnnotationFieldAccessImpl, CtAnnotationImpl, CtArrayAccessImpl, CtArrayReadImpl, CtArrayWriteImpl, CtAssignmentImpl, CtBinaryOperatorImpl, CtBlockImpl, CtCodeSnippetExpressionImpl, CtConditionalImpl, CtConstructorCallImpl, CtDoImpl, CtExecutableReferenceExpressionImpl, CtExpressionImpl, CtFieldAccessImpl, CtFieldReadImpl, CtFieldWriteImpl, CtForEachImpl, CtForImpl, CtIfImpl, CtInvocationImpl, CtLambdaImpl, CtLiteralImpl, CtLoopImpl, CtNewArrayImpl, CtNewClassImpl, CtOperatorAssignmentImpl, CtReturnImpl, CtSuperAccessImpl, CtSwitchExpressionImpl, CtTargetedExpressionImpl, CtTextBlockImpl, CtThisAccessImpl, CtThrowImpl, CtTryImpl, CtTryWithResourceImpl, CtTypeAccessImpl, CtTypePatternImpl, CtUnaryOperatorImpl, CtVariableAccessImpl, CtVariableReadImpl, CtVariableWriteImpl, CtWhileImpl

public interface TemplateParameter<T>
This interface defines a typed template parameter. It is parameterized by T, the type of the template parameter, which can be retrieved by the S() method. For more details on how to use template parameters, see Template.
  • Method Summary

    Modifier and Type
    Method
    Description
    S()
    Gets the type of the template parameter.
  • Method Details

    • S

      T S()
      Gets the type of the template parameter. This methods has no runtime meaning (should return a null reference) but is used as a marker in a template code.