Top Description Fields Constructors Methods
com.fasterxml.jackson.module.mrbean

public Class TypeBuilder

extends Object
Class Inheritance
Imports
com.fasterxml.jackson.databind.JavaType, org.objectweb.asm.ClassWriter, org.objectweb.asm.signature.SignatureVisitor, .SignatureWriter

Asm build to generate abstract type
Author
Eugene Petrenko ([email protected])

Field Summary

Modifier and TypeField and Description
protected final JavaType

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public byte[]

Returns:

Byte code Class instance built by this builder
buildAbstractBase
(String
Fully-qualified name of the class to generate
className
)

Method that generates byte code for class that implements abstract types requested so far.

private static void
private static String
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

_implementedTypeback to summary
protected final JavaType _implementedType

Constructor Detail

TypeBuilderback to summary
public TypeBuilder(JavaType type)

Method Detail

buildAbstractBaseback to summary
public byte[] buildAbstractBase(String className)

Method that generates byte code for class that implements abstract types requested so far.

Parameters
className:String

Fully-qualified name of the class to generate

Returns:byte[]

Byte code Class instance built by this builder

generateSignatureback to summary
private static void generateSignature(JavaType clazz, SignatureVisitor sw)
getInternalClassNameback to summary
private static String getInternalClassName(String className)