Class Types.TypeInfo

  • Enclosing class:
    Types

    static class Types.TypeInfo
    extends java.lang.Object
    Information about a specific Java type.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.lang.Object _defaultValue
      The default value for the type, if known.
      (package private) boolean _immutable
      True if the type is immutable.
      (package private) java.lang.Class<?> _javaType
      The Java type (e.g.
      (package private) java.lang.Class<?> _primitive
      The primitive Java type, if exists (e.g.
      (package private) java.lang.String _shortName
      The short type name (e.g.
    • Constructor Summary

      Constructors 
      Constructor Description
      TypeInfo​(java.lang.String shortName, java.lang.Class<?> primitive, java.lang.Class<?> javaType, boolean immutable, java.lang.Object defaultValue)  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • _shortName

        final java.lang.String _shortName
        The short type name (e.g. integer).
      • _primitive

        final java.lang.Class<?> _primitive
        The primitive Java type, if exists (e.g. Integer.TYPE).
      • _javaType

        final java.lang.Class<?> _javaType
        The Java type (e.g. java.lang.Integer).
      • _immutable

        final boolean _immutable
        True if the type is immutable.
      • _defaultValue

        final java.lang.Object _defaultValue
        The default value for the type, if known.
    • Constructor Detail

      • TypeInfo

        TypeInfo​(java.lang.String shortName,
                 java.lang.Class<?> primitive,
                 java.lang.Class<?> javaType,
                 boolean immutable,
                 java.lang.Object defaultValue)