Java Doc for Modifier.java in  » Byte-Code » Javassist » javassist » 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 » Byte Code » Javassist » javassist 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   javassist.Modifier

Modifier
public class Modifier (Code)
The Modifier class provides static methods and constants to decode class and member access modifiers. The constant values are equivalent to the corresponding values in javassist.bytecode.AccessFlag.

All the methods/constants in this class are compatible with ones in java.lang.reflect.Modifier.
See Also:   CtClass.getModifiers



Field Summary
final public static  intABSTRACT
    
final public static  intANNOTATION
    
final public static  intENUM
    
final public static  intFINAL
    
final public static  intINTERFACE
    
final public static  intNATIVE
    
final public static  intPRIVATE
    
final public static  intPROTECTED
    
final public static  intPUBLIC
    
final public static  intSTATIC
    
final public static  intSTRICT
    
final public static  intSYNCHRONIZED
    
final public static  intTRANSIENT
    
final public static  intVOLATILE
    


Method Summary
public static  intclear(int mod, int clearBit)
     Clears a specified bit in mod.
public static  booleanisAbstract(int mod)
     Returns true if the modifiers include the abstract modifier.
public static  booleanisAnnotation(int mod)
     Returns true if the modifiers include the annotation modifier.
public static  booleanisEnum(int mod)
     Returns true if the modifiers include the enum modifier.
public static  booleanisFinal(int mod)
     Returns true if the modifiers include the final modifier.
public static  booleanisInterface(int mod)
     Returns true if the modifiers include the interface modifier.
public static  booleanisNative(int mod)
     Returns true if the modifiers include the native modifier.
public static  booleanisPackage(int mod)
     Returns true if the modifiers do not include either public, protected, or private.
public static  booleanisPrivate(int mod)
     Returns true if the modifiers include the private modifier.
public static  booleanisProtected(int mod)
     Returns true if the modifiers include the protected modifier.
public static  booleanisPublic(int mod)
     Returns true if the modifiers include the public modifier.
public static  booleanisStatic(int mod)
     Returns true if the modifiers include the static modifier.
public static  booleanisStrict(int mod)
     Returns true if the modifiers include the strictfp modifier.
public static  booleanisSynchronized(int mod)
     Returns true if the modifiers include the synchronized modifier.
public static  booleanisTransient(int mod)
     Returns true if the modifiers include the transient modifier.
public static  booleanisVolatile(int mod)
     Returns true if the modifiers include the volatile modifier.
public static  intsetPackage(int mod)
     Clears the public, protected, and private bits.
public static  intsetPrivate(int mod)
     Truns the private bit on.
public static  intsetProtected(int mod)
     Truns the protected bit on.
public static  intsetPublic(int mod)
     Truns the public bit on.
public static  StringtoString(int mod)
     Return a string describing the access modifier flags in the specified modifier.

Field Detail
ABSTRACT
final public static int ABSTRACT(Code)



ANNOTATION
final public static int ANNOTATION(Code)



ENUM
final public static int ENUM(Code)



FINAL
final public static int FINAL(Code)



INTERFACE
final public static int INTERFACE(Code)



NATIVE
final public static int NATIVE(Code)



PRIVATE
final public static int PRIVATE(Code)



PROTECTED
final public static int PROTECTED(Code)



PUBLIC
final public static int PUBLIC(Code)



STATIC
final public static int STATIC(Code)



STRICT
final public static int STRICT(Code)



SYNCHRONIZED
final public static int SYNCHRONIZED(Code)



TRANSIENT
final public static int TRANSIENT(Code)



VOLATILE
final public static int VOLATILE(Code)





Method Detail
clear
public static int clear(int mod, int clearBit)(Code)
Clears a specified bit in mod.



isAbstract
public static boolean isAbstract(int mod)(Code)
Returns true if the modifiers include the abstract modifier.



isAnnotation
public static boolean isAnnotation(int mod)(Code)
Returns true if the modifiers include the annotation modifier.
since:
   3.2



isEnum
public static boolean isEnum(int mod)(Code)
Returns true if the modifiers include the enum modifier.
since:
   3.2



isFinal
public static boolean isFinal(int mod)(Code)
Returns true if the modifiers include the final modifier.



isInterface
public static boolean isInterface(int mod)(Code)
Returns true if the modifiers include the interface modifier.



isNative
public static boolean isNative(int mod)(Code)
Returns true if the modifiers include the native modifier.



isPackage
public static boolean isPackage(int mod)(Code)
Returns true if the modifiers do not include either public, protected, or private.



isPrivate
public static boolean isPrivate(int mod)(Code)
Returns true if the modifiers include the private modifier.



isProtected
public static boolean isProtected(int mod)(Code)
Returns true if the modifiers include the protected modifier.



isPublic
public static boolean isPublic(int mod)(Code)
Returns true if the modifiers include the public modifier.



isStatic
public static boolean isStatic(int mod)(Code)
Returns true if the modifiers include the static modifier.



isStrict
public static boolean isStrict(int mod)(Code)
Returns true if the modifiers include the strictfp modifier.



isSynchronized
public static boolean isSynchronized(int mod)(Code)
Returns true if the modifiers include the synchronized modifier.



isTransient
public static boolean isTransient(int mod)(Code)
Returns true if the modifiers include the transient modifier.



isVolatile
public static boolean isVolatile(int mod)(Code)
Returns true if the modifiers include the volatile modifier.



setPackage
public static int setPackage(int mod)(Code)
Clears the public, protected, and private bits.



setPrivate
public static int setPrivate(int mod)(Code)
Truns the private bit on. The protected and private bits are cleared.



setProtected
public static int setProtected(int mod)(Code)
Truns the protected bit on. The protected and public bits are cleared.



setPublic
public static int setPublic(int mod)(Code)
Truns the public bit on. The protected and private bits are cleared.



toString
public static String toString(int mod)(Code)
Return a string describing the access modifier flags in the specified modifier.
Parameters:
  mod - modifier flags.



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.