org.fife.rsta.ac.java.classreader
Class Util

java.lang.Object
  extended by org.fife.rsta.ac.java.classreader.Util
All Implemented Interfaces:
AccessFlags

public class Util
extends Object
implements AccessFlags

Utility methods for this package.

Version:
1.0
Author:
Robert Futrell

Field Summary
 
Fields inherited from interface org.fife.rsta.ac.java.classreader.AccessFlags
ACC_ABSTRACT, ACC_ANNOTATION, ACC_ENUM, ACC_FINAL, ACC_INTERFACE, ACC_NATIVE, ACC_PRIVATE, ACC_PROTECTED, ACC_PUBLIC, ACC_STATIC, ACC_STRICT, ACC_SUPER, ACC_SYNCHRONIZED, ACC_SYNTHETIC, ACC_TRANSIENT, ACC_VOLATILE
 
Method Summary
static boolean isDefault(int accessFlags)
          Returns whether an object has default scope.
static boolean isPrivate(int accessFlags)
          Returns whether an object has private scope.
static boolean isProtected(int accessFlags)
          Returns whether an object has protected scope.
static boolean isPublic(int accessFlags)
          Returns whether an object has public scope.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isDefault

public static boolean isDefault(int accessFlags)
Returns whether an object has default scope.

Returns:
Whether an object has default scope.
See Also:
#isPrivate(), #isProtected(), #isPublic()

isPrivate

public static boolean isPrivate(int accessFlags)
Returns whether an object has private scope.

Returns:
Whether an object has private scope.
See Also:
#isDefault(), #isProtected(), #isPublic()

isProtected

public static boolean isProtected(int accessFlags)
Returns whether an object has protected scope.

Returns:
Whether an object has protected scope.
See Also:
#isDefault(), #isPrivate(), #isPublic()

isPublic

public static boolean isPublic(int accessFlags)
Returns whether an object has public scope.

Returns:
Whether an object has public scope.
See Also:
#isDefault(), #isPrivate(), #isProtected()


Copyright © 2003-2011. All Rights Reserved.