public final class ConstructorInsn extends BaseInvokeNode
| Modifier and Type | Class and Description |
|---|---|
static class |
ConstructorInsn.CallType |
| Constructor and Description |
|---|
ConstructorInsn(MethodInfo callMth,
ConstructorInsn.CallType callType) |
ConstructorInsn(MethodNode mth,
InvokeNode invoke) |
| Modifier and Type | Method and Description |
|---|---|
InsnNode |
copy()
Make copy of InsnNode object.
|
MethodInfo |
getCallMth() |
ConstructorInsn.CallType |
getCallType() |
ClassInfo |
getClassType() |
int |
getFirstArgOffset()
Return offset to match method args from
BaseInvokeNode.getCallMth() |
@Nullable RegisterArg |
getInstanceArg() |
boolean |
isNewInstance() |
boolean |
isSame(InsnNode obj)
'Soft' equals, don't compare arguments, only instruction specific parameters.
|
boolean |
isSelf() |
boolean |
isStaticCall() |
boolean |
isSuper() |
boolean |
isThis() |
java.lang.String |
toString() |
addArg, addLit, addLit, addReg, addReg, appendArgs, attachArg, canRemoveResult, canReorder, canThrowException, containsArg, containsVar, containsWrappedInsn, copy, copyAttributesFrom, copyCommonParams, copyWithNewSsaVar, copyWithoutResult, copyWithoutSsa, equals, getArg, getArgIndex, getArgsCount, getArguments, getOffset, getRegisterArgs, getResult, getType, hashCode, inheritMetadata, isConstInsn, isDeepEquals, rebindArgs, removeArg, removeArg, replaceArg, setArg, setOffset, setResult, visitArgs, visitArgs, visitInsns, visitInsns, wrapArgaddSourceLineFrom, copyLines, getDefPosition, getSourceLine, setDefPosition, setSourceLineadd, addAttr, addAttr, addAttr, addAttrs, clearAttributes, contains, contains, copyAttributeFrom, copyAttributesFrom, get, getAll, getAnnotation, getAttributesString, getAttributesStringsList, isAttrStorageEmpty, remove, remove, removeAttr, rewriteAttributeFrom, unloadAttributespublic ConstructorInsn(MethodNode mth, InvokeNode invoke)
public ConstructorInsn(MethodInfo callMth, ConstructorInsn.CallType callType)
public MethodInfo getCallMth()
getCallMth in class BaseInvokeNode@Nullable public @Nullable RegisterArg getInstanceArg()
getInstanceArg in class BaseInvokeNodepublic ClassInfo getClassType()
public ConstructorInsn.CallType getCallType()
public boolean isNewInstance()
public boolean isSuper()
public boolean isThis()
public boolean isSelf()
public boolean isStaticCall()
isStaticCall in class BaseInvokeNodepublic int getFirstArgOffset()
BaseInvokeNodeBaseInvokeNode.getCallMth()getFirstArgOffset in class BaseInvokeNodepublic boolean isSame(InsnNode obj)
InsnNodepublic InsnNode copy()
InsnNodeInsnNode.copyWithoutResult() to explicitly state that result not needed
InsnNode.copy(RegisterArg) to provide new result arg
InsnNode.copyWithNewSsaVar(MethodNode) to make new SSA variable for result arg