Package: org.codehaus.groovy.classgen.asm

## [Java] Class StatementMetaTypeChooser

- org.codehaus.groovy.classgen.asm.StatementMetaTypeChooser

- All Implemented Interfaces and Traits:
    TypeChooser

      public class StatementMetaTypeChooser
      extends Object
      implements TypeChooser

  A TypeChooser which is aware of statement metadata.

- - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public ClassNode` | `resolveType(Expression exp, ClassNode current)` * Resolve the type of an expression. Depending on the implementations, the * returned type may be the declared type or an inferred type. * Parameters: `expression` - the expression for which the type must be returned. * `classNode` - the classnode this expression belongs to * Returns: the resolved type.

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class Object` | `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### public ClassNode resolveType(Expression exp, ClassNode current)

      * Resolve the type of an expression. Depending on the implementations, the * returned type may be the declared type or an inferred type. *

      Parameters:
        `expression` - the expression for which the type must be returned. *
        `classNode` - the classnode this expression belongs to *
      Returns:
        the resolved type.