protected static class MethodConstant.ForConstructor extends MethodConstant implements MethodConstant.CanCache
MethodConstant for loading
a Constructor instance onto the operand stack.MethodConstant.CachedConstructor, MethodConstant.CachedMethod, MethodConstant.CanCache, MethodConstant.CanCacheIllegal, MethodConstant.ForConstructor, MethodConstant.ForMethodStackManipulation.Compound, StackManipulation.Illegal, StackManipulation.Size, StackManipulation.TrivialmethodDescription| Modifier | Constructor and Description |
|---|---|
protected |
ForConstructor(MethodDescription.InDefinedShape methodDescription)
Creates a new
MethodConstant for
creating a Constructor instance. |
| Modifier and Type | Method and Description |
|---|---|
protected MethodDescription |
accessorMethod()
Returns the method for loading a declared method or constructor onto the operand stack.
|
protected StackManipulation |
preparation()
Returns a stack manipulation that loads the values that are required for loading a method constant onto the operand stack.
|
String |
toString() |
apply, cached, equals, forMethod, hashCode, isValidclone, finalize, getClass, notify, notifyAll, wait, wait, waitcachedapply, isValidprotected ForConstructor(MethodDescription.InDefinedShape methodDescription)
MethodConstant for
creating a Constructor instance.methodDescription - The constructor to be loaded onto the stack.protected StackManipulation preparation()
MethodConstantpreparation in class MethodConstantprotected MethodDescription accessorMethod()
MethodConstantaccessorMethod in class MethodConstantCopyright © 2014–2016. All rights reserved.