code: protected JCTree resource() {
          JCModifiers optFinal = optFinal(Flags.FINAL);
          JCExpression type = parseType();
          int pos = token.pos;
          Name ident = ident();
          return variableDeclaratorRest(pos, optFinal, type, ident, true, null);
      }
docs: Resource = VariableModifiersOpt Type VariableDeclaratorId = Expression