public abstract class TemplateParameterSubstitutionHelper
extends java.lang.Object
The TemplateParameterSubstitutionHelper maintains a registry of helpers indexed by their implementatin class.
Constructor and Description |
---|
TemplateParameterSubstitutionHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
addHelper(java.lang.Class<? extends LibraryFeature> className,
TemplateParameterSubstitutionHelper helper) |
static TemplateParameterSubstitutionHelper |
getHelper(java.lang.Class<? extends LibraryFeature> className) |
Type |
resolveBodyType(PivotMetamodelManager metamodelManager,
CallExp callExp,
Type bodyType) |
Type |
resolveReturnType(PivotMetamodelManager metamodelManager,
CallExp callExp,
Type returnType) |
void |
resolveUnmodeledTemplateParameterSubstitutions(TemplateParameterSubstitutionVisitor templateParameterSubstitutions,
CallExp callExp) |
public void resolveUnmodeledTemplateParameterSubstitutions(@NonNull TemplateParameterSubstitutionVisitor templateParameterSubstitutions, @NonNull CallExp callExp)
@Nullable public Type resolveBodyType(@NonNull PivotMetamodelManager metamodelManager, @NonNull CallExp callExp, @Nullable Type bodyType)
@Nullable public Type resolveReturnType(@NonNull PivotMetamodelManager metamodelManager, @NonNull CallExp callExp, @Nullable Type returnType)
public static void addHelper(@NonNull java.lang.Class<? extends LibraryFeature> className, @NonNull TemplateParameterSubstitutionHelper helper)
@Nullable public static TemplateParameterSubstitutionHelper getHelper(@NonNull java.lang.Class<? extends LibraryFeature> className)