Yes you're right in your thinking, you can use them on classes and any methods but not variables.