com.cedarsoft.codegen
Class ParseExpressionFactory

java.lang.Object
  extended by com.cedarsoft.codegen.ParseExpressionFactory

public class ParseExpressionFactory
extends Object


Field Summary
static String STRING_VALUE_OF
           
static Set<? extends String> SUPPORTED_TYPE_NAMES
           
static Set<? extends Class<?>> SUPPORTED_TYPES
           
 
Constructor Summary
ParseExpressionFactory(com.sun.codemodel.JCodeModel model, ClassRefSupport classRefSupport)
           
 
Method Summary
 com.sun.codemodel.JExpression createParseExpression(com.sun.codemodel.JExpression varAsString, FieldTypeInformation fieldInfo)
           
 com.sun.codemodel.JExpression createToStringExpression(com.sun.codemodel.JInvocation getterInvocation, FieldTypeInformation fieldInfo)
           
static Set<? extends String> getSupportedTypeNames()
           
static Set<? extends Class<?>> getSupportedTypes()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STRING_VALUE_OF

@NonNls
public static final String STRING_VALUE_OF
See Also:
Constant Field Values

SUPPORTED_TYPES

@NotNull
public static final Set<? extends Class<?>> SUPPORTED_TYPES

SUPPORTED_TYPE_NAMES

@NotNull
public static final Set<? extends String> SUPPORTED_TYPE_NAMES
Constructor Detail

ParseExpressionFactory

public ParseExpressionFactory(@NotNull
                              com.sun.codemodel.JCodeModel model,
                              @NotNull
                              ClassRefSupport classRefSupport)
Method Detail

createParseExpression

@NotNull
public com.sun.codemodel.JExpression createParseExpression(@NotNull
                                                                   com.sun.codemodel.JExpression varAsString,
                                                                   @NotNull
                                                                   FieldTypeInformation fieldInfo)

createToStringExpression

@NotNull
public com.sun.codemodel.JExpression createToStringExpression(@NotNull
                                                                      com.sun.codemodel.JInvocation getterInvocation,
                                                                      @NotNull
                                                                      FieldTypeInformation fieldInfo)

getSupportedTypes

@NotNull
public static Set<? extends Class<?>> getSupportedTypes()

getSupportedTypeNames

@NotNull
public static Set<? extends String> getSupportedTypeNames()


Copyright © 2010 cedarsoft GmbH. All Rights Reserved.