dk.lec.idea.plugin.generate
Class FieldElementFactory

java.lang.Object
  |
  +--dk.lec.idea.plugin.generate.FieldElementFactory

public class FieldElementFactory
extends java.lang.Object

Factory for creating FieldElement objects.


Constructor Summary
FieldElementFactory()
           
 
Method Summary
static FieldElement newInstance(java.lang.String name, com.intellij.psi.PsiField field, com.intellij.psi.PsiElementFactory psiFactory)
          Create a new FieldElement object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldElementFactory

public FieldElementFactory()
Method Detail

newInstance

public static FieldElement newInstance(java.lang.String name,
                                       com.intellij.psi.PsiField field,
                                       com.intellij.psi.PsiElementFactory psiFactory)
                                throws com.intellij.util.IncorrectOperationException
Create a new FieldElement object.

Parameters:
name - name of the field.
field - the PsiField to get the information from.
Returns:
a new FieldElement object.
com.intellij.util.IncorrectOperationException