Package edu.umd.cs.findbugs.detect
Class FindRefComparison.DynamicStringType
- java.lang.Object
-
- org.apache.bcel.generic.Type
-
- org.apache.bcel.generic.ReferenceType
-
- org.apache.bcel.generic.ObjectType
-
- edu.umd.cs.findbugs.detect.FindRefComparison.DynamicStringType
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- FindRefComparison
public static class FindRefComparison.DynamicStringType extends org.apache.bcel.generic.ObjectType
Type representing a dynamically created String. This sort of String should never be compared using reference equality.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DynamicStringType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
byte
getType()
int
hashCode()
java.lang.String
toString()
-
Methods inherited from class org.apache.bcel.generic.ObjectType
accessibleTo, getClassName, getInstance, referencesClass, referencesClassExact, referencesInterface, referencesInterfaceExact, subclassOf
-
Methods inherited from class org.apache.bcel.generic.ReferenceType
firstCommonSuperclass, getFirstCommonSuperclass, isAssignmentCompatibleWith, isCastableTo
-
-
-
-
Method Detail
-
getType
public byte getType()
- Overrides:
getType
in classorg.apache.bcel.generic.Type
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classorg.apache.bcel.generic.ObjectType
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classorg.apache.bcel.generic.ObjectType
-
toString
public java.lang.String toString()
- Overrides:
toString
in classorg.apache.bcel.generic.Type
-
-