ONAP uses Google Java Style with some modifications:

IDE code formatter configurations can be found in the Google Style Guide repo.

References

From Setting Up Your Development Environment#ONAPEclipseJavaFormatter:

As per https://gerrit.onap.org/r/gitweb?p=aai/aai-common.git;a=blob_plain;f=onap-java-formatter.xml;hb=refs/heads/master, an ONAP Eclipse Java Formatter XML file has been merged and can be imported into Eclipse. Updates to the settings should be committed and merged back into the repository (e.g. ) . TBC: This should probably be in oparent for all to share.