Top Description Fields Constructors Methods
com.google.inject.internal.aop

pack-priv final Class GeneratedClassDefiner

extends Object
implements ClassDefiner
Class Inheritance
All Implemented Interfaces
com.google.inject.internal.aop.ClassDefiner
Imports
java.util.function.BiFunction

ClassDefiner that defines classes using a generated access function.
Author
[email protected] (Stuart McCulloch)

Field Summary

Modifier and TypeField and Description
private final BiFunction<ClassLoader, byte[], Class<?>>

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public Class<?>
define(Class<?> hostClass, byte[] bytecode)

Implements com.google.inject.internal.aop.ClassDefiner.define.

Defines a new class relative to the host.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

defineAccessback to summary
private final BiFunction<ClassLoader, byte[], Class<?>> defineAccess

Constructor Detail

GeneratedClassDefinerback to summary
pack-priv GeneratedClassDefiner(BiFunction<ClassLoader, byte[], Class<?>> defineAccess)

Method Detail

defineback to summary
public Class<?> define(Class<?> hostClass, byte[] bytecode)

Implements com.google.inject.internal.aop.ClassDefiner.define.

Doc from com.google.inject.internal.aop.ClassDefiner.define.

Defines a new class relative to the host.

Annotations
@Override