Packages

object Java7LibraryFramework extends Java7LibraryFramework

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Java7LibraryFramework
  2. Java7LibraryFramework
  3. Module_attributeBinding
  4. Module_attributeReader
  5. Exceptions_attributeBinding
  6. Exceptions_attributeReader
  7. ConstantValue_attributeBinding
  8. ConstantValue_attributeReader
  9. Synthetic_attributeBinding
  10. Synthetic_attributeReader
  11. Signature_attributeBinding
  12. Signature_attributeReader
  13. Deprecated_attributeBinding
  14. Deprecated_attributeReader
  15. SourceFile_attributeBinding
  16. SourceFile_attributeReader
  17. EnclosingMethod_attributeBinding
  18. EnclosingMethod_attributeReader
  19. InnerClasses_attributeBinding
  20. InnerClasses_attributeReader
  21. AnnotationAttributesBinding
  22. AttributeBinding
  23. AnnotationDefault_attributeReader
  24. RuntimeVisibleParameterAnnotations_attributeReader
  25. RuntimeInvisibleParameterAnnotations_attributeReader
  26. RuntimeVisibleAnnotations_attributeReader
  27. RuntimeInvisibleAnnotations_attributeReader
  28. AttributeReader
  29. ParametersAnnotationsReader
  30. AnnotationsReader
  31. AnnotationsBinding
  32. ElementValuePairsReader
  33. AnnotationsAbstractions
  34. SkipUnknown_attributeReader
  35. AttributesReader
  36. Unknown_attributeAbstractions
  37. AttributesAbstractions
  38. ClassFileBinding
  39. ClassFileReader
  40. ClassFileReaderConfiguration
  41. MethodsBinding
  42. MethodsReader
  43. FieldsBinding
  44. FieldsReader
  45. ConstantPoolBinding
  46. Constant_PoolReader
  47. Constant_PoolAbstractions
  48. AnyRef
  49. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type Annotation = br.Annotation
  2. type AnnotationDefault_attribute = br.ElementValue
  3. type AnnotationValue = br.AnnotationValue
    Definition Classes
    AnnotationsBinding
  4. type Annotations = ArraySeq[Annotation]
    Definition Classes
    AnnotationsReader
  5. type ArrayValue = br.ArrayValue
    Definition Classes
    AnnotationsBinding
  6. type Attribute = br.Attribute

    Specifying a lower bound is necessary to implement a generic skipAttribute method.

    Specifying a lower bound is necessary to implement a generic skipAttribute method.

    Definition Classes
    AttributeBindingAttributesAbstractions
  7. type Attributes = ArraySeq[Attribute]
    Definition Classes
    AttributesAbstractions
  8. type BooleanValue = br.BooleanValue
    Definition Classes
    AnnotationsBinding
  9. type ByteValue = br.ByteValue
    Definition Classes
    AnnotationsBinding
  10. type CONSTANT_Class_info = cp.CONSTANT_Class_info
  11. type CONSTANT_Double_info = cp.CONSTANT_Double_info
  12. type CONSTANT_Dynamic_info = cp.CONSTANT_Dynamic_info
  13. type CONSTANT_Fieldref_info = cp.CONSTANT_Fieldref_info
  14. type CONSTANT_Float_info = cp.CONSTANT_Float_info
  15. type CONSTANT_Integer_info = cp.CONSTANT_Integer_info
  16. type CONSTANT_InterfaceMethodref_info = cp.CONSTANT_InterfaceMethodref_info
  17. type CONSTANT_InvokeDynamic_info = cp.CONSTANT_InvokeDynamic_info
  18. type CONSTANT_Long_info = cp.CONSTANT_Long_info
  19. type CONSTANT_MethodHandle_info = cp.CONSTANT_MethodHandle_info
  20. type CONSTANT_MethodType_info = cp.CONSTANT_MethodType_info
  21. type CONSTANT_Methodref_info = cp.CONSTANT_Methodref_info
  22. type CONSTANT_Module_info = cp.CONSTANT_Module_info
  23. type CONSTANT_NameAndType_info = cp.CONSTANT_NameAndType_info
  24. type CONSTANT_Package_info = cp.CONSTANT_Package_info
  25. type CONSTANT_String_info = cp.CONSTANT_String_info
  26. type CONSTANT_Utf8_info = cp.CONSTANT_Utf8_info
  27. type CharValue = br.CharValue
    Definition Classes
    AnnotationsBinding
  28. type ClassFile = br.ClassFile

    The type of the object that represents a Java class file.

    The type of the object that represents a Java class file.

    Definition Classes
    ClassFileBindingClassFileReaderConstant_PoolAbstractions
  29. type ClassValue = br.ClassValue
    Definition Classes
    AnnotationsBinding
  30. type ConstantValue_attribute = ConstantFieldValue[_]
  31. final type Constant_Pool = Array[Constant_Pool_Entry]
    Definition Classes
    Constant_PoolAbstractions
  32. type Constant_Pool_Entry = cp.Constant_Pool_Entry
  33. final type Constant_Pool_Index = Int
    Definition Classes
    Constant_PoolAbstractions
  34. type DeferredActionsStore = Buffer[(ClassFile) => ClassFile] with Constant_Pool_Entry

    A DeferredActionsStore stores all functions that need to perform post load actions.

    A DeferredActionsStore stores all functions that need to perform post load actions.

    One example is the resolution of references to attributes. (The constant pool is the only structure that is passed around and hence it is the only place where to store information/functions related to a specific class file).

    Definition Classes
    Constant_PoolAbstractions
  35. type Deprecated_attribute = br.Attribute
  36. type DoubleValue = br.DoubleValue
    Definition Classes
    AnnotationsBinding
  37. type ElementValue = br.ElementValue
  38. type ElementValuePair = br.ElementValuePair
  39. type ElementValuePairs = ArraySeq[ElementValuePair]
  40. type ElementValues = ArraySeq[ElementValue]
    Definition Classes
    ElementValuePairsReader
  41. type EnclosingMethod_attribute = EnclosingMethod
  42. type EnumValue = br.EnumValue
    Definition Classes
    AnnotationsBinding
  43. type ExceptionIndexTable = Array[Constant_Pool_Index]
    Definition Classes
    Exceptions_attributeReader
  44. type Exceptions_attribute = ExceptionTable
  45. type Exports = ArraySeq[ExportsEntry]
    Definition Classes
    Module_attributeReader
  46. type ExportsEntry = br.Exports
  47. type ExportsToIndexEntry = String
    Definition Classes
    Module_attributeBinding
  48. type ExportsToIndexTable = Array[Constant_Pool_Index]
    Definition Classes
    Module_attributeReader
  49. type Field_Info = Field
    Definition Classes
    FieldsBindingFieldsReader
  50. type Fields = ArraySeq[Field_Info]
    Definition Classes
    FieldsReader
  51. type FloatValue = br.FloatValue
    Definition Classes
    AnnotationsBinding
  52. type InnerClasses = ArraySeq[InnerClassesEntry]
  53. type InnerClassesEntry = InnerClass
  54. type InnerClasses_attribute = InnerClassTable
  55. type IntValue = br.IntValue
    Definition Classes
    AnnotationsBinding
  56. final type Interfaces = Array[Constant_Pool_Index]

    The inherited interfaces.

    The inherited interfaces.

    Definition Classes
    ClassFileReader
  57. type LongValue = br.LongValue
    Definition Classes
    AnnotationsBinding
  58. type Method_Info = Method
    Definition Classes
    MethodsBindingMethodsReader
  59. type Methods = ArraySeq[Method_Info]
    Definition Classes
    MethodsReader
  60. type Module_attribute = Module
  61. type Opens = ArraySeq[OpensEntry]
    Definition Classes
    Module_attributeReader
  62. type OpensEntry = br.Opens
  63. type OpensToIndexEntry = String
    Definition Classes
    Module_attributeBinding
  64. type OpensToIndexTable = Array[Constant_Pool_Index]
    Definition Classes
    Module_attributeReader
  65. type ParameterAnnotations = ArraySeq[Annotation]
    Definition Classes
    ParametersAnnotationsReader
  66. type ParametersAnnotations = ArraySeq[ParameterAnnotations]
    Definition Classes
    ParametersAnnotationsReader
  67. type Provides = ArraySeq[ProvidesEntry]
    Definition Classes
    Module_attributeReader
  68. type ProvidesEntry = br.Provides
  69. type ProvidesWithIndexEntry = ObjectType
    Definition Classes
    Module_attributeBinding
  70. type ProvidesWithIndexTable = Array[Constant_Pool_Index]
    Definition Classes
    Module_attributeReader
  71. type Requires = ArraySeq[RequiresEntry]
    Definition Classes
    Module_attributeReader
  72. type RequiresEntry = br.Requires
  73. type RuntimeInvisibleAnnotations_attribute = RuntimeInvisibleAnnotationTable
  74. type RuntimeInvisibleParameterAnnotations_attribute = RuntimeInvisibleParameterAnnotationTable
  75. type RuntimeVisibleAnnotations_attribute = RuntimeVisibleAnnotationTable
  76. type RuntimeVisibleParameterAnnotations_attribute = RuntimeVisibleParameterAnnotationTable
  77. type ShortValue = br.ShortValue
    Definition Classes
    AnnotationsBinding
  78. type Signature_attribute = Signature
  79. type SourceFile_attribute = SourceFile
  80. type Synthetic_attribute = br.Attribute
  81. type Unknown_attribute = Null
  82. type Uses = Array[Constant_Pool_Index]
    Definition Classes
    Module_attributeReader
  83. type UsesEntry = ObjectType
    Definition Classes
    Module_attributeBinding

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def AllClassFiles(files: Iterable[File], exceptionHandler: bi.reader.ClassFileReader.ExceptionHandler = defaultExceptionHandler): Iterable[(ClassFile, URL)]
    Definition Classes
    ClassFileReader
  5. def Annotation(cp: Constant_Pool, type_index: Constant_Pool_Index, element_value_pairs: ElementValuePairs): Annotation
  6. def Annotation(cp: Constant_Pool, in: DataInputStream): Annotation
    Definition Classes
    AnnotationsAbstractions
  7. def AnnotationDefault_attribute(cp: Constant_Pool, ap_name_index: Constant_Pool_Index, ap_descriptor_index: Constant_Pool_Index, attribute_name_index: Constant_Pool_Index, element_value: ElementValue): AnnotationDefault_attribute
  8. def AnnotationValue(cp: Constant_Pool, annotation: Annotation): ElementValue
  9. def Annotations(cp: Constant_Pool, in: DataInputStream): Annotations

    Reads the annotations of a annotations attributes.

    Reads the annotations of a annotations attributes.

    From the Specification

    annotation {
         u2 type_index;
         u2 num_element_value_pairs;
         {   u2 element_name_index;
             element_value value;
         }   element_value_pairs[num_element_value_pairs]
    }
    

    Definition Classes
    AnnotationsReader
  10. def ArrayValue(cp: Constant_Pool, values: ElementValues): ElementValue
  11. def Attribute(cp: Constant_Pool, ap: AttributeParent, ap_name_index: Constant_Pool_Index, ap_descriptor_index: Constant_Pool_Index, in: DataInputStream): Attribute
    Definition Classes
    AttributesReader
  12. def Attributes(cp: Constant_Pool, ap: AttributeParent, ap_name_index: Constant_Pool_Index, ap_descriptor_index: Constant_Pool_Index, in: DataInputStream): Attributes
    Definition Classes
    AttributesReader
  13. def BooleanValue(cp: Constant_Pool, const_value_index: Constant_Pool_Index): ElementValue
  14. def ByteValue(cp: Constant_Pool, const_value_index: Constant_Pool_Index): ElementValue
  15. def CONSTANT_Class_info(i: Int): CONSTANT_Class_info
  16. def CONSTANT_Double_info(d: Double): CONSTANT_Double_info
  17. def CONSTANT_Dynamic_info(bootstrap_method_attr_index: Constant_Pool_Index, name_and_type_index: Constant_Pool_Index): CONSTANT_Dynamic_info
  18. def CONSTANT_Fieldref_info(class_index: Constant_Pool_Index, name_and_type_index: Constant_Pool_Index): CONSTANT_Fieldref_info
  19. def CONSTANT_Float_info(f: Float): CONSTANT_Float_info
  20. def CONSTANT_Integer_info(i: Int): CONSTANT_Integer_info
  21. def CONSTANT_InterfaceMethodref_info(class_index: Constant_Pool_Index, name_and_type_index: Constant_Pool_Index): CONSTANT_InterfaceMethodref_info
  22. def CONSTANT_InvokeDynamic_info(bootstrap_method_attr_index: Constant_Pool_Index, name_and_type_index: Constant_Pool_Index): CONSTANT_InvokeDynamic_info
  23. def CONSTANT_Long_info(l: Long): CONSTANT_Long_info
  24. def CONSTANT_MethodHandle_info(reference_kind: Int, reference_index: Int): CONSTANT_MethodHandle_info
  25. def CONSTANT_MethodType_info(descriptor_index: Constant_Pool_Index): CONSTANT_MethodType_info
  26. def CONSTANT_Methodref_info(class_index: Constant_Pool_Index, name_and_type_index: Constant_Pool_Index): CONSTANT_Methodref_info
  27. def CONSTANT_Module_info(name_index: Constant_Pool_Index): CONSTANT_Module_info
  28. def CONSTANT_NameAndType_info(name_index: Constant_Pool_Index, descriptor_index: Constant_Pool_Index): CONSTANT_NameAndType_info
  29. def CONSTANT_Package_info(name_index: Constant_Pool_Index): CONSTANT_Package_info
  30. def CONSTANT_String_info(i: Int): CONSTANT_String_info
  31. def CONSTANT_Utf8_info(r: Array[Byte], s: String): CONSTANT_Utf8_info
  32. def CharValue(cp: Constant_Pool, const_value_index: Constant_Pool_Index): ElementValue
  33. def ClassFile(cp: Constant_Pool, minor_version: Int, major_version: Int, access_flags: Int, this_class_index: Constant_Pool_Index, super_class_index: Constant_Pool_Index, interfaces: Interfaces, fields: Fields, methods: Methods, attributes: Attributes): ClassFile

    Factory method to create the ClassFile object that represents the class file as a whole, plus any ClassFiles that have been synthesized in the process of parsing it.

    Factory method to create the ClassFile object that represents the class file as a whole, plus any ClassFiles that have been synthesized in the process of parsing it.

    The result will always contain at least one ClassFile object, namely the one that is created from this method's parameters. Regardless of how many ClassFiles the result contains, the ClassFile created from this method's parameters will always be the result's first element.

    Definition Classes
    ClassFileBindingClassFileReader
  34. def ClassFile(jarFileName: String, jarFileEntryName: String): List[ClassFile]

    Reads in a single class file from a Jar file.

    Reads in a single class file from a Jar file.

    jarFileName

    the name of an existing ZIP/JAR file that contains class files.

    jarFileEntryName

    the name of a class file stored in the specified ZIP/JAR file.

    Definition Classes
    ClassFileReader
    Annotations
    @throws("if the file is empty or the entry cannot be found")
  35. def ClassFile(jarFile: File, jarFileEntryName: String): List[ClassFile]

    Reads in a single class file from a Jar file.

    Reads in a single class file from a Jar file.

    jarFile

    An existing ZIP/JAR file that contains class files.

    jarFileEntryName

    The name of a class file stored in the specified ZIP/JAR file.

    Definition Classes
    ClassFileReader
    Annotations
    @throws("if the file is empty or the entry cannot be found")
  36. def ClassFile(jarFile: ZipFile, jarEntry: ZipEntry): List[ClassFile]
    Attributes
    protected[this]
    Definition Classes
    ClassFileReader
  37. def ClassFile(create: () => InputStream): List[ClassFile]

    Reads in a class file.

    Reads in a class file.

    create

    A function that creates a new InputStream and which must not return null. If you already do have an open input stream which should not be closed after reading the class file use ...ClassFileReader.ClassFile(java.io.DataInputStream) : ClassFile instead. The (newly created) InputStream returned by calling create is closed by this method. The created input stream will automatically be wrapped by OPAL to enable efficient reading of the class file.

    Definition Classes
    ClassFileReader
  38. def ClassFile(in: DataInputStream): List[ClassFile]

    Template method that reads a Java class file from the given input stream.

    Template method that reads a Java class file from the given input stream.

    All other methods to read a class file use this method to eventually parse a class file.

    Class File Structure

    Parses a class file according to the specification:

    ClassFile {
       u4 magic;
       u2 minor_version;
       u2 major_version;
       u2 constant_pool_count;
       cp_info constant_pool[constant_pool_count-1];
       u2 access_flags;
       u2 this_class;
       u2 super_class;
       u2 interfaces_count;
       u2 interfaces[interfaces_count];
       u2 fields_count;
       field_info fields[fields_count];
       u2 methods_count;
       method_info methods[methods_count];
       u2 attributes_count;
       attribute_info attributes[attributes_count];
    }
    

    in

    The DataInputStream from which the class file will be read. The stream is not closed by this method. It is highly recommended that the stream is buffered; otherwise the performance will be terrible!

    Definition Classes
    ClassFileReader
  39. def ClassFiles(file: File, exceptionHandler: bi.reader.ClassFileReader.ExceptionHandler = defaultExceptionHandler): List[(ClassFile, URL)]

    Loads class files from the given file location.

    Loads class files from the given file location.

    • If the file denotes a single ".class" file this class file is loaded.
    • If the file object denotes a ".jar|.war|.ear|.zip" file, all class files in the jar file will be loaded.
    • If the file object specifies a directory object, all ".class" files in the directory and in all subdirectories are loaded as well as all class files stored in ".jar" files in one of the directories. This class loads all class files in parallel. However, this does not effect analyses working on the resulting List.
    Definition Classes
    ClassFileReader
  40. def ClassFiles(zipFile: ZipFile, classFileHandler: (ClassFile, URL) => Unit, exceptionHandler: bi.reader.ClassFileReader.ExceptionHandler): Unit

    Reads in parallel all class files stored in the given jar file.

    Reads in parallel all class files stored in the given jar file. For each successfully read class file the function classFileHandler is called.

    zipFile

    A valid zip file that contains .class files and other .jar files; other files are ignored. Inner jar files are also unzipped.

    classFileHandler

    A function that is called for each class file in the given jar file. Given that the jarFile is read in parallel this function has to be thread safe.

    exceptionHandler

    The exception handler that is called when the reading of a class file fails. This function has to be thread safe.

    Definition Classes
    ClassFileReader
  41. def ClassFiles(in: => JarInputStream): List[(ClassFile, String)]

    Reads the class files from the given JarInputStream

    Reads the class files from the given JarInputStream

    Definition Classes
    ClassFileReader
  42. def ClassFiles(jarFile: ZipFile, exceptionHandler: bi.reader.ClassFileReader.ExceptionHandler): List[(ClassFile, URL)]

    Reads in parallel all class files stored in the given jar/zip file.

    Reads in parallel all class files stored in the given jar/zip file.

    jarFile

    Some valid (non-empty) jar File.

    returns

    The loaded class files.

    Definition Classes
    ClassFileReader
  43. def ClassValue(cp: Constant_Pool, const_value_index: Constant_Pool_Index): ElementValue
  44. def ConstantValue_attribute(cp: Constant_Pool, ap_name_index: Constant_Pool_Index, ap_descriptor_index: Constant_Pool_Index, attributeNameIndex: Constant_Pool_Index, constantValueIndex: Constant_Pool_Index): ConstantValue_attribute
  45. def Constant_Pool(in: DataInputStream): Constant_Pool
    Definition Classes
    Constant_PoolReader
  46. def Deprecated_attribute(cp: Constant_Pool, ap_name_index: Constant_Pool_Index, ap_descriptor_index: Constant_Pool_Index, attribute_name_index: Constant_Pool_Index): br.Attribute
  47. def DoubleValue(cp: Constant_Pool, const_value_index: Constant_Pool_Index): ElementValue
  48. def ElementValue(cp: Constant_Pool, in: DataInputStream): ElementValue

    Parses an element value.

    Parses an element value.

    From the Specification

    element_value {
       u1 tag;
       union {
         u2   const_value_index;
    
         {
           u2 type_name_index;
           u2 const_name_index;
         } enum_const_value;
    
         u2 class_info_index;
    
         annotation annotation_value;
    
         {
           u2    num_values;
           element_value values[num_values];
         } array_value;
       } value;
    }
    

    Definition Classes
    ElementValuePairsReader
  49. def ElementValuePair(cp: Constant_Pool, element_name_index: Constant_Pool_Index, element_value: ElementValue): ElementValuePair
  50. def ElementValuePair(cp: Constant_Pool, in: DataInputStream): ElementValuePair
    Definition Classes
    ElementValuePairsReader
  51. def ElementValuePairs(cp: Constant_Pool, in: DataInputStream): ElementValuePairs
  52. def EnclosingMethod_attribute(cp: Constant_Pool, ap_name_index: Constant_Pool_Index, ap_descriptor_index: Constant_Pool_Index, attribute_name_index: Constant_Pool_Index, class_index: Constant_Pool_Index, method_index: Constant_Pool_Index): EnclosingMethod_attribute
  53. def EnumValue(cp: Constant_Pool, type_name_index: Constant_Pool_Index, const_name_index: Constant_Pool_Index): ElementValue
  54. def Exceptions_attribute(cp: Constant_Pool, ap_name_index: Constant_Pool_Index, ap_descriptor_index: Constant_Pool_Index, attribute_name_index: Constant_Pool_Index, exception_index_table: Array[Constant_Pool_Index]): Exceptions_attribute
  55. def ExportsEntry(cp: Constant_Pool, exports_index: Constant_Pool_Index, exports_flags: Int, exports_to_index_table: ExportsToIndexTable): ExportsEntry
  56. def Field_Info(cp: Constant_Pool, access_flags: Int, name_index: Constant_Pool_Index, descriptor_index: Constant_Pool_Index, attributes: Attributes): Field_Info
    Definition Classes
    FieldsBindingFieldsReader
  57. def Fields(cp: Constant_Pool, in: DataInputStream): Fields
    Definition Classes
    FieldsReader
  58. def FloatValue(cp: Constant_Pool, const_value_index: Constant_Pool_Index): ElementValue
  59. def InnerClassesEntry(cp: Constant_Pool, inner_class_info_index: Constant_Pool_Index, outer_class_info_index: Constant_Pool_Index, inner_name_index: Constant_Pool_Index, inner_class_access_flags: Int): InnerClassesEntry
  60. def InnerClasses_attribute(cp: Constant_Pool, ap_name_index: Constant_Pool_Index, ap_descriptor_index: Constant_Pool_Index, attribute_name_index: Constant_Pool_Index, inner_classes: InnerClasses): InnerClasses_attribute
  61. def IntValue(cp: Constant_Pool, const_value_index: Constant_Pool_Index): ElementValue
  62. def JRTClassFiles: Iterable[(String, List[(ClassFile, URL)])]

    Returns the class files of the current Java Runtime Image grouped by module.

    Returns the class files of the current Java Runtime Image grouped by module.

    Definition Classes
    ClassFileReader
  63. def LongValue(cp: Constant_Pool, const_value_index: Constant_Pool_Index): ElementValue
  64. def Method_Info(cp: Constant_Pool, accessFlags: Int, name_index: Int, descriptor_index: Int, attributes: Attributes): Method_Info
    Definition Classes
    MethodsBindingMethodsReader
  65. def Methods(cp: Constant_Pool, in: DataInputStream): Methods
    Definition Classes
    MethodsReader
  66. def Module_attribute(cp: Constant_Pool, ap_name_index: Constant_Pool_Index, ap_descriptor_index: Constant_Pool_Index, attribute_name_index: Constant_Pool_Index, module_name_index: Constant_Pool_Index, module_flags: Int, module_version_index: Constant_Pool_Index, requires: Requires, exports: Exports, opens: Opens, uses: Uses, provides: Provides): Module_attribute

    module_name_index

    Reference to the constant pool entry with the name of the module - which is NOT in internal form. (I.e., "." are used!)

    module_version_index

    0 or index into the constant pool (i.e., optional).

    Definition Classes
    Module_attributeBindingModule_attributeReader
  67. def OpensEntry(cp: Constant_Pool, opens_index: Constant_Pool_Index, opens_flags: Int, opens_to_index_table: OpensToIndexTable): OpensEntry
  68. def ParametersAnnotations(cp: Constant_Pool, in: DataInputStream): ParametersAnnotations
    Definition Classes
    ParametersAnnotationsReader
  69. def ProvidesEntry(cp: Constant_Pool, provides_index: Constant_Pool_Index, provides_with_index_table: ProvidesWithIndexTable): ProvidesEntry
  70. def RequiresEntry(cp: Constant_Pool, requires_index: Constant_Pool_Index, requires_flags: Int, require_version_index: Constant_Pool_Index): RequiresEntry
  71. def RuntimeInvisibleAnnotations_attribute(cp: Constant_Pool, ap_name_index: Constant_Pool_Index, ap_descriptor_index: Constant_Pool_Index, attribute_name_index: Constant_Pool_Index, annotations: Annotations): RuntimeInvisibleAnnotations_attribute
  72. def RuntimeInvisibleParameterAnnotations_attribute(cp: Constant_Pool, ap_name_index: Constant_Pool_Index, ap_descriptor_index: Constant_Pool_Index, attribute_name_index: Constant_Pool_Index, parameters_annotations: ParametersAnnotations): RuntimeInvisibleParameterAnnotations_attribute

    Factory method to create a representation of a RuntimeInvisibleParameterAnnotations_attribute.

    Factory method to create a representation of a RuntimeInvisibleParameterAnnotations_attribute.

    Definition Classes
    AnnotationAttributesBindingRuntimeInvisibleParameterAnnotations_attributeReader
  73. def RuntimeVisibleAnnotations_attribute(cp: Constant_Pool, ap_name_index: Constant_Pool_Index, ap_descriptor_index: Constant_Pool_Index, attribute_name_index: Constant_Pool_Index, annotations: Annotations): RuntimeVisibleAnnotations_attribute
  74. def RuntimeVisibleParameterAnnotations_attribute(cp: Constant_Pool, ap_name_index: Constant_Pool_Index, ap_descriptor_index: Constant_Pool_Index, attribute_name_index: Constant_Pool_Index, parameters_annotations: ParametersAnnotations): RuntimeVisibleParameterAnnotations_attribute
  75. def ShortValue(cp: Constant_Pool, const_value_index: Constant_Pool_Index): ElementValue
  76. def Signature_attribute(cp: Constant_Pool, ap: AttributeParent, ap_name_index: Constant_Pool_Index, ap_descriptor_index: Constant_Pool_Index, attribute_name_index: Constant_Pool_Index, signature_index: Constant_Pool_Index): Signature_attribute

    Creates a Signature_attribute.

    Creates a Signature_attribute.

    From the Specification

    The constant pool entry at signature_index must be a CONSTANT_Utf8_info structure representing either a class signature, if this signature attribute is an attribute of a ClassFile structure, a method type signature, if this signature is an attribute of a method_info structure, or a field type signature otherwise.

    Definition Classes
    Signature_attributeBindingSignature_attributeReader
  77. def SourceFile_attribute(cp: Constant_Pool, ap_name_index: Constant_Pool_Index, ap_descriptor_index: Constant_Pool_Index, attribute_name_index: Constant_Pool_Index, sourcefile_index: Constant_Pool_Index): SourceFile_attribute
  78. def StringValue(cp: Constant_Pool, const_value_index: Constant_Pool_Index): ElementValue
  79. def Synthetic_attribute(cp: Constant_Pool, ap_name_index: Constant_Pool_Index, ap_descriptor_index: Constant_Pool_Index, attribute_name_index: Constant_Pool_Index): br.Attribute
  80. def Unknown_attribute(cp: Constant_Pool, ap: AttributeParent, ap_name_index: Constant_Pool_Index, ap_descriptor_index: Constant_Pool_Index, attribute_name_index: Constant_Pool_Index, in: DataInputStream): Null
  81. implicit val annotationType: ClassTag[Annotation]
  82. def applyDeferredActions(cp: Constant_Pool, classFile: ClassFile): ClassFile

    This method is called/needs to be called after the class file was completely loaded to perform class file specific transformations.

    This method is called/needs to be called after the class file was completely loaded to perform class file specific transformations.

    Definition Classes
    Constant_PoolReaderConstant_PoolAbstractions
  83. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  84. implicit val attributeType: ClassTag[Attribute]
  85. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  86. implicit val config: Config

    The Config object that will be used to read the configuration settings for reading in class files.

    The Config object that will be used to read the configuration settings for reading in class files.

    Definition Classes
    ClassFileReaderConfiguration
  87. implicit val constantPoolEntryType: ClassTag[cp.Constant_Pool_Entry]
  88. implicit def cpIndexTocpEntry(index: Constant_Pool_Index)(implicit cp: Constant_Pool): Constant_Pool_Entry
    Definition Classes
    ConstantPoolBinding
  89. def createDeferredActionsStore(): DeferredActionsStore

    Creates a storage area for functions that will be called after the class file was completely loaded.

    Creates a storage area for functions that will be called after the class file was completely loaded. This makes it possible to register functions that are newly created for a special class file object to perform actions related to that specific class file object. For further information study the resolving process of invokedynamic instructions.

    Attributes
    protected[this]
    Definition Classes
    ConstantPoolBindingConstant_PoolReader
  90. def defaultConfig: Config
  91. final val defaultExceptionHandler: bi.reader.ClassFileReader.ExceptionHandler
    Definition Classes
    ClassFileReader
  92. def defaultLogContext: LogContext
  93. val deleteSynthesizedClassFilesAttributes: Boolean

    This property determines whether artificial SynthesizedClassFiles attributes are kept or removed.

    This property determines whether artificial SynthesizedClassFiles attributes are kept or removed.

    Definition Classes
    ClassFileBinding
    Note

    This setting can be set using the configuration key ClassFileBinding.DeleteSynthesizedClassFilesAttributesConfigKey.

  94. implicit val elementValuePairType: ClassTag[ElementValuePair]
  95. implicit val elementValueType: ClassTag[ElementValue]
  96. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  97. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  98. implicit val exportsEntryType: ClassTag[ExportsEntry]
  99. val extractSynthesizedClassFiles: (List[ClassFile]) => List[ClassFile]

    Tests if the class file has a SynthesizedClassFiles attribute and – if so – extracts the class file and removes the attribute.

    Tests if the class file has a SynthesizedClassFiles attribute and – if so – extracts the class file and removes the attribute.

    Definition Classes
    ClassFileBinding
  100. implicit val fieldInfoType: ClassTag[Field_Info]
    Definition Classes
    FieldsBindingFieldsReader
  101. def findClassFile(files: Iterable[File], progressReporter: (File) => Unit, classFileFilter: (ClassFile) => Boolean, className: (ClassFile) => String, exceptionHandler: bi.reader.ClassFileReader.ExceptionHandler = defaultExceptionHandler): Either[(ClassFile, URL), Set[String]]

    Searches for the first class file that is accepted by the filter.

    Searches for the first class file that is accepted by the filter. If no class file can be found that is accepted by the filter the set of all class names is returned.

    files

    Some file. If the file names a .jar file the .jar file is opened and searched for a corresponding class file. If the file identifies a "directory" then, all files in that directory are processed.

    Definition Classes
    ClassFileReader
  102. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  103. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  104. implicit val innerClassesEntryType: ClassTag[InnerClassesEntry]
  105. def isClassFileRepository(filename: String, containerName: Option[String]): Boolean
    Definition Classes
    ClassFileReader
  106. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  107. final def loadsInterfacesOnly: Boolean

    If true method bodies are never loaded.

    If true method bodies are never loaded.

    Definition Classes
    Java7LibraryFrameworkClassFileReaderConfiguration
  108. implicit val logContext: LogContext

    The org.opalj.log.LogContext that should be used to log rewritings.

    The org.opalj.log.LogContext that should be used to log rewritings.

    Definition Classes
    ClassFileReaderConfiguration
    Note

    The org.opalj.log.LogContext is typically either the org.opalj.log.GlobalLogContext or a project specific log context.

  109. implicit val methodInfoType: ClassTag[Method_Info]
    Definition Classes
    MethodsBindingMethodsReader
  110. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  111. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  112. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  113. implicit val opensEntryType: ClassTag[OpensEntry]
  114. def processClassFiles(files: Iterable[File], progressReporter: (File) => Unit, classFileProcessor: ((ClassFile, URL)) => Unit, exceptionHandler: bi.reader.ClassFileReader.ExceptionHandler = defaultExceptionHandler): Unit

    Goes over all files in parallel and calls back the given function which has to be thread-safe!

    Goes over all files in parallel and calls back the given function which has to be thread-safe!

    Definition Classes
    ClassFileReader
  115. implicit val providesEntryType: ClassTag[ProvidesEntry]
  116. def registerAttributeReader(reader: (String, (Constant_Pool, AttributeParent, Constant_Pool_Index, Constant_Pool_Index, Constant_Pool_Index, DataInputStream) => Attribute)): Unit

    See AttributeReader.registerAttributeReader for details.

    See AttributeReader.registerAttributeReader for details.

    Definition Classes
    AttributesReader
  117. def registerAttributesPostProcessor(p: (Attributes) => Attributes): Unit

    Registers a new processor for the list of all attributes of a given class file element (class, field, method, code).

    Registers a new processor for the list of all attributes of a given class file element (class, field, method, code). This can be used to post-process attributes. E.g., to merge multiple line number tables if they exist or to link attributes that have strong dependencies. E.g., (in Java 8) the localvar_target structure of the Runtime(In)VisibleTypeAnnotations attribute has a reference in the local variable table attribute.

    Definition Classes
    AttributesReader
  118. def registerClassFilePostProcessor(p: (List[ClassFile]) => List[ClassFile]): Unit

    Register a class file post processor.

    Register a class file post processor. A class file post processor can transform the completely read and reified class file. Post processors can only be registered before the usage of a class file reader. Registering new ClassFilePostProcessors while processing class files is not supported and the behavior is undefined.

    Definition Classes
    ClassFileReader
    Note

    PostProcessors will be executed in last-in-first-out order.

  119. def registerDeferredAction(cp: Constant_Pool)(deferredAction: (ClassFile) => ClassFile): Unit
    Definition Classes
    Constant_PoolReader
  120. def reifyEmptyAttributes: Boolean

    Controls whether empty attributes (e.g., a LocalVariableTypeTable with no entries) should be reified or should be dropped.

    Controls whether empty attributes (e.g., a LocalVariableTypeTable with no entries) should be reified or should be dropped.

    Definition Classes
    AttributeReader
  121. val removeBootstrapMethodAttribute: (List[ClassFile]) => List[ClassFile]

    Removes all BootstrapMethodTable attributes because the invokedynamic instructions are either completely resolved by creating code that resembles the code executed by the JVM or the instructions are at least enhanced and have explicit references to the bootstrap methods.

    Removes all BootstrapMethodTable attributes because the invokedynamic instructions are either completely resolved by creating code that resembles the code executed by the JVM or the instructions are at least enhanced and have explicit references to the bootstrap methods.

    Definition Classes
    ClassFileBinding
  122. implicit val requiresEntryType: ClassTag[RequiresEntry]
  123. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  124. def throwIllegalArgumentException: Boolean

    Returns true if an exception is to be raised if an invalid signature is found.

    Returns true if an exception is to be raised if an invalid signature is found. The default is to just log the invalid signature and to otherwise ignore it.

    This method is intended to be overridden.

    returns

    false.

    Definition Classes
    Signature_attributeReader
    Note

    This method was primarily introduced because we found many class files with invalid signatures AND the JVM also handles this case gracefully!

  125. def toString(): String
    Definition Classes
    AnyRef → Any
  126. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  127. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  128. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Java7LibraryFramework

Inherited from Module_attributeReader

Inherited from AttributeBinding

Inherited from AttributeReader

Inherited from AnnotationsReader

Inherited from AnnotationsBinding

Inherited from AttributesReader

Inherited from AttributesAbstractions

Inherited from ClassFileBinding

Inherited from ClassFileReader

Inherited from MethodsBinding

Inherited from MethodsReader

Inherited from FieldsBinding

Inherited from FieldsReader

Inherited from ConstantPoolBinding

Inherited from Constant_PoolReader

Inherited from AnyRef

Inherited from Any

Ungrouped