Class TopType

java.lang.Object
org.apache.bcel.generic.Type
edu.umd.cs.findbugs.ba.type.TopType
All Implemented Interfaces:
ExtendedTypes

public class TopType extends org.apache.bcel.generic.Type implements ExtendedTypes
Special "top" type. It is the identity element for the type merge operation.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final long
     
    private static final org.apache.bcel.generic.Type
     

    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

    Fields inherited from interface edu.umd.cs.findbugs.ba.type.ExtendedTypes

    T_AVAIL_TYPE, T_BOTTOM, T_DOUBLE_EXTRA, T_EXCEPTION, T_LONG_EXTRA, T_NULL, T_TOP
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    int
     
    static org.apache.bcel.generic.Type
    Get the single instance of the top type.

    Methods inherited from class org.apache.bcel.generic.Type

    getArgumentTypes, getClassName, getMethodSignature, getReturnType, getSignature, getSignature, getSize, getType, getType, getType, getTypes, normalizeForStackOrLocal, toString

    Methods inherited from class java.lang.Object

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

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • theInstance

      private static final org.apache.bcel.generic.Type theInstance
  • Constructor Details

    • TopType

      private TopType()
  • Method Details

    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class org.apache.bcel.generic.Type
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class org.apache.bcel.generic.Type
    • instance

      public static org.apache.bcel.generic.Type instance()
      Get the single instance of the top type.