Parse signatures for java methods