Class MethodType
- java.lang.Object
-
- net.sourceforge.pmd.lang.java.typeresolution.MethodType
-
@Deprecated @InternalApi public final class MethodType extends Object
Deprecated.This is really just a POJO.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static MethodType
build(Method method)
Deprecated.static MethodType
build(JavaTypeDefinition returnType, List<JavaTypeDefinition> argTypes, Method method)
Deprecated.boolean
equals(Object obj)
Deprecated.JavaTypeDefinition
getArgTypeIncludingVararg(int index)
Deprecated.Method
getMethod()
Deprecated.List<JavaTypeDefinition>
getParameterTypes()
Deprecated.JavaTypeDefinition
getReturnType()
Deprecated.JavaTypeDefinition
getVarargComponentType()
Deprecated.int
hashCode()
Deprecated.boolean
isAbstract()
Deprecated.boolean
isParameterized()
Deprecated.boolean
isVararg()
Deprecated.String
toString()
Deprecated.
-
-
-
Method Detail
-
build
public static MethodType build(Method method)
Deprecated.- Returns:
- An unparameterized MethodType
-
build
public static MethodType build(JavaTypeDefinition returnType, List<JavaTypeDefinition> argTypes, Method method)
Deprecated.
-
getReturnType
public JavaTypeDefinition getReturnType()
Deprecated.
-
getParameterTypes
public List<JavaTypeDefinition> getParameterTypes()
Deprecated.
-
getMethod
public Method getMethod()
Deprecated.
-
isVararg
public boolean isVararg()
Deprecated.
-
getVarargComponentType
public JavaTypeDefinition getVarargComponentType()
Deprecated.
-
isAbstract
public boolean isAbstract()
Deprecated.
-
getArgTypeIncludingVararg
public JavaTypeDefinition getArgTypeIncludingVararg(int index)
Deprecated.
-
isParameterized
public boolean isParameterized()
Deprecated.
-
-