org.apache.bcel.generic

## Class BasicType

- java.lang.Object
- - org.apache.bcel.generic.Type
  - - org.apache.bcel.generic.BasicType

-     public final class BasicType
      extends Type

  Denotes basic type such as int.
  Version:
    $Id: BasicType.java 1806200 2017-08-25 16:33:06Z ggregory $

- - ### 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`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Object _type)`
    `static BasicType` | `getType(byte type)`
    `int` | `hashCode()`

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

      `getArgumentTypes, 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`

- - ### Method Detail

    - #### getType

          public static BasicType getType(byte type)

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Type`
      Returns:
        a hash code value for the object.

    - #### equals

          public boolean equals(Object _type)

      Overrides:
        `equals` in class `Type`
      Returns:
        true if both type objects refer to the same type

Copyright © 2004–2017 The Apache Software Foundation. All rights reserved.