code: int getFieldIndex(TypeElement declaringClass, String name, TypeMirror type)
      {
          return getFieldIndex(declaringClass, name, Descriptor.getFieldDesriptor(type));
      }
docs: Returns the constant map index to field
  @param declaringClass
  @param name
  @param type
  @return