Interface Modifiers


public interface Modifiers
Modifiers is an interface containing constants used as modifiers of classes, fields, and methods.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final short
    The class or method is declared abstract.
    static final short
    The class, field, or method is declared final.
    static final short
    The class is an interface.
    static final short
    The method is declared native.
    static final short
    The class, field, or method is declared private.
    static final short
    The class, field, or method is declared protected.
    static final short
    The class, field, or method is declared public.
    static final short
    The field or method is declared static.
    static final short
    The class calls methods in the superclass.
    static final short
    The method is declared synchronized.
    static final short
    The field is declared transient.
    static final short
    The field is declared volatile.
  • Field Details

    • PUBLIC

      static final short PUBLIC
      The class, field, or method is declared public.
      See Also:
    • PRIVATE

      static final short PRIVATE
      The class, field, or method is declared private.
      See Also:
    • PROTECTED

      static final short PROTECTED
      The class, field, or method is declared protected.
      See Also:
    • STATIC

      static final short STATIC
      The field or method is declared static.
      See Also:
    • FINAL

      static final short FINAL
      The class, field, or method is declared final.
      See Also:
    • SUPER

      static final short SUPER
      The class calls methods in the superclass.
      See Also:
    • SYNCHRONIZED

      static final short SYNCHRONIZED
      The method is declared synchronized.
      See Also:
    • VOLATILE

      static final short VOLATILE
      The field is declared volatile.
      See Also:
    • TRANSIENT

      static final short TRANSIENT
      The field is declared transient.
      See Also:
    • NATIVE

      static final short NATIVE
      The method is declared native.
      See Also:
    • INTERFACE

      static final short INTERFACE
      The class is an interface.
      See Also:
    • ABSTRACT

      static final short ABSTRACT
      The class or method is declared abstract.
      See Also: