parse class information and separate parameters and local variables