protected static class Advice.Dispatcher.OffsetMapping.Target.ForExecutable.ForConstructor extends Advice.Dispatcher.OffsetMapping.Target.ForExecutable
Constructor
constant.Advice.Dispatcher.OffsetMapping.Target.ForExecutable.ForConstructor, Advice.Dispatcher.OffsetMapping.Target.ForExecutable.ForMethod
Advice.Dispatcher.OffsetMapping.Target.ForBoxedArgument, Advice.Dispatcher.OffsetMapping.Target.ForBoxedArguments, Advice.Dispatcher.OffsetMapping.Target.ForBoxedDefaultValue, Advice.Dispatcher.OffsetMapping.Target.ForConstantPoolValue, Advice.Dispatcher.OffsetMapping.Target.ForDefaultValue, Advice.Dispatcher.OffsetMapping.Target.ForExecutable, Advice.Dispatcher.OffsetMapping.Target.ForField, Advice.Dispatcher.OffsetMapping.Target.ForNullConstant, Advice.Dispatcher.OffsetMapping.Target.ForParameter, Advice.Dispatcher.OffsetMapping.Target.ForSerializedObject, Advice.Dispatcher.OffsetMapping.Target.ForType, Advice.Dispatcher.OffsetMapping.Target.PrimitiveDispatcher
methodDescription
NO_PADDING
Modifier | Constructor and Description |
---|---|
protected |
ForConstructor(MethodDescription.InDefinedShape methodDescription)
Creates a new offset mapping target for a constructor constant.
|
Modifier and Type | Method and Description |
---|---|
protected int |
getAdditionalOffset()
Adds the additional required offset.
|
protected String |
getInvokedMethod()
Returns the invoked method of the
Class API. |
protected String |
getInvokedSignature()
Returns the signature of the invoked method.
|
protected void |
loadMethodName(MethodVisitor methodVisitor)
Loads the method's name onto the operand stack if required.
|
String |
toString() |
equals, hashCode, of, resolveAccess, resolveIncrement
protected ForConstructor(MethodDescription.InDefinedShape methodDescription)
methodDescription
- The method to represent.protected void loadMethodName(MethodVisitor methodVisitor)
Advice.Dispatcher.OffsetMapping.Target.ForExecutable
loadMethodName
in class Advice.Dispatcher.OffsetMapping.Target.ForExecutable
methodVisitor
- The method visitor to use.protected String getInvokedMethod()
Advice.Dispatcher.OffsetMapping.Target.ForExecutable
Class
API.getInvokedMethod
in class Advice.Dispatcher.OffsetMapping.Target.ForExecutable
protected String getInvokedSignature()
Advice.Dispatcher.OffsetMapping.Target.ForExecutable
getInvokedSignature
in class Advice.Dispatcher.OffsetMapping.Target.ForExecutable
protected int getAdditionalOffset()
Advice.Dispatcher.OffsetMapping.Target.ForExecutable
getAdditionalOffset
in class Advice.Dispatcher.OffsetMapping.Target.ForExecutable
Copyright © 2014–2016. All rights reserved.