Save This Page
Home » openjdk-7 » com.sun.tools » javac » code » [javadoc | source]
com.sun.tools.javac.code
public class: Flags [javadoc | source]
java.lang.Object
   com.sun.tools.javac.code.Flags
Access flags and other modifiers for Java classes and members.

This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
Nested Class Summary:
public enum class  Flags.Flag   
Field Summary
public static final  int PUBLIC     
public static final  int PRIVATE     
public static final  int PROTECTED     
public static final  int STATIC     
public static final  int FINAL     
public static final  int SYNCHRONIZED     
public static final  int VOLATILE     
public static final  int TRANSIENT     
public static final  int NATIVE     
public static final  int INTERFACE     
public static final  int ABSTRACT     
public static final  int STRICTFP     
public static final  int SYNTHETIC     
public static final  int ANNOTATION    Flag that marks attribute interfaces, added in classfile v49.0. 
public static final  int ENUM    An enumeration type or an enumeration constant, added in classfile v49.0. 
public static final  int StandardFlags     
public static final  int ModifierFlags     
public static final  int ACC_SUPER     
public static final  int ACC_BRIDGE     
public static final  int ACC_VARARGS     
public static final  int DEPRECATED    Flag is set if symbol is deprecated. 
public static final  int HASINIT    Flag is set for a variable symbol if the variable's definition has an initializer part. 
public static final  int BLOCK    Flag is set for compiler-generated anonymous method symbols that `own' an initializer block. 
public static final  int IPROXY    Flag is set for compiler-generated abstract methods that implement an interface method (Miranda methods). 
public static final  int NOOUTERTHIS    Flag is set for nested classes that do not access instance members or `this' of an outer class and therefore don't need to be passed a this$n reference. This flag is currently set only for anonymous classes in superclass constructor calls and only for pre 1.4 targets. todo: use this flag for optimizing away this$n parameters in other cases. 
public static final  int EXISTS    Flag is set for package symbols if a package has a member or directory and therefore exists. 
public static final  int COMPOUND    Flag is set for compiler-generated compound classes representing multiple variable bounds 
public static final  int CLASS_SEEN    Flag is set for class symbols if a class file was found for this class. 
public static final  int SOURCE_SEEN    Flag is set for class symbols if a source file was found for this class. 
public static final  int LOCKED    Flag for class symbols is set and later re-set as a lock in Enter to detect cycles in the superclass/superinterface relations. Similarly for constructor call cycle detection in Attr. 
public static final  int UNATTRIBUTED    Flag for class symbols is set and later re-set to indicate that a class has been entered but has not yet been attributed. 
public static final  int ANONCONSTR    Flag for synthesized default constructors of anonymous classes. 
public static final  int ACYCLIC    Flag for class symbols to indicate it has been checked and found acyclic. 
public static final  long BRIDGE    Flag that marks bridge methods. 
public static final  long PARAMETER    Flag that marks formal parameters. 
public static final  long VARARGS    Flag that marks varargs methods. 
public static final  long ACYCLIC_ANN    Flag for annotation type symbols to indicate it has been checked and found acyclic. 
public static final  long GENERATEDCONSTR    Flag that marks a generated default constructor. 
public static final  long HYPOTHETICAL    Flag that marks a hypothetical method that need not really be generated in the binary, but is present in the symbol table to simplify checking for erasure clashes. 
public static final  long PROPRIETARY    Flag that marks an internal proprietary class. 
public static final  long UNION    Flag that marks a a multi-catch parameter 
public static final  long POLYMORPHIC_SIGNATURE    Flag that marks a signature-polymorphic invoke method. (These occur inside java.lang.invoke.MethodHandle.) 
public static final  long OVERRIDE_BRIDGE    Flag that marks a special kind of bridge methods (the ones that come from restricted supertype bounds) 
public static final  long EFFECTIVELY_FINAL    Flag that marks an 'effectively final' local variable 
public static final  long CLASH    Flag that marks non-override equivalent methods with the same signature 
public static final  int AccessFlags    Modifier masks. 
public static final  int LocalClassFlags     
public static final  int MemberClassFlags     
public static final  int ClassFlags     
public static final  int InterfaceVarFlags     
public static final  int VarFlags     
public static final  int ConstructorFlags     
public static final  int InterfaceMethodFlags     
public static final  int MethodFlags     
public static final  long LocalVarFlags     
Method from com.sun.tools.javac.code.Flags Summary:
asFlagSet,   asModifierSet,   isConstant,   isEnum,   isStatic,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sun.tools.javac.code.Flags Detail:
 public static EnumSet<Flag> asFlagSet(long mask) 
 public static Set<Modifier> asModifierSet(long flags) 
 public static boolean isConstant(VarSymbol symbol) 
 public static boolean isEnum(Symbol symbol) 
 public static boolean isStatic(Symbol symbol) 
 public static String toString(long flags)