Print this page
6282 ONBLD man pages not pbchk clean
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
Reviewed by: Josef Sipek <jeffpc@josefsipek.net>
   1 jstyle(1ONBLD)                illumos Build Tools               jstyle(1ONBLD)
   2 
   3 
   4 
   5 NAME
   6        jstyle - check for some common stylistic errors in Java source files
   7 
   8 SYNOPSIS
   9        jstyle [-chptvC] [file...]
  10 
  11 DESCRIPTION
  12        jstyle inspects Java source files (*.java) for common stylistic errors.
  13        It is similar to cstyle(1ONBLD) in that it attempts to check for the
  14        style documented in /shared/ON/general_docs/cstyle.ms.pdf, although by
  15        necessity is modified to work with Java-specific constructs.  Note that
  16        there is much in that document that cannot be checked for; just because
  17        your code is jstyle(1ONBLD) clean does not mean that you've followed
  18        Sun's Java style.  Caveat emptor.
  19 
  20 OPTIONS
  21        The following options are supported:


  55        jstyle file
  56 
  57        jstyle -p file
  58 
  59        If the old file gave no errors for one of the invocations, the new file
  60        must also give no errors.  This way, files cannot become unclean.
  61 
  62 BUGS
  63        jstyle(1ONBLD) cannot disambiguate Java generic type parameters or
  64        arguments that span multiple lines from relational operators.  For
  65        example:
  66 
  67            private class Foo<A extends Bar,
  68            B extends Bar> { ...
  69 
  70        is flagged as two lines with missing spaces around relational
  71        operators.
  72 
  73 
  74 
  75                                22 November 2005                 jstyle(1ONBLD)
   1 JSTYLE(1ONBLD)                illumos Build Tools               JSTYLE(1ONBLD)
   2 
   3 
   4 
   5 NAME
   6        jstyle - check for some common stylistic errors in Java source files
   7 
   8 SYNOPSIS
   9        jstyle [-chptvC] [file...]
  10 
  11 DESCRIPTION
  12        jstyle inspects Java source files (*.java) for common stylistic errors.
  13        It is similar to cstyle(1ONBLD) in that it attempts to check for the
  14        style documented in /shared/ON/general_docs/cstyle.ms.pdf, although by
  15        necessity is modified to work with Java-specific constructs.  Note that
  16        there is much in that document that cannot be checked for; just because
  17        your code is jstyle(1ONBLD) clean does not mean that you've followed
  18        Sun's Java style.  Caveat emptor.
  19 
  20 OPTIONS
  21        The following options are supported:


  55        jstyle file
  56 
  57        jstyle -p file
  58 
  59        If the old file gave no errors for one of the invocations, the new file
  60        must also give no errors.  This way, files cannot become unclean.
  61 
  62 BUGS
  63        jstyle(1ONBLD) cannot disambiguate Java generic type parameters or
  64        arguments that span multiple lines from relational operators.  For
  65        example:
  66 
  67            private class Foo<A extends Bar,
  68            B extends Bar> { ...
  69 
  70        is flagged as two lines with missing spaces around relational
  71        operators.
  72 
  73 
  74 
  75                                November 22, 2005                JSTYLE(1ONBLD)