public class GenericMethod extends GenericAccessibleObject<GenericMethod>
logger, owner, typeVariables| Constructor and Description |
|---|
GenericMethod(Method method,
Class<?> type) |
GenericMethod(Method method,
GenericClass type) |
GenericMethod(Method method,
Type type) |
copyTypeVariables, getGeneratedClass, getGenericInstantiation, getGenericInstantiation, getGenericInstantiationFromReturnValue, getOwnerClass, getOwnerType, getTypeFromExactReturnType, getTypeFromExactReturnType, getTypeFromExactReturnType, getTypeFromExactReturnType, getTypeFromExactReturnType, getTypeVariableMap, hasTypeParameters, isConstructor, isField, isMissingTypeParameters, mapTypeParameters, setTypeParameterspublic GenericMethod(Method method, GenericClass type)
public GenericMethod copyWithNewOwner(GenericClass newOwner)
copyWithNewOwner in class GenericAccessibleObject<GenericMethod>public GenericMethod copyWithOwnerFromReturnType(GenericClass returnType) throws ConstructionFailedException
copyWithOwnerFromReturnType in class GenericAccessibleObject<GenericMethod>ConstructionFailedExceptionpublic GenericMethod copy()
copy in class GenericAccessibleObject<GenericMethod>public Method getMethod()
public AccessibleObject getAccessibleObject()
getAccessibleObject in class GenericAccessibleObject<GenericMethod>public Class<?> getDeclaringClass()
getDeclaringClass in class GenericAccessibleObject<GenericMethod>public Type[] getParameterTypes()
public List<GenericClass> getParameterClasses()
public Type[] getGenericParameterTypes()
getGenericParameterTypes in class GenericAccessibleObject<GenericMethod>public Class<?>[] getRawParameterTypes()
public Type getGeneratedType()
getGeneratedType in class GenericAccessibleObject<GenericMethod>public Type getReturnType()
public Type getGenericGeneratedType()
getGenericGeneratedType in class GenericAccessibleObject<GenericMethod>public Class<?> getRawGeneratedType()
getRawGeneratedType in class GenericAccessibleObject<GenericMethod>protected Type getExactReturnType(Method m, Type type) throws IllegalArgumentException
IllegalArgumentExceptionpublic Type[] getExactParameterTypes(Method m, Type type)
public TypeVariable<?>[] getTypeParameters()
getTypeParameters in class GenericAccessibleObject<GenericMethod>public boolean isAccessible()
isAccessible in class GenericAccessibleObject<GenericMethod>public boolean isMethod()
isMethod in class GenericAccessibleObject<GenericMethod>public boolean isStatic()
isStatic in class GenericAccessibleObject<GenericMethod>public boolean isOverloaded()
public boolean isOverloaded(List<VariableReference> parameters)
public int getNumParameters()
getNumParameters in class GenericAccessibleObject<GenericMethod>public boolean isGenericMethod()
public String getName()
getName in class GenericAccessibleObject<GenericMethod>public String getNameWithDescriptor()
public String getDescriptor()
public String toString()
toString in class GenericAccessibleObject<GenericMethod>public void changeClassLoader(ClassLoader loader)
changeClassLoader in class GenericAccessibleObject<GenericMethod>public int hashCode()
hashCode in class GenericAccessibleObject<GenericMethod>public boolean equals(Object obj)
equals in class GenericAccessibleObject<GenericMethod>Copyright © 2010–2017 EvoSuite. All rights reserved.