Package com.googlecode.d2j.tools.jar
Class BaseWeaver
java.lang.Object
com.googlecode.d2j.tools.jar.BaseWeaver
- Direct Known Subclasses:
DexWeaver,InvocationWeaver
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<BaseWeaver.Callback> protected intprotected static final Stringprotected static final Stringprotected Map<BaseWeaver.MtdInfo, BaseWeaver.MtdInfo> protected Stringprotected Stringprotected BaseWeaver.MtdInfoprotected Map<BaseWeaver.MtdInfo, BaseWeaver.MtdInfo> protected int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringbuildCallbackMethodName(String oldName) protected BaseWeaver.MtdInfoprotected StringbuildMethodAName(String oldName) protected BaseWeaver.MtdInfobuildMethodInfo(String value) protected BaseWeaver.MtdInfofindDefinedTargetMethod(String owner, String name, String desc) protected BaseWeaver.MtdInfofindTargetMethod(String owner, String name, String desc) protected BaseWeaver.MtdInfofindTargetMethod0(Map<BaseWeaver.MtdInfo, BaseWeaver.MtdInfo> map, String owner, String name, String desc) protected voidvoidsetInvocationInterfaceDesc(String invocationInterfaceDesc) protected static StringtoInternal(String key) voidwithConfig(String ln) withConfig(Path is) withConfig(List<String> lines)
-
Field Details
-
invocationInterfaceDesc
-
invocationTypePrefix
-
DEFAULT_RET_TYPE
- See Also:
-
DEFAULT_DESC
- See Also:
-
callbacks
-
currentInvocationIdx
protected int currentInvocationIdx -
seqIndex
protected int seqIndex -
key
-
ignores
-
clzDescMap
-
mtdMap
-
defMap
-
-
Constructor Details
-
BaseWeaver
public BaseWeaver()
-
-
Method Details
-
buildMethodAName
-
buildCallbackMethodName
-
findDefinedTargetMethod
-
findTargetMethod
-
findTargetMethod0
protected BaseWeaver.MtdInfo findTargetMethod0(Map<BaseWeaver.MtdInfo, BaseWeaver.MtdInfo> map, String owner, String name, String desc) -
buildKey
-
withConfig
- Throws:
IOException
-
withConfig
- Throws:
IOException
-
withConfig
-
withConfig
-
setInvocationInterfaceDesc
-
toInternal
-
buildMethodInfo
-
getCurrentInvocationName
-
nextInvocationName
protected void nextInvocationName()
-