protected static class MethodConstant.ForConstructor extends MethodConstant implements MethodConstant.CanCache
MethodConstant for loading
a Constructor instance onto the operand stack.MethodConstant.Cached, MethodConstant.CanCache, MethodConstant.ForConstructor, MethodConstant.ForMethodStackManipulation.Compound, StackManipulation.Illegal, StackManipulation.LegalTrivial, StackManipulation.SizemethodDescription| Modifier | Constructor and Description |
|---|---|
protected |
ForConstructor(MethodDescription methodDescription)
Creates a new
MethodConstant for
creating a Constructor instance. |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getDescriptor()
Returns the descriptor of the
Class method for creating this method constant. |
protected String |
getMethodName()
Returns the name of the
Class method for creating this method constant. |
protected StackManipulation.Size |
prepare(org.objectweb.asm.MethodVisitor methodVisitor)
Applies all preparation to the given method visitor.
|
String |
toString() |
apply, cached, equals, forMethod, hashCode, isValidclone, finalize, getClass, notify, notifyAll, wait, wait, waitcachedapply, isValidprotected ForConstructor(MethodDescription methodDescription)
MethodConstant for
creating a Constructor instance.methodDescription - The constructor to be loaded onto the stack.protected StackManipulation.Size prepare(org.objectweb.asm.MethodVisitor methodVisitor)
MethodConstantprepare in class MethodConstantmethodVisitor - The method visitor to which the preparation is applied.protected String getMethodName()
MethodConstantClass method for creating this method constant.getMethodName in class MethodConstantprotected String getDescriptor()
MethodConstantClass method for creating this method constant.getDescriptor in class MethodConstantCopyright © 2014–2015. All rights reserved.