This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv class | |
| pack-priv class | |
| pack-priv class | |
| pack-priv static class | |
| protected static enum | |
| protected abstract class | |
| pack-priv static class | |
| private class | |
| pack-priv static class | ClassReader.
A temporary proxy representing a compound attribute. |
| pack-priv static class | |
| private static class | |
| private static class | |
| pack-priv static class | ClassReader.
A holder for parameter annotations. |
| private class | |
| pack-priv static interface | |
| private static class | ClassReader.
A subclass of JavaFileObject for the sourcefile attribute found in a classfile. |
| pack-priv class | |
| pack-priv static class | ClassReader.
A temporary proxy representing a type annotation. |
| private static class | ClassReader.
A type mapping that rewrites the type to include type annotations. |
| private static class | |
| private class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv boolean | allowModules
Switch: allow modules. |
| pack-priv boolean | allowRecords
Switch: allow records |
| pack-priv boolean | allowSealedTypes
Switch: allow sealed |
| pack-priv int[] | allParameterAccessFlags
A table to hold the access flags of the method parameters, for all parameters including synthetic and mandated ones. |
| private final Annotate | |
| protected Map | |
| protected int | bp
The current input pointer. |
| pack-priv ByteBuffer | buf
The buffer containing the currently read class file. |
| protected Set | |
| protected Set | |
| protected static final Context. | classReaderKey
The context key for the class reader. |
| protected JavaFileObject | currentClassFile
The path name of the class file currently being read. |
| protected Symbol. | currentModule
The module containing the class currently being read. |
| protected Symbol | currentOwner
The class or method currently being read. |
| pack-priv DeferredCompletionFailureHandler | |
| pack-priv JCDiagnostic. | diagFactory
Factory for diagnostics |
| private final JavaFileManager | fileManager
Access to files |
| public boolean | filling
We can only read a single class file at a time; this flag keeps track of when we are currently reading a class file. |
| private List | |
| public static final int | |
| private List | |
| private List | |
| pack-priv final Log | log
The log to use for verbose output |
| pack-priv int | majorVersion
The major version number of the class file being read. |
| protected Set | |
| pack-priv int | minorVersion
The minor version number of the class file being read. |
| private List | |
| pack-priv final Names | names
The name table. |
| pack-priv int[] | parameterAccessFlags
A table to hold the access flags of the method parameters. |
| pack-priv ClassReader. | parameterAnnotations
A table to hold annotations for method parameters. |
| pack-priv int[] | parameterNameIndicesLvt
A table to hold the constant pool indices for method parameter names, as given in LocalVariableTable attributes. |
| pack-priv int[] | parameterNameIndicesMp
A table to hold the constant pool indices for method parameter names, as given in the MethodParameters attribute. |
| pack-priv PoolReader | poolReader
The pool reader. |
| pack-priv Preview | preview
Support for preview language features. |
| pack-priv boolean | previewClassFile
true if the class file being read is a preview class file. |
| public final Profile | profile
The currently selected profile. |
| private boolean | |
| pack-priv ClassReader. | repeatable
The prototype @Repeatable Attribute.Compound if this class is an annotation annotated with
|
| public boolean | saveParameterNames
Switch: preserve parameter names from the variable table. |
| pack-priv int | |
| pack-priv boolean | |
| pack-priv int | |
| pack-priv byte[] | signature
The unread portion of the currently read type is signature[sigp..siglimit-1]. |
| pack-priv byte[] | |
| pack-priv int | |
| pack-priv Symtab | syms
The symbol table. |
| pack-priv ClassReader. | target
The prototype @Target Attribute.Compound if this class is an annotation annotated with
|
| pack-priv Types | |
| protected Scope. | typevars
The current scope where type variables are entered. |
| pack-priv Convert. | utf8validation
UTF-8 validation level |
| pack-priv boolean | verbose
Switch: verbose output. |
| pack-priv Set | warnedAttrs
The set of attribute names for which warnings have been generated for the current class |
| pack-priv boolean | warnOnIllegalUtf8
Switch: warn (instead of error) on illegal UTF-8 |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| private void | addTypeAnnotationsToSymbol(Symbol s, List<Attribute.
Rewrites types in the given symbol to include type annotations. |
| pack-priv long | |
| pack-priv long | |
| pack-priv long | |
| private List | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | attachAnnotations(final Symbol sym, List<ClassReader.
Attach annotations. |
| pack-priv void | |
| public ClassFinder. | |
| public ClassFinder. | |
| public ClassFinder. | |
| public ClassFinder. | |
| pack-priv Type | |
| private void | |
| protected Symbol. | |
| protected Symbol. | |
| private void | |
| protected void | enterTypevars(Symbol sym, Type t)
Enter type variables of this classtype and all enclosing ones in `typevars'. |
| private Symbol. | |
| pack-priv Type | |
| private void | |
| pack-priv void | |
| public static ClassReader | |
| private static boolean | |
| private boolean | isSameBinaryType(Type.
Similar to Types.isSameType but avoids completion |
| private Symbol. | |
| pack-priv int | |
| pack-priv char | |
| pack-priv int | |
| pack-priv <Z> Z | optPoolEntry(int index, IntFunction<Z> poolFunc, Z defaultValue)
Helper function to read an optional pool entry (with given function); this is used while parsing InnerClasses and EnclosingMethod attributes, as well as when parsing supertype descriptor, as per JVMS. |
| private Symbol. | parameter(int
the index of the parameter in the MethodParameters attribute mpIndex, int the index of the parameter in the LocalVariableTable attribute lvtIndex, Type t, Symbol.Creates the parameter at the position |
| pack-priv String | |
| pack-priv List | |
| pack-priv Attribute | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| private void | |
| public void | |
| pack-priv Code | |
| pack-priv ClassReader. | |
| protected void | |
| pack-priv Set | |
| pack-priv Symbol. | |
| pack-priv void | |
| pack-priv void | |
| pack-priv Symbol. | |
| pack-priv Set | |
| pack-priv Set | |
| private Name | |
| pack-priv Set | |
| pack-priv void | |
| pack-priv TypeAnnotationPosition | |
| pack-priv Set | |
| pack-priv ClassReader. | |
| pack-priv Type | |
| pack-priv List | |
| pack-priv Type | |
| private void | setFlagIfAttributeTrue(ClassReader.
|
| pack-priv void | setParameters(Symbol.
Set the parameters for a method symbol, including any names and annotations that were read. |
| pack-priv Type | sigToType(byte[] sig, int offset, int len)
Convert signature to type, where signature is a byte array segment. |
| pack-priv Type | |
| pack-priv Type | |
| pack-priv List | sigToTypeParams(byte[] sig, int offset, int len)
Convert signature to type parameters, where signature is a byte array segment. |
| pack-priv List | |
| pack-priv List | sigToTypes(char terminator)
Convert (implicit) signature to list of types until `terminator' is encountered. |
| private Name | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void |