Class MethodInfoReflectiveImpl
java.lang.Object
org.glassfish.pfl.dynamic.codegen.impl.MemberInfoBase
org.glassfish.pfl.dynamic.codegen.impl.MethodInfoBase
org.glassfish.pfl.dynamic.codegen.impl.MethodInfoReflectiveImpl
- All Implemented Interfaces:
MemberInfo, MethodInfo
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
FieldsFields inherited from class MethodInfoBase
arguments, exceptions, isConstructor, rtype -
Constructor Summary
ConstructorsConstructorDescriptionMethodInfoReflectiveImpl(ClassInfo cinfo, Constructor constructor) MethodInfoReflectiveImpl(ClassInfo cinfo, Method method) -
Method Summary
Modifier and TypeMethodDescriptionReturn 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).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 voidMethods inherited from class MethodInfoBase
arguments, clearHashCode, equals, exceptions, hashCode, isConstructor, returnType, signatureMethods inherited from class MemberInfoBase
isAccessibleInContext, modifiers, myClassInfo, name, toStringMethods inherited from interface MemberInfo
isAccessibleInContext, modifiers, myClassInfo, name
-
Field Details
-
method
-
constructor
-
-
Constructor Details
-
MethodInfoReflectiveImpl
-
MethodInfoReflectiveImpl
-
-
Method Details
-
init
-
getMethod
Description copied from interface:MethodInfoReturn 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).- Specified by:
getMethodin interfaceMethodInfo- Overrides:
getMethodin classMethodInfoBase
-
getConstructor
Description copied from interface:MethodInfoReturn 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).- Specified by:
getConstructorin interfaceMethodInfo- Overrides:
getConstructorin classMethodInfoBase
-