public final class Util extends java.lang.Object implements 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| Modifier and Type | Method and Description |
|---|---|
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.
|
static void |
skipBytes(java.io.DataInputStream in,
int count)
Fully skips a given number of bytes in an input stream.
|
public static boolean isDefault(int accessFlags)
accessFlags - The access flags to check.isDefault(int),
isPrivate(int),
isPublic(int)public static boolean isPrivate(int accessFlags)
accessFlags - The access flags to check.isDefault(int),
isPrivate(int),
isPublic(int)public static boolean isProtected(int accessFlags)
accessFlags - The access flags to check.isDefault(int),
isPrivate(int),
isPublic(int)public static boolean isPublic(int accessFlags)
accessFlags - The access flags to check.isDefault(int),
isPrivate(int),
isPublic(int)public static void skipBytes(java.io.DataInputStream in,
int count)
throws java.io.IOException
in - The input stream.count - The number of bytes to skip.java.io.IOException - If an IO error occurs.