object Assembler
Factory to create the binary representation (that is, an array of bytes) of a given class file.
- Source
- Assembler.scala
- Alphabetic
- By Inheritance
- Assembler
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply(classFile: ClassFile, segmentInformation: (String, Int) => Unit = (segmentInformation, bytesWritten) => ()): Array[Byte]
- segmentInformation
A function that will be called back to provide information about the segment that was just written. This is particularly useful when debugging the serializer to determine which segments were successfully/completely written.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def serialize[T](t: T)(implicit arg0: ClassFileElement[T], out: DataOutputStream, segmentInformation: (String, Int) => Unit): Unit
- Note
You should use serialize if the concrete/required type of the given parameter is available/can be automatically inferred by the Scala compiler.
- def serializeAs[T](t: AnyRef)(implicit out: DataOutputStream, segmentInformation: (String, Int) => Unit, cfe: ClassFileElement[T]): Unit
serializeAs
makes it possible to specify the object type of the given parametert
and that type will then be used to pick up the implicit class file element value. - final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- implicit object RichAnnotation extends ClassFileElement[Annotation]
- implicit object RichAttribute extends ClassFileElement[Attribute]
- implicit object RichCONSTANT_Class_info extends ClassFileElement[CONSTANT_Class_info]
- implicit object RichCONSTANT_Double_info extends ClassFileElement[CONSTANT_Double_info]
- implicit object RichCONSTANT_Dynamic_info extends ClassFileElement[CONSTANT_Dynamic_info]
- implicit object RichCONSTANT_Float_info extends ClassFileElement[CONSTANT_Float_info]
- implicit object RichCONSTANT_Integer_info extends ClassFileElement[CONSTANT_Integer_info]
- implicit object RichCONSTANT_InvokeDynamic_info extends ClassFileElement[CONSTANT_InvokeDynamic_info]
- implicit object RichCONSTANT_Long_info extends ClassFileElement[CONSTANT_Long_info]
- implicit object RichCONSTANT_MethodHandle_info extends ClassFileElement[CONSTANT_MethodHandle_info]
- implicit object RichCONSTANT_MethodType_info extends ClassFileElement[CONSTANT_MethodType_info]
- implicit object RichCONSTANT_Module_info extends ClassFileElement[CONSTANT_Module_info]
- implicit object RichCONSTANT_NameAndType_info extends ClassFileElement[CONSTANT_NameAndType_info]
- implicit object RichCONSTANT_Package_info extends ClassFileElement[CONSTANT_Package_info]
- implicit object RichCONSTANT_Ref extends ClassFileElement[CONSTANT_Ref]
- implicit object RichCONSTANT_String_info extends ClassFileElement[CONSTANT_String_info]
- implicit object RichCONSTANT_Utf8_info extends ClassFileElement[CONSTANT_Utf8_info]
- implicit object RichClassFile extends ClassFileElement[ClassFile]
- implicit object RichConstant_Pool_Entry extends ClassFileElement[Constant_Pool_Entry]
- implicit object RichElementValue extends ClassFileElement[ElementValue]
- implicit object RichFieldInfo extends ClassFileElement[Field_Info]
- implicit object RichMethodInfo extends ClassFileElement[Method_Info]
- implicit object RichTypeAnnotation extends ClassFileElement[TypeAnnotation]
- implicit object RichVerificationTypeInfo extends ClassFileElement[VerificationTypeInfo]
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated