Make switch statement for frameworks and methods