/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package br.ufrgs.inf.prosoft.memoizeittf.facade;
import br.ufrgs.inf.prosoft.memoizeittf.utils.Occurrences;
import java.util.List;
/**
*
* @author romulo
*/
public class Method {
private final br.ufrgs.inf.prosoft.memoizeit.Method memoizeitMethod;
private final br.ufrgs.inf.prosoft.tfcache.metadata.Method tfcacheMethod;
public Method(String name, boolean isStatic, List<Occurrence> occurrences) {
this.memoizeitMethod = new br.ufrgs.inf.prosoft.memoizeit.Method(name, isStatic, Occurrences.getMemoizeitOccurrences(occurrences));
this.tfcacheMethod = new br.ufrgs.inf.prosoft.tfcache.metadata.Method(name, Occurrences.getTfcacheOccurrences(occurrences));
}
public br.ufrgs.inf.prosoft.memoizeit.Method getMemoizeitMethod() {
return this.memoizeitMethod;
}
public br.ufrgs.inf.prosoft.tfcache.metadata.Method getTfcacheMethod() {
return this.tfcacheMethod;
}
}