Interface Modifiers
public interface Modifiers
Modifiers is an interface containing constants used as modifiers of classes,
fields, and methods.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final shortThe class or method is declared abstract.static final shortThe class, field, or method is declared final.static final shortThe class is an interface.static final shortThe method is declared native.static final shortThe class, field, or method is declared private.static final shortThe class, field, or method is declared protected.static final shortThe class, field, or method is declared public.static final shortThe field or method is declared static.static final shortThe class calls methods in the superclass.static final shortThe method is declared synchronized.static final shortThe field is declared transient.static final shortThe field is declared volatile.
-
Field Details
-
PUBLIC
static final short PUBLICThe class, field, or method is declared public.- See Also:
-
PRIVATE
static final short PRIVATEThe class, field, or method is declared private.- See Also:
-
PROTECTED
static final short PROTECTEDThe class, field, or method is declared protected.- See Also:
-
STATIC
static final short STATICThe field or method is declared static.- See Also:
-
FINAL
static final short FINALThe class, field, or method is declared final.- See Also:
-
SUPER
static final short SUPERThe class calls methods in the superclass.- See Also:
-
SYNCHRONIZED
static final short SYNCHRONIZEDThe method is declared synchronized.- See Also:
-
VOLATILE
static final short VOLATILEThe field is declared volatile.- See Also:
-
TRANSIENT
static final short TRANSIENTThe field is declared transient.- See Also:
-
NATIVE
static final short NATIVEThe method is declared native.- See Also:
-
INTERFACE
static final short INTERFACEThe class is an interface.- See Also:
-
ABSTRACT
static final short ABSTRACTThe class or method is declared abstract.- See Also:
-