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
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.
  • 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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    byte
     
    int
     
     

    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, normalizeForStackOrLocal

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • DynamicStringType

      public DynamicStringType()
  • Method Details

    • 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(Object o)
      Overrides:
      equals in class org.apache.bcel.generic.ObjectType
    • toString

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