List<String> get modifiers => [ if (isPublic) 'public', if (isPrivate) 'private', if (isStatic) 'static', if (isFinal) 'final', ];