Frequently Asked Questions
Both CUP and JFlex support the package directive, so simply add this directive at the beginning of your source.
package my.cool.application; import java_cup.runtime.*; //...
Use the %class option provided by JFlex. For more information about the %class option see this link.