use of com.oracle.truffle.dsl.processor.model.CachedParameterSpec in project graal by oracle.
the class SpecializationMethodParser method createSpecification.
@Override
public MethodSpec createSpecification(ExecutableElement method, AnnotationMirror mirror) {
MethodSpec spec = createDefaultMethodSpec(method, mirror, true, null);
spec.getAnnotations().add(new CachedParameterSpec(getContext().getDeclaredType(Cached.class)));
return spec;
}
Aggregations