Class Test


public class Test extends Object
The class Test illustrates some features of javadoc. Notice that javadoc assumes the class name and can figure out the parameters in a "see" tag.
Since:
1.0
Version:
37.41.3beta
Author:
Ryan Stansifer
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) String
    A field or instance variable.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a new instance of the class.
  • Method Summary

    Modifier and Type
    Method
    Description
    (package private) Object
    fun(int x)
    A pointless function that always returns null.
    (package private) String
    A getter function for the field name.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • name

      String name
      A field or instance variable.
  • Constructor Details

    • Test

      Test()
      Creates a new instance of the class. The field name is set to the string "unknown".
  • Method Details

    • fun

      Object fun(int x)
      A pointless function that always returns null.
      Parameters:
      x - the argument to this function
      Returns:
      the constant null is always returned
      See Also:
    • getName

      String getName()
      A getter function for the field name.
      Returns:
      the value of the field name.
      See Also: