This is documentation for Mathematica 7, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)


returns a list of the Java declarations for all fields of the specified JavaClass.
lists the fields for the named class.
lists the fields for the class of the specified JavaObject.
  • To use Fields, you first need to load J/Link using Needs["JLink`"].
  • The resulting lists are returned in TableForm.
  • To make them easier to read, the declarations have had the keywords "transient" and "volatile" removed. The "public" keyword is also removed, as the fields are always public.