byte (GrField field) { byte f = 0; if (field instanceof GrEnumConstant) { f |= IS_ENUM_CONSTANT; } if (field.isProperty()) { f |= IS_PROPERTY; } if (PsiImplUtil.isDeprecatedByDocTag(field)) { f |= IS_DEPRECATED_BY_DOC_TAG; } return f; }