protected static class MethodConstant.ForMethod extends MethodConstant implements MethodConstant.CanCache
MethodConstant for loading
a Method instance onto the operand stack.MethodConstant.CachedConstructor, MethodConstant.CachedMethod, MethodConstant.CanCache, MethodConstant.CanCacheIllegal, MethodConstant.ForConstructor, MethodConstant.ForMethod, MethodConstant.PrivilegedLookupStackManipulation.AbstractBase, StackManipulation.Compound, StackManipulation.Illegal, StackManipulation.Simple, StackManipulation.Size, StackManipulation.TrivialDO_PRIVILEGED, methodDescription| Modifier | Constructor and Description |
|---|---|
protected |
ForMethod(MethodDescription.InDefinedShape methodDescription)
Creates a new
MethodConstant for
creating a Method instance. |
| Modifier and Type | Method and Description |
|---|---|
protected MethodDescription.InDefinedShape |
accessorMethod()
Returns the method for loading a declared method or constructor onto the operand stack.
|
StackManipulation |
cached()
Returns this method constant as a cached version.
|
protected StackManipulation |
methodName()
Returns a stack manipulation that loads the method name onto the operand stack if this is required.
|
apply, equals, hashCode, of, ofPrivileged, typeConstantsFor, withPrivilegedLookupisValidclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitapply, isValidprotected ForMethod(MethodDescription.InDefinedShape methodDescription)
MethodConstant for
creating a Method instance.methodDescription - The method to be loaded onto the stack.protected StackManipulation methodName()
MethodConstantmethodName in class MethodConstantprotected MethodDescription.InDefinedShape accessorMethod()
MethodConstantaccessorMethod in class MethodConstantpublic StackManipulation cached()
cached in interface MethodConstant.CanCacheCopyright © 2014–2023. All rights reserved.