com.cedarsoft.codegen.model
Class DefaultFieldDeclarationInfo

java.lang.Object
  extended by com.cedarsoft.codegen.model.DefaultFieldTypeInformation
      extended by com.cedarsoft.codegen.model.DefaultFieldDeclarationInfo
All Implemented Interfaces:
FieldDeclarationInfo, FieldInfo, FieldTypeInformation
Direct Known Subclasses:
FieldInitializedInConstructorInfo, FieldInitializedInSetterInfo, FieldNotInitializationInfo

public class DefaultFieldDeclarationInfo
extends DefaultFieldTypeInformation
implements FieldDeclarationInfo


Field Summary
protected  com.sun.mirror.declaration.FieldDeclaration fieldDeclaration
           
protected  com.sun.mirror.declaration.MethodDeclaration getterDeclaration
           
 
Constructor Summary
DefaultFieldDeclarationInfo(com.sun.mirror.declaration.MethodDeclaration getterDeclaration, com.sun.mirror.declaration.FieldDeclaration fieldDeclaration)
           
 
Method Summary
 com.sun.mirror.declaration.FieldDeclaration getFieldDeclaration()
          Returns the the field declaration
 com.sun.mirror.declaration.MethodDeclaration getGetterDeclaration()
          Returns the getter declaration
 String getSimpleName()
          Returns the simple name of the field
 String toString()
           
 
Methods inherited from class com.cedarsoft.codegen.model.DefaultFieldTypeInformation
getCollectionParam, getType, getTypeMirror, isCollectionType, isType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.cedarsoft.codegen.model.FieldTypeInformation
getCollectionParam, getType, isCollectionType, isType
 

Field Detail

fieldDeclaration

@NotNull
protected final com.sun.mirror.declaration.FieldDeclaration fieldDeclaration

getterDeclaration

@NotNull
protected final com.sun.mirror.declaration.MethodDeclaration getterDeclaration
Constructor Detail

DefaultFieldDeclarationInfo

public DefaultFieldDeclarationInfo(@NotNull
                                   com.sun.mirror.declaration.MethodDeclaration getterDeclaration,
                                   @NotNull
                                   com.sun.mirror.declaration.FieldDeclaration fieldDeclaration)
Method Detail

getFieldDeclaration

@NotNull
public com.sun.mirror.declaration.FieldDeclaration getFieldDeclaration()
Description copied from interface: FieldDeclarationInfo
Returns the the field declaration

Specified by:
getFieldDeclaration in interface FieldDeclarationInfo
Returns:
the field declaration

getGetterDeclaration

@NotNull
public com.sun.mirror.declaration.MethodDeclaration getGetterDeclaration()
Description copied from interface: FieldDeclarationInfo
Returns the getter declaration

Specified by:
getGetterDeclaration in interface FieldDeclarationInfo
Returns:
the getter

getSimpleName

@NotNull
@NonNls
public String getSimpleName()
Description copied from interface: FieldInfo
Returns the simple name of the field

Specified by:
getSimpleName in interface FieldInfo
Returns:
the simple name of the field

toString

public String toString()
Overrides:
toString in class DefaultFieldTypeInformation


Copyright © 2010 cedarsoft GmbH. All Rights Reserved.