Class Modifiers

java.lang.Object
org.aspectj.apache.bcel.classfile.Modifiers
Direct Known Subclasses:
ClassGen, FieldGenOrMethodGen, FieldOrMethod, JavaClass

public abstract class Modifiers extends Object
Super class for all objects that have modifiers like private, final, ... I.e. classes, fields, and methods. was AccessFlags
Version:
$Id: Modifiers.java,v 1.2 2008/05/28 23:53:01 aclement Exp $
Author:
M. Dahm
  • Field Details

    • modifiers

      protected int modifiers
  • Constructor Details

    • Modifiers

      public Modifiers()
    • Modifiers

      public Modifiers(int a)
  • Method Details

    • getModifiers

      public final int getModifiers()
    • setModifiers

      public final void setModifiers(int modifiers)
    • isPublic

      public final boolean isPublic()
    • isPrivate

      public final boolean isPrivate()
    • isProtected

      public final boolean isProtected()
    • isStatic

      public final boolean isStatic()
    • isFinal

      public final boolean isFinal()
    • isSynchronized

      public final boolean isSynchronized()
    • isVolatile

      public final boolean isVolatile()
    • isTransient

      public final boolean isTransient()
    • isNative

      public final boolean isNative()
    • isInterface

      public final boolean isInterface()
    • isAbstract

      public final boolean isAbstract()
    • isStrictfp

      public final boolean isStrictfp()
    • isVarargs

      public final boolean isVarargs()
    • isBridge

      public final boolean isBridge()