0

I was seeing this kind of java class level documentation for some classes in projects. can any one please let me know is there any way that this format can be automatically generated or is this format created by developers.

/**
 * 
//**************************************************************************************************
//**************************************************************************************************
//                      Copyright (c) 2013 by XXXXX
//                              ALL RIGHTS RESERVED
//**************************************************************************************************
//**************************************************************************************************
//
//  Project name            : XXXXX
//  Class Name              : XXXXXX
//  Date                    : 26th  Feb 2013
//  Author                  : XXXXXX
//  Version                 : 1.0                          
//
//***************************************************************************************************
//  Class Description:
//This class is for calling DroidGap API.
//***************************************************************************************************
//  Update history: 
//  Date :      5/03/13     Developer Name :XXXXXX     Modification Comments : .
//
//***************************************************************************************************

 * 
 */
3
  • Depends entirely on which IDE you are using, but it's not hard to just cut-and-paste from previous files. Commented Aug 14, 2014 at 2:25
  • Yes, We can cut-and-paste it but with intrest I am willing to know. I am using eclipse IDE but as per my knowledge eclipse is not generating the above format by default. @Jeff-InventorChromeOS Commented Aug 14, 2014 at 2:30
  • Check under the preferences under Java | Editor. If its possible to configure, it'll be under that tab. Commented Aug 14, 2014 at 2:44

1 Answer 1

1

Preferences > Java > Code Style > Code Templates > Comments > Types. But I would strongly advise you to stick to the standard doc comment format. If this format is dictated by the PHBs, put it in a non-Javadoc block comment at the top of the file and use standard doc comments on the actual class and methods.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.