com.io7m.jpra.model.names

## Class TypeReference

- java.lang.Object
- - com.io7m.jpra.model.names.TypeReference

-     public final class TypeReference
      extends Object

  A reference to a type by name.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TypeReference(Optional<PackageNameUnqualified> in_pack, TypeName in_type)` Construct a reference.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Optional<PackageNameUnqualified>` | `getPackage()`
    `TypeName` | `getType()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### TypeReference

          public TypeReference(Optional<PackageNameUnqualified> in_pack,
                               TypeName in_type)

      Construct a reference.
      Parameters:
        `in_pack` - The package name, if any
        `in_type` - The type name

  - ### Method Detail

    - #### getPackage

          public Optional<PackageNameUnqualified> getPackage()

      Returns:
        The package name, if any

    - #### getType

          public TypeName getType()

      Returns:
        The type name

Copyright © 2016 <code@io7m.com> http://io7m.com