
org.opalj.br.ClassFileAttributeBuilder.scala Maven / Gradle / Ivy
The newest version!
/* BSD 2-Clause License - see OPAL/LICENSE for details. */
package org.opalj
package br
import org.opalj.collection.immutable.UShortPair
import scala.collection.immutable.ArraySeq
/**
* Given a class files' main elements the attribute is build.
*
* @see The ''BytecodeAssember framework'' for an example usage.
*
* @author Michael Eichberg
*/
trait ClassFileAttributeBuilder {
def apply(
version: UShortPair,
accessFlags: Int,
thisType: ObjectType,
superclassType: Option[ObjectType],
interfaceTypes: ArraySeq[ObjectType],
fields: ArraySeq[FieldTemplate],
methods: ArraySeq[MethodTemplate]
): Attribute
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy