Package org.codehaus.groovy.ast.tools

Class Summary
GenericsUtils Utility methods to deal with generic types.
WideningCategories This class provides helper methods to determine the type from a widening operation for example for a plus operation.
To determine the resulting type of for example a=exp1+exp2 we look at the conditions WideningCategories.isIntCategory(ClassNode), WideningCategories.isLongCategory(ClassNode), WideningCategories.isBigIntCategory(ClassNode), WideningCategories.isDoubleCategory(ClassNode) and WideningCategories.isBigDecCategory(ClassNode) in that order.
WideningCategories.LowestUpperBoundClassNode This ClassNode specialization is used when the lowest upper bound of two types cannot be represented by an existing type.
 


Copyright © 2003-2011 The Codehaus. All rights reserved.