Package jadx.core.clsp
Class ClspMethod
- java.lang.Object
-
- jadx.core.clsp.ClspMethod
-
- All Implemented Interfaces:
jadx.api.plugins.input.data.attributes.IJadxAttribute,IMethodDetails,java.lang.Comparable<ClspMethod>
public class ClspMethod extends java.lang.Object implements IMethodDetails, java.lang.Comparable<ClspMethod>
Method node in classpath graph.
-
-
Constructor Summary
Constructors Constructor Description ClspMethod(MethodInfo methodInfo, java.util.List<ArgType> argTypes, ArgType returnType, java.util.List<ArgType> typeParameters, java.util.List<ArgType> throwList, int accFlags)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(@NotNull ClspMethod other)booleancontainsGenericArgs()booleanequals(java.lang.Object o)intgetArgsCount()java.util.List<ArgType>getArgTypes()MethodInfogetMethodInfo()intgetRawAccessFlags()ArgTypegetReturnType()java.util.List<ArgType>getThrows()java.util.List<ArgType>getTypeParameters()inthashCode()booleanisVarArg()java.lang.StringtoAttrString()java.lang.StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface jadx.core.dex.nodes.IMethodDetails
getAttrType
-
-
-
-
Constructor Detail
-
ClspMethod
public ClspMethod(MethodInfo methodInfo, java.util.List<ArgType> argTypes, ArgType returnType, java.util.List<ArgType> typeParameters, java.util.List<ArgType> throwList, int accFlags)
-
-
Method Detail
-
getMethodInfo
public MethodInfo getMethodInfo()
- Specified by:
getMethodInfoin interfaceIMethodDetails
-
getReturnType
public ArgType getReturnType()
- Specified by:
getReturnTypein interfaceIMethodDetails
-
getArgTypes
public java.util.List<ArgType> getArgTypes()
- Specified by:
getArgTypesin interfaceIMethodDetails
-
containsGenericArgs
public boolean containsGenericArgs()
-
getArgsCount
public int getArgsCount()
-
getTypeParameters
public java.util.List<ArgType> getTypeParameters()
- Specified by:
getTypeParametersin interfaceIMethodDetails
-
getThrows
public java.util.List<ArgType> getThrows()
- Specified by:
getThrowsin interfaceIMethodDetails
-
isVarArg
public boolean isVarArg()
- Specified by:
isVarArgin interfaceIMethodDetails
-
getRawAccessFlags
public int getRawAccessFlags()
- Specified by:
getRawAccessFlagsin interfaceIMethodDetails
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
compareTo
public int compareTo(@NotNull @NotNull ClspMethod other)- Specified by:
compareToin interfacejava.lang.Comparable<ClspMethod>
-
toAttrString
public java.lang.String toAttrString()
- Specified by:
toAttrStringin interfacejadx.api.plugins.input.data.attributes.IJadxAttribute- Specified by:
toAttrStringin interfaceIMethodDetails
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-