FindBugs™ 1.3.9

edu.umd.cs.findbugs.detect
Class FindRefComparison.StaticStringType

java.lang.Object
  extended by org.apache.bcel.generic.Type
      extended by org.apache.bcel.generic.ReferenceType
          extended by org.apache.bcel.generic.ObjectType
              extended by edu.umd.cs.findbugs.detect.FindRefComparison.StaticStringType
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
FindRefComparison

public static class FindRefComparison.StaticStringType
extends org.apache.bcel.generic.ObjectType

Type representing a static String. E.g., interned strings and constant strings. It is generally OK to compare this sort of String using reference equality.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.bcel.generic.Type
BOOLEAN, BYTE, CHAR, CLASS, DOUBLE, FLOAT, INT, LONG, NO_ARGS, NULL, OBJECT, SHORT, signature, STRING, STRINGBUFFER, THROWABLE, type, UNKNOWN, VOID
 
Constructor Summary
FindRefComparison.StaticStringType()
           
 
Method Summary
 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
 
Methods inherited from class org.apache.bcel.generic.Type
getArgumentTypes, getMethodSignature, getReturnType, getSignature, getSignature, getSize, getType, getType, getTypes
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FindRefComparison.StaticStringType

public FindRefComparison.StaticStringType()
Method Detail

getType

public byte getType()
Overrides:
getType in class org.apache.bcel.generic.Type

hashCode

public int hashCode()
Overrides:
hashCode in class org.apache.bcel.generic.ObjectType

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class org.apache.bcel.generic.ObjectType

toString

public java.lang.String toString()
Overrides:
toString in class org.apache.bcel.generic.Type

FindBugs™ 1.3.9

FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.