Package com.tonic.analysis.ssa.value
Class MethodTypeConstant
- java.lang.Object
-
- com.tonic.analysis.ssa.value.Constant
-
- com.tonic.analysis.ssa.value.MethodTypeConstant
-
-
Constructor Summary
Constructors Constructor Description MethodTypeConstant(String descriptor)Creates a MethodType constant.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetDescriptor()IRTypegetType()Gets the IR type of this value.ObjectgetValue()Gets the value of this constant.inthashCode()StringtoString()-
Methods inherited from class com.tonic.analysis.ssa.value.Constant
isConstant
-
Methods inherited from interface com.tonic.analysis.ssa.value.Value
isNull, isSSAValue
-
-
-
-
Constructor Detail
-
MethodTypeConstant
public MethodTypeConstant(String descriptor)
Creates a MethodType constant.- Parameters:
descriptor- the method descriptor
-
-
Method Detail
-
getDescriptor
public String getDescriptor()
- Returns:
- the descriptor
-
getType
public IRType getType()
Description copied from interface:ValueGets the IR type of this value.- Returns:
- the IR type
-
getValue
public Object getValue()
Description copied from class:ConstantGets the value of this constant.
-
-