com.sun.faces.config
private static final class JavaClassScanningAnnotationScanner.ClassFile extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
ACC_ABSTRACT |
static int |
ACC_FINAL |
static int |
ACC_INTERFACE |
static int |
ACC_NATIVE |
static int |
ACC_PRIVATE |
static int |
ACC_PROTECTED |
static int |
ACC_PUBLIC |
static int |
ACC_STATIC |
static int |
ACC_SYNCHRONIZED |
static int |
ACC_THREADSAFE |
static int |
ACC_TRANSIENT |
short |
accessFlags |
JavaClassScanningAnnotationScanner.ConstantPoolInfo[] |
constantPool |
(package private) JavaClassScanningAnnotationScanner.ConstantPoolInfo |
constantPoolInfo |
(package private) java.nio.ByteBuffer |
header
bunch of stuff I really don't care too much for now.
|
JavaClassScanningAnnotationScanner.ConstantPoolInfo[] |
interfaces |
private static int |
magic |
short |
majorVersion |
short |
minorVersion |
JavaClassScanningAnnotationScanner.ConstantPoolInfo |
superClass |
JavaClassScanningAnnotationScanner.ConstantPoolInfo |
thisClass |
Constructor and Description |
---|
JavaClassScanningAnnotationScanner.ClassFile()
Creates a new instance of ClassFile
|
Modifier and Type | Method and Description |
---|---|
boolean |
containsAnnotation(java.nio.channels.ReadableByteChannel in)
Read the input channel and initialize instance data structure.
|
void |
setConstantPoolInfo(JavaClassScanningAnnotationScanner.ConstantPoolInfo poolInfo) |
private static final int magic
public static final int ACC_PUBLIC
public static final int ACC_PRIVATE
public static final int ACC_PROTECTED
public static final int ACC_STATIC
public static final int ACC_FINAL
public static final int ACC_SYNCHRONIZED
public static final int ACC_THREADSAFE
public static final int ACC_TRANSIENT
public static final int ACC_NATIVE
public static final int ACC_INTERFACE
public static final int ACC_ABSTRACT
public short majorVersion
public short minorVersion
public JavaClassScanningAnnotationScanner.ConstantPoolInfo[] constantPool
public short accessFlags
public JavaClassScanningAnnotationScanner.ConstantPoolInfo thisClass
public JavaClassScanningAnnotationScanner.ConstantPoolInfo superClass
public JavaClassScanningAnnotationScanner.ConstantPoolInfo[] interfaces
java.nio.ByteBuffer header
JavaClassScanningAnnotationScanner.ConstantPoolInfo constantPoolInfo
public JavaClassScanningAnnotationScanner.ClassFile()
public void setConstantPoolInfo(JavaClassScanningAnnotationScanner.ConstantPoolInfo poolInfo)
public boolean containsAnnotation(java.nio.channels.ReadableByteChannel in) throws java.io.IOException
in
- a ReadableByteChannel
that provides the bytes
of the classfiletrue
if the bytes representing this classfile include
one of the annotations we're looking for.java.io.IOException
- if an I/O error occurs while reading the classCopyright © 2002-2010 Oracle America, Inc. All Rights Reserved.