Class SymbolicValue.SymClass
java.lang.Object
net.sourceforge.pmd.lang.java.symbols.SymbolicValue.SymClass
- All Implemented Interfaces:
SymbolicValue
- Enclosing interface:
SymbolicValue
Represents a class constant.
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.sourceforge.pmd.lang.java.symbols.SymbolicValue
SymbolicValue.SymAnnot, SymbolicValue.SymArray, SymbolicValue.SymClass, SymbolicValue.SymEnum, SymbolicValue.SymValue
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns true if this value is equal to the other one.int
hashCode()
static SymbolicValue.SymClass
ofBinaryName
(TypeSystem ts, String binaryName) boolean
Returns true if this symbolic value represents the same value as the given object.
-
Method Details
-
ofBinaryName
-
valueEquals
Description copied from interface:SymbolicValue
Returns true if this symbolic value represents the same value as the given object. If the parameter is null, returns false.- Specified by:
valueEquals
in interfaceSymbolicValue
-
equals
Description copied from interface:SymbolicValue
Returns true if this value is equal to the other one. The parameter must be aSymbolicValue
of the same type. UseSymbolicValue.valueEquals(Object)
to compare to a java object.- Specified by:
equals
in interfaceSymbolicValue
- Overrides:
equals
in classObject
-
hashCode
public int hashCode()
-