java.lang.Object
com.weirddev.testme.intellij.template.context.Field

public class Field extends Object
Class field. Date: 24/10/2016
Author:
Yaron Yamin
  • Constructor Details

    • Field

      public Field(com.intellij.psi.PsiField psiField, com.intellij.psi.PsiClass srcClass, TypeDictionary typeDictionary, int maxRecursionDepth)
  • Method Details

    • isOverriddenInChild

      public static boolean isOverriddenInChild(com.intellij.psi.PsiField psiField, com.intellij.psi.PsiClass srcClass)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getType

      public Type getType()
      type of field
    • isOverridden

      public boolean isOverridden()
      true - if field is inherited and overridden in this type
    • isFinal

      public boolean isFinal()
      field has final modifier
    • isStatic

      public boolean isStatic()
      field is static
    • getOwnerClassCanonicalName

      public String getOwnerClassCanonicalName()
      canonical name of type owning this field
    • isAnnotatedByDI

      public boolean isAnnotatedByDI()
      true if field is annotated by dependency injection
    • isHasSetter

      public boolean isHasSetter()
      true if field has setter in tested class
    • isInitializedInline

      public boolean isInitializedInline()
      true if field is set to a value on declaration
    • getName

      public String getName()
      name given to field