Do not create Java directly in Studio
It is unsupported to add Java class files in the Studio user interface. However, due to technical reasons, PolicyCenter Studio cannot hide user interface options that can add Java classes to the file hierarchies.
Important: Do not create Java
classes directly in Studio. It is unsupported. If you want to code in
Java, you must use a separate IDE for Java development. For example,
use a separate instance of IntelliJ IDEA or Eclipse just for your Java
development.
