Top Description Fields Constructors Methods
org.glassfish.pfl.dynamic.codegen.impl

public Class MethodInfoReflectiveImpl

extends MethodInfoBase
Class Inheritance
Annotations
@Immutable
Imports
java.lang.reflect.Constructor, .Method, org.glassfish.pfl.dynamic.codegen.spi.ClassInfo, .Type, org.glassfish.pfl.dynamic.copyobject.spi.Immutable

Implementation of MethodInfo interface for actual Method. Note that this internally caches the Method, and so all the usual precautions for storing instances of this class in maps apply.

Field Summary

Modifier and TypeField and Description
private Constructor<T>
private Method
Inherited from org.glassfish.pfl.dynamic.codegen.impl.MethodInfoBase:
argumentsexceptionsisConstructorrtype

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
public Constructor<T>
getConstructor()

Overrides org.glassfish.pfl.dynamic.codegen.impl.MethodInfoBase.getConstructor.

Implements org.glassfish.pfl.dynamic.codegen.spi.MethodInfo.getConstructor.

Return the Constructor that is represented by this MethodInfo, or null if no such Constructor instance exists (because this MethodInfo represents a Constructor being generated, rather than a Constructor in a Class that is loaded into the VM).

public Method
getMethod()

Overrides org.glassfish.pfl.dynamic.codegen.impl.MethodInfoBase.getMethod.

Implements org.glassfish.pfl.dynamic.codegen.spi.MethodInfo.getMethod.

Return the Method that is represented by this MethodInfo, or null if no such Method instance exists (because this MethodInfo represents a Method being generated, rather than a Method in a Class that is loaded into the VM).

private void
init(Class<?>[] exceptions, Class<?>[] arguments)

Inherited from org.glassfish.pfl.dynamic.codegen.impl.MethodInfoBase:
argumentsclearHashCodeequalsexceptionshashCodeisConstructorreturnTypesignature

Field Detail

constructorback to summary
private Constructor<T> constructor
methodback to summary
private Method method

Constructor Detail

MethodInfoReflectiveImplback to summary
public MethodInfoReflectiveImpl(ClassInfo cinfo, Constructor<T> constructor)
MethodInfoReflectiveImplback to summary
public MethodInfoReflectiveImpl(ClassInfo cinfo, Method method)

Method Detail

getConstructorback to summary
public Constructor<T> getConstructor()

Overrides org.glassfish.pfl.dynamic.codegen.impl.MethodInfoBase.getConstructor.

Implements org.glassfish.pfl.dynamic.codegen.spi.MethodInfo.getConstructor.

Doc from org.glassfish.pfl.dynamic.codegen.spi.MethodInfo.getConstructor.

Return the Constructor that is represented by this MethodInfo, or null if no such Constructor instance exists (because this MethodInfo represents a Constructor being generated, rather than a Constructor in a Class that is loaded into the VM).

Annotations
@Override
getMethodback to summary
public Method getMethod()

Overrides org.glassfish.pfl.dynamic.codegen.impl.MethodInfoBase.getMethod.

Implements org.glassfish.pfl.dynamic.codegen.spi.MethodInfo.getMethod.

Doc from org.glassfish.pfl.dynamic.codegen.spi.MethodInfo.getMethod.

Return the Method that is represented by this MethodInfo, or null if no such Method instance exists (because this MethodInfo represents a Method being generated, rather than a Method in a Class that is loaded into the VM).

Annotations
@Override
initback to summary
private void init(Class<?>[] exceptions, Class<?>[] arguments)