public class MethodInfo extends Object
Constructor and Description |
---|
MethodInfo() |
Modifier and Type | Method and Description |
---|---|
int |
getAccess() |
String |
getDescription() |
String |
getMethodDescriptor() |
String |
getName() |
org.objectweb.asm.Type |
getReturnType() |
boolean |
isConstructor() |
static boolean |
isConstructor(String methodName) |
boolean |
isGeneratedEnumMethod() |
boolean |
isInGroovyClass() |
boolean |
isStatic() |
boolean |
isStaticInitializer() |
boolean |
isSynthetic() |
boolean |
isVoid() |
static boolean |
isVoid(String desc) |
boolean |
takesNoParameters() |
String |
toString() |
MethodInfo |
withAccess(int accessModifier) |
MethodInfo |
withMethodDescriptor(String newDescriptor) |
MethodInfo |
withMethodName(String newMethodName) |
MethodInfo |
withOwner(ClassInfo newOwnerClass) |
public String getDescription()
public String getName()
public String getMethodDescriptor()
public int getAccess()
public boolean isStatic()
public boolean isSynthetic()
public boolean isConstructor()
public static boolean isConstructor(String methodName)
public org.objectweb.asm.Type getReturnType()
public static boolean isVoid(String desc)
public boolean isStaticInitializer()
public boolean isVoid()
public boolean takesNoParameters()
public boolean isInGroovyClass()
public boolean isGeneratedEnumMethod()
public MethodInfo withMethodDescriptor(String newDescriptor)
public MethodInfo withAccess(int accessModifier)
public MethodInfo withMethodName(String newMethodName)
public MethodInfo withOwner(ClassInfo newOwnerClass)
Copyright © 2021 org.pitest. All rights reserved.