c# - C-sharp's "#region" & "#endregion" in Java? -


possible duplicate:
java equivalent #region in c#

is there in java allow structuring source code done in c# pre-processor directives

#region 

and

#endregion 

?

no, there nothing equivalent.

code folding ide feature, not language feature.

eclipse has code folding classes , members when java files loaded in it. may extended (for example) add code folding on crafted comment lines.


Comments

Popular posts from this blog

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

c++ - Convert big endian to little endian when reading from a binary file -