Package org.jf.dexlib2.rewriter
Class MethodReferenceRewriter.RewrittenMethodReference
- java.lang.Object
-
- org.jf.dexlib2.base.reference.BaseReference
-
- org.jf.dexlib2.base.reference.BaseMethodReference
-
- org.jf.dexlib2.rewriter.MethodReferenceRewriter.RewrittenMethodReference
-
- All Implemented Interfaces:
java.lang.Comparable<MethodReference>
,MethodReference
,Reference
- Enclosing class:
- MethodReferenceRewriter
protected class MethodReferenceRewriter.RewrittenMethodReference extends BaseMethodReference
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jf.dexlib2.iface.reference.Reference
Reference.InvalidReferenceException
-
-
Field Summary
Fields Modifier and Type Field Description protected MethodReference
methodReference
-
Constructor Summary
Constructors Constructor Description RewrittenMethodReference(MethodReference methodReference)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDefiningClass()
Gets the type of the class that defines the referenced method.java.lang.String
getName()
Gets the name of the referenced method.java.util.List<? extends java.lang.CharSequence>
getParameterTypes()
Gets a list of the types of the parameters of this method.java.lang.String
getReturnType()
Gets the return type of the referenced method.-
Methods inherited from class org.jf.dexlib2.base.reference.BaseMethodReference
compareTo, equals, hashCode, toString
-
Methods inherited from class org.jf.dexlib2.base.reference.BaseReference
validateReference
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.jf.dexlib2.iface.reference.Reference
validateReference
-
-
-
-
Field Detail
-
methodReference
@Nonnull protected MethodReference methodReference
-
-
Constructor Detail
-
RewrittenMethodReference
public RewrittenMethodReference(@Nonnull MethodReference methodReference)
-
-
Method Detail
-
getDefiningClass
@Nonnull public java.lang.String getDefiningClass()
Description copied from interface:MethodReference
Gets the type of the class that defines the referenced method.- Returns:
- The type of the class that defines the referenced method
-
getName
@Nonnull public java.lang.String getName()
Description copied from interface:MethodReference
Gets the name of the referenced method.- Returns:
- The name of the referenced method
-
getParameterTypes
@Nonnull public java.util.List<? extends java.lang.CharSequence> getParameterTypes()
Description copied from interface:MethodReference
Gets a list of the types of the parameters of this method.- Returns:
- A list of the parameter types of this method, as strings.
-
getReturnType
@Nonnull public java.lang.String getReturnType()
Description copied from interface:MethodReference
Gets the return type of the referenced method.- Returns:
- The return type of the referenced method.
-
-