Interface AccessFlags

  • All Known Implementing Classes:
    ClassFile, MethodInfo, Util

    public interface AccessFlags
    Class/interface access flag masks.
    Version:
    1.0
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int ACC_ABSTRACT
      Declared abstract; may not be instantiated.
      static int ACC_ANNOTATION
      Declared as an annotation type.
      static int ACC_ENUM
      Declared as an enum type.
      static int ACC_FINAL
      Declared final; no subclasses allowed.
      static int ACC_INTERFACE
      Is an interface, not a class.
      static int ACC_NATIVE
      Declared native; implemented in a language other than Java.
      static int ACC_PRIVATE
      Declared private; usable only within the defining class.
      static int ACC_PROTECTED
      Declared protected; may be accessed within subclasses.
      static int ACC_PUBLIC
      Declared public; may be accessed from outside its package.
      static int ACC_STATIC
      Declared static.
      static int ACC_STRICT
      Declared strictfp; floating-point mode is FP-strict.
      static int ACC_SUPER
      Treat superclass methods specially when invoked by the invokespecial instruction.
      static int ACC_SYNCHRONIZED
      Declared synchronized; invocation is wrapped in a monitor block.
      static int ACC_SYNTHETIC
      Declared synthetic; not present in the source code.
      static int ACC_TRANSIENT
      Declared transient; not written or read by a persistent object manager.
      static int ACC_VOLATILE
      Declared volatile; cannot be cached.
    • Field Detail

      • ACC_PUBLIC

        static final int ACC_PUBLIC
        Declared public; may be accessed from outside its package.
        See Also:
        Constant Field Values
      • ACC_PRIVATE

        static final int ACC_PRIVATE
        Declared private; usable only within the defining class.
        See Also:
        Constant Field Values
      • ACC_PROTECTED

        static final int ACC_PROTECTED
        Declared protected; may be accessed within subclasses.
        See Also:
        Constant Field Values
      • ACC_FINAL

        static final int ACC_FINAL
        Declared final; no subclasses allowed.
        See Also:
        Constant Field Values
      • ACC_SUPER

        static final int ACC_SUPER
        Treat superclass methods specially when invoked by the invokespecial instruction.
        See Also:
        Constant Field Values
      • ACC_SYNCHRONIZED

        static final int ACC_SYNCHRONIZED
        Declared synchronized; invocation is wrapped in a monitor block.
        See Also:
        Constant Field Values
      • ACC_VOLATILE

        static final int ACC_VOLATILE
        Declared volatile; cannot be cached.
        See Also:
        Constant Field Values
      • ACC_TRANSIENT

        static final int ACC_TRANSIENT
        Declared transient; not written or read by a persistent object manager.
        See Also:
        Constant Field Values
      • ACC_NATIVE

        static final int ACC_NATIVE
        Declared native; implemented in a language other than Java.
        See Also:
        Constant Field Values
      • ACC_INTERFACE

        static final int ACC_INTERFACE
        Is an interface, not a class.
        See Also:
        Constant Field Values
      • ACC_ABSTRACT

        static final int ACC_ABSTRACT
        Declared abstract; may not be instantiated.
        See Also:
        Constant Field Values
      • ACC_STRICT

        static final int ACC_STRICT
        Declared strictfp; floating-point mode is FP-strict.
        See Also:
        Constant Field Values
      • ACC_SYNTHETIC

        static final int ACC_SYNTHETIC
        Declared synthetic; not present in the source code.
        See Also:
        Constant Field Values
      • ACC_ANNOTATION

        static final int ACC_ANNOTATION
        Declared as an annotation type.
        See Also:
        Constant Field Values