com.sun.faces.config
private static class JavaClassScanningAnnotationScanner.ConstantPoolInfo extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
ASCIZ |
(package private) byte[] |
bytes |
static byte |
CLASS |
static int |
DOUBLE |
static int |
FIELDREF |
static int |
FLOAT |
static int |
INTEGER |
static int |
INTERFACEMETHODREF |
private static java.util.logging.Logger |
LOGGER |
static int |
LONG |
static int |
METHODREF |
static int |
NAMEANDTYPE |
static int |
STRING |
static int |
UNICODE |
Constructor and Description |
---|
JavaClassScanningAnnotationScanner.ConstantPoolInfo()
Creates a new instance of ConstantPoolInfo
|
Modifier and Type | Method and Description |
---|---|
boolean |
containsAnnotation(int constantPoolSize,
java.nio.ByteBuffer buffer,
java.nio.channels.ReadableByteChannel in)
Read the input channel and initialize instance data structure.
|
private boolean |
refill(java.nio.ByteBuffer buffer,
java.nio.channels.ReadableByteChannel in,
int requestLen) |
private static final java.util.logging.Logger LOGGER
public static final byte CLASS
public static final int FIELDREF
public static final int METHODREF
public static final int STRING
public static final int INTEGER
public static final int FLOAT
public static final int LONG
public static final int DOUBLE
public static final int INTERFACEMETHODREF
public static final int NAMEANDTYPE
public static final int ASCIZ
public static final int UNICODE
byte[] bytes
public JavaClassScanningAnnotationScanner.ConstantPoolInfo()
public boolean containsAnnotation(int constantPoolSize, java.nio.ByteBuffer buffer, java.nio.channels.ReadableByteChannel in) throws java.io.IOException
constantPoolSize
- the constant pool size for this class filebuffer
- the ByteBuffer used to store the bytes from in
in
- ReadableByteChannel from which the class file bytes are
readtrue
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 classprivate boolean refill(java.nio.ByteBuffer buffer, java.nio.channels.ReadableByteChannel in, int requestLen) throws java.io.IOException
java.io.IOException
Copyright © 2002-2010 Oracle America, Inc. All Rights Reserved.