com.cedarsoft.codegen.model
Interface FieldTypeInformation

All Known Subinterfaces:
FieldDeclarationInfo, FieldWithInitializationInfo
All Known Implementing Classes:
DefaultFieldDeclarationInfo, DefaultFieldTypeInformation, FieldInitializedInConstructorInfo, FieldInitializedInSetterInfo, FieldNotInitializationInfo

public interface FieldTypeInformation


Method Summary
 com.sun.mirror.type.TypeMirror getCollectionParam()
          Returns the collection parameter
 com.sun.mirror.type.TypeMirror getType()
          Returns the type of the field
 boolean isCollectionType()
          Whether this is a collection type
 boolean isType(Class<?> type)
          Whether the field is of the given type (exactly!)
 

Method Detail

getType

@NotNull
com.sun.mirror.type.TypeMirror getType()
Returns the type of the field

Returns:
the type of the field

isType

boolean isType(@NotNull
               Class<?> type)
Whether the field is of the given type (exactly!)

Parameters:
type - the type
Returns:
true if the field is of the given type

getCollectionParam

@NotNull
com.sun.mirror.type.TypeMirror getCollectionParam()
Returns the collection parameter

Returns:
the collection parameter

isCollectionType

boolean isCollectionType()
Whether this is a collection type

Returns:
whether this is a collection type


Copyright © 2010 cedarsoft GmbH. All Rights Reserved.