Java Doc for Flags.java in  » 6.0-JDK-Modules-sun » javac-compiler » com » sun » tools » javac » code » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules sun » javac compiler » com.sun.tools.javac.code 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.tools.javac.code.Flags

Flags
public class Flags (Code)
Access flags and other modifiers for Java classes and members.

This is NOT part of any API supported by Sun Microsystems. 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.



Field Summary
final public static  intABSTRACT
    
final public static  intACC_BRIDGE
    
final public static  intACC_SUPER
    
final public static  intACC_VARARGS
    
final public static  intACYCLIC
     Flag for class symbols to indicate it has been checked and found acyclic.
final public static  longACYCLIC_ANN
     Flag for annotation type symbols to indicate it has been checked and found acyclic.
final public static  intANNOTATION
     Flag that marks attribute interfaces, added in classfile v49.0.
final public static  intANONCONSTR
     Flag for synthesized default constructors of anonymous classes.
final public static  intAccessFlagsLocalClassFlagsMemberClassFlagsClassFlagsInterfaceVarFlagsVarFlagsConstructorFlagsInterfaceMethodFlagsMethodFlags
     Modifier masks.
final public static  intBLOCK
     Flag is set for compiler-generated anonymous method symbols that `own' an initializer block.
final public static  longBRIDGE
     Flag that marks bridge methods.
final public static  intCLASS_SEEN
     Flag is set for class symbols if a class file was found for this class.
final public static  intCOMPOUND
    
final public static  intDEPRECATED
     Flag is set if symbol is deprecated.
final public static  intENUM
     An enumeration type or an enumeration constant, added in classfile v49.0.
final public static  intEXISTS
     Flag is set for package symbols if a package has a member or directory and therefore exists.
final public static  intFINAL
    
final public static  longGENERATEDCONSTR
     Flag that marks a generated default constructor.
final public static  intHASINIT
     Flag is set for a variable symbol if the variable's definition has an initializer part.
final public static  longHYPOTHETICAL
     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.
final public static  intINTERFACE
    
final public static  intIPROXY
     Flag is set for compiler-generated abstract methods that implement an interface method (Miranda methods).
final public static  intLOCKED
     Flag for class symbols is set and later re-set as a lock in Enter to detect cycles in the superclass/superinterface relations.
final public static  longLocalVarFlags
    
final public static  intNATIVE
    
final public static  intNOOUTERTHIS
     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.
final public static  longPARAMETER
     Flag that marks formal parameters.
final public static  intPRIVATE
    
final public static  longPROPRIETARY
     Flag that marks a Sun proprietary class.
final public static  intPROTECTED
    
final public static  intPUBLIC
    
final public static  intSOURCE_SEEN
     Flag is set for class symbols if a source file was found for this class.
final public static  intSTATIC
    
final public static  intSTRICTFP
    
final public static  intSYNCHRONIZED
    
final public static  intSYNTHETIC
    
final public static  intStandardFlags
    
final public static  intTRANSIENT
    
final public static  intUNATTRIBUTED
     Flag for class symbols is set and later re-set to indicate that a class has been entered but has not yet been attributed.
final public static  longVARARGS
     Flag that marks varargs methods.
final public static  intVOLATILE
    


Method Summary
public static  Set<Modifier>asModifierSet(long flags)
    
public static  booleanisConstant(Symbol.VarSymbol symbol)
    
public static  booleanisEnum(Symbol symbol)
    
public static  booleanisStatic(Symbol symbol)
    
public static  StringtoString(long flags)
    

Field Detail
ABSTRACT
final public static int ABSTRACT(Code)



ACC_BRIDGE
final public static int ACC_BRIDGE(Code)



ACC_SUPER
final public static int ACC_SUPER(Code)



ACC_VARARGS
final public static int ACC_VARARGS(Code)



ACYCLIC
final public static int ACYCLIC(Code)
Flag for class symbols to indicate it has been checked and found acyclic.



ACYCLIC_ANN
final public static long ACYCLIC_ANN(Code)
Flag for annotation type symbols to indicate it has been checked and found acyclic.



ANNOTATION
final public static int ANNOTATION(Code)
Flag that marks attribute interfaces, added in classfile v49.0.



ANONCONSTR
final public static int ANONCONSTR(Code)
Flag for synthesized default constructors of anonymous classes.



AccessFlagsLocalClassFlagsMemberClassFlagsClassFlagsInterfaceVarFlagsVarFlagsConstructorFlagsInterfaceMethodFlagsMethodFlags
final public static int AccessFlagsLocalClassFlagsMemberClassFlagsClassFlagsInterfaceVarFlagsVarFlagsConstructorFlagsInterfaceMethodFlagsMethodFlags(Code)
Modifier masks.



BLOCK
final public static int BLOCK(Code)
Flag is set for compiler-generated anonymous method symbols that `own' an initializer block.



BRIDGE
final public static long BRIDGE(Code)
Flag that marks bridge methods.



CLASS_SEEN
final public static int CLASS_SEEN(Code)
Flag is set for class symbols if a class file was found for this class.



COMPOUND
final public static int COMPOUND(Code)
Flag is set for compiler-generated compound classes representing multiple variable bounds



DEPRECATED
final public static int DEPRECATED(Code)
Flag is set if symbol is deprecated.



ENUM
final public static int ENUM(Code)
An enumeration type or an enumeration constant, added in classfile v49.0.



EXISTS
final public static int EXISTS(Code)
Flag is set for package symbols if a package has a member or directory and therefore exists.



FINAL
final public static int FINAL(Code)



GENERATEDCONSTR
final public static long GENERATEDCONSTR(Code)
Flag that marks a generated default constructor.



HASINIT
final public static int HASINIT(Code)
Flag is set for a variable symbol if the variable's definition has an initializer part.



HYPOTHETICAL
final public static long HYPOTHETICAL(Code)
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.



INTERFACE
final public static int INTERFACE(Code)



IPROXY
final public static int IPROXY(Code)
Flag is set for compiler-generated abstract methods that implement an interface method (Miranda methods).



LOCKED
final public static int LOCKED(Code)
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.



LocalVarFlags
final public static long LocalVarFlags(Code)



NATIVE
final public static int NATIVE(Code)



NOOUTERTHIS
final public static int NOOUTERTHIS(Code)
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.



PARAMETER
final public static long PARAMETER(Code)
Flag that marks formal parameters.



PRIVATE
final public static int PRIVATE(Code)



PROPRIETARY
final public static long PROPRIETARY(Code)
Flag that marks a Sun proprietary class.



PROTECTED
final public static int PROTECTED(Code)



PUBLIC
final public static int PUBLIC(Code)



SOURCE_SEEN
final public static int SOURCE_SEEN(Code)
Flag is set for class symbols if a source file was found for this class.



STATIC
final public static int STATIC(Code)



STRICTFP
final public static int STRICTFP(Code)



SYNCHRONIZED
final public static int SYNCHRONIZED(Code)



SYNTHETIC
final public static int SYNTHETIC(Code)



StandardFlags
final public static int StandardFlags(Code)



TRANSIENT
final public static int TRANSIENT(Code)



UNATTRIBUTED
final public static int UNATTRIBUTED(Code)
Flag for class symbols is set and later re-set to indicate that a class has been entered but has not yet been attributed.



VARARGS
final public static long VARARGS(Code)
Flag that marks varargs methods.



VOLATILE
final public static int VOLATILE(Code)





Method Detail
asModifierSet
public static Set<Modifier> asModifierSet(long flags)(Code)



isConstant
public static boolean isConstant(Symbol.VarSymbol symbol)(Code)



isEnum
public static boolean isEnum(Symbol symbol)(Code)



isStatic
public static boolean isStatic(Symbol symbol)(Code)



toString
public static String toString(long flags)(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.