Create or update a Java file in the primary source directory: {@link #getSourceFolder()} - use information in thegiven {@link JavaEnum} to determine the appropriate package; packages will be created if necessary.
@param source The java enum type to create
@return The created or updated {@link EnumTypeResource}
@throws FileNotFoundException
@deprecated Use {@link JavaSourceFacet#saveJavaSource(JavaSource)}
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.