Class SymbolicValue.SymClass
- java.lang.Object
-
- net.sourceforge.pmd.lang.java.symbols.SymbolicValue.SymClass
-
- All Implemented Interfaces:
SymbolicValue
- Enclosing interface:
- SymbolicValue
public static final class SymbolicValue.SymClass extends Object implements 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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Returns true if this value is equal to the other one.int
hashCode()
static SymbolicValue.SymClass
ofBinaryName(TypeSystem ts, String binaryName)
boolean
valueEquals(Object o)
Returns true if this symbolic value represents the same value as the given object.
-
-
-
Method Detail
-
ofBinaryName
public static SymbolicValue.SymClass ofBinaryName(TypeSystem ts, String binaryName)
-
valueEquals
public boolean valueEquals(Object o)
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
public boolean equals(Object o)
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
-
-