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 TypeMethodDescriptionbooleanReturns true if this value is equal to the other one.inthashCode()static SymbolicValue.SymClassofBinaryName(TypeSystem ts, String binaryName) booleanReturns true if this symbolic value represents the same value as the given object.
-
Method Details
-
ofBinaryName
-
valueEquals
Description copied from interface:SymbolicValueReturns true if this symbolic value represents the same value as the given object. If the parameter is null, returns false.- Specified by:
valueEqualsin interfaceSymbolicValue
-
equals
Description copied from interface:SymbolicValueReturns true if this value is equal to the other one. The parameter must be aSymbolicValueof the same type. UseSymbolicValue.valueEquals(Object)to compare to a java object.- Specified by:
equalsin interfaceSymbolicValue- Overrides:
equalsin classObject
-
hashCode
public int hashCode()
-