Class MethodType
- java.lang.Object
-
- net.sourceforge.pmd.lang.java.typeresolution.MethodType
-
@Deprecated @InternalApi public final class MethodType extends java.lang.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(java.lang.reflect.Method method)
Deprecated.static MethodType
build(JavaTypeDefinition returnType, java.util.List<JavaTypeDefinition> argTypes, java.lang.reflect.Method method)
Deprecated.boolean
equals(java.lang.Object obj)
Deprecated.JavaTypeDefinition
getArgTypeIncludingVararg(int index)
Deprecated.java.lang.reflect.Method
getMethod()
Deprecated.java.util.List<JavaTypeDefinition>
getParameterTypes()
Deprecated.JavaTypeDefinition
getReturnType()
Deprecated.JavaTypeDefinition
getVarargComponentType()
Deprecated.int
hashCode()
Deprecated.boolean
isAbstract()
Deprecated.boolean
isParameterized()
Deprecated.boolean
isVararg()
Deprecated.java.lang.String
toString()
Deprecated.
-
-
-
Method Detail
-
build
public static MethodType build(java.lang.reflect.Method method)
Deprecated.- Returns:
- An unparameterized MethodType
-
build
public static MethodType build(JavaTypeDefinition returnType, java.util.List<JavaTypeDefinition> argTypes, java.lang.reflect.Method method)
Deprecated.
-
getReturnType
public JavaTypeDefinition getReturnType()
Deprecated.
-
getParameterTypes
public java.util.List<JavaTypeDefinition> getParameterTypes()
Deprecated.
-
getMethod
public java.lang.reflect.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.
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classjava.lang.Object
-
isParameterized
public boolean isParameterized()
Deprecated.
-
hashCode
public int hashCode()
Deprecated.- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
Deprecated.- Overrides:
equals
in classjava.lang.Object
-
-