org.glassfish.pfl.dynamic.codegen.spi
Class Primitives

java.lang.Object
  extended by org.glassfish.pfl.dynamic.codegen.spi.Primitives

public class Primitives
extends Object


Method Summary
static Type getPrimitiveTypeForWrapper(Type type)
           
static Type getWrapperTypeForPrimitive(Type type)
           
static Expression unwrap(Expression expr)
           
static Expression wrap(Expression expr)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

wrap

public static Expression wrap(Expression expr)

getWrapperTypeForPrimitive

public static Type getWrapperTypeForPrimitive(Type type)

unwrap

public static Expression unwrap(Expression expr)

getPrimitiveTypeForWrapper

public static Type getPrimitiveTypeForWrapper(Type type)


Copyright © 2013 Oracle. All Rights Reserved.