Annotation related definitions.
Generic parser for annotation default attributes.
Generic parser to parse a list of annotations.
Generic infrastructure used by specific parsers of class file attributes to register with the overall framework (org.opalj.bi.reader.AttributesReader).
Defines common abstractions over class file attributes.
Trait that implements a template method to read in the attributes of a class, method_info, field_info or code_attribute structure.
Template method to read the (Java 7) BootstrapMethods attribute.
Template method to read the (Java 7) BootstrapMethods attribute.
From the Specification
The BootstrapMethods
attribute is a variable-length attribute in the
attributes table of a ClassFile
structure. The BootstrapMethods
attribute
records bootstrap method specifiers referenced by invokedynamic
instructions.
Implements the template method to read in a Java class file.
Implements the template method to read in a Java class file. Additionally, several convenience methods are defined to read in class files from various sources (Streams, Files, JAR archives).
This library supports class files from version 45 (Java 1.1) up to version 53 (Java 9).
Reading of the class file's major structures: the constant pool, fields, methods and the attributes is delegated to corresponding readers. This enables a very high-level of adaptability.
For further details see the JVM Specification: The ClassFile Structure.
Defines various settings related to reading/processing class files.
Defines various settings related to reading/processing class files. To change
the default confiration, override the respective val
using early initializers!
class ConfiguredFramework extends { override implicit val logContext: LogContext = theLogContext override implicit val config: Config = theConfig } with Java9FrameworkWithLambdaExpressionsSupportAndCaching(cache) new ConfiguredFramework
Naive Code reader that just reads in the code array as is - without parsing it.
Defines a template method to read in the code attribute.
Defines a template method to read in the code attribute.
From the Specification The Code attribute is a variable-length attribute in the attributes table of a method_info structure.
Generic parser for the LineNumberTable attribute that does not unpack the line number table.
Generic parser for the ConcealedPackages attribute (Java 9).
Common interface of all entries in the constant pool.
Defines a template method to read in a constant value attribute.
Defines a template method to read in a constant value attribute.
From the Specification
The ConstantValue attribute is a fixed-length attribute in the attributes table of a field_info structure.
ConstantValue_attribute { u2 attribute_name_index; u4 attribute_length; u2 constantvalue_index; }
Constant pool related type definitions.
Defines a template method to read in a class file's constant pool.
Generic infrastructure for reading the "@deprecated" attribute.
Generic parser for an annotation's element-value pairs.
Generic parser for the enclosing method attribute.
Generic parser for a code block's exceptions attribute.
Generic parser for the inner classes attribute.
Generic parser for the LineNumberTable attribute.
Generic parser for the local variable table attribute.
Generic parser for the local variable type table attribute.
The MainClass attribute is an attribute in the attributes table of a module definition (Java 9).
A generic reader for Java 8's MethodParameters
attribute.
Defines a template method to read in a class file's Method_info structure.
Generic parser for the Module attribute (Java 9).
Generic parser for the Module attribute (Java 9).
This implementation is based on: http://cr.openjdk.java.net/~mr/jigsaw/spec/lang-vm.html August 2016
Generic parser for a method parameter's visible or invisible annotations.
Generic parser for the RuntimeInvisibleAnnotations
attribute.
Generic parser for the RuntimeInvisibleParameterAnnotations
attribute.
Parser for Java 8's RuntimeInvisibleTypeAnnotations
attribute.
Generic parser for RuntimeVisibleAnnotations
attribute.
Generic parser for RuntimeVisibleParameterAnnotations
attributes.
Generic parser for Java 8's RuntimeVisibleTypeAnnotations
attribute.
Implements the template method to read signature attributes.
Implements the template method to read signature attributes.
The Signature attribute is an optional attribute in the attributes table of a ClassFile, field_info or method_info structure.
Template method to skip an unknown attribute.
Template method to skip an unknown attribute. I.e., the information will not be represented at runtime.
Template method to read in the SourceDebugExtension attribute.
Template method to read in the SourceDebugExtension attribute.
The SourceDebugExtension attribute is an optional attribute in the attributes table of a ClassFile structure.
The SourceFile attribute is an optional attribute in the attributes table of a ClassFile structure.
Implementation of a template method to read in the StackMapTable attribute.
The Synthetic attribute is an attribute in the attributes table of a ClassFile, field_info or method_info structure.
The TargetPlatform attribute is an attribute in the attributes table of a module definition (Java 9).
Generic parser for the type_path
field of type annotations.
Generic parser for the type_path
field of type annotations. This
reader is intended to be used in conjunction with the
TypeAnnotationsReader.
Generic parser for the target_type
and target_info
fields of type annotations.
Generic parser for the target_type
and target_info
fields of type annotations.
This reader is intended to be used in conjunction with the
TypeAnnotationsReader.
Generic parser for type annotations.
Generic parser for type annotations. This reader is intended to be used in conjunction with the Runtime(In)VisibleTypeAnnotations_attributeReaders.
A generic reader that can read attributes that are neither defined by the specification nor by some additional user supplied code.
The Version attribute is an attribute in the attributes table of a module definition (Java 9).
Helper methods related to reading class files.
Generic parser to parse a list of annotations. This reader is intended to be used in conjunction with the Runtime(In)Visible(Parameter)Annotations_attributeReaders.