/** * Checks whether the given word is a valid Java identifier and throws * a ParseException if it isn't. Wildcard characters are accepted. */ private void checkJavaIdentifier(String expectedDescription) throws ParseException { checkJavaIdentifier(expectedDescription, true); }
/** * Checks whether the given word is a valid Java identifier and throws * a ParseException if it isn't. Wildcard characters are accepted. */ private void checkJavaIdentifier(String expectedDescription) throws ParseException { checkJavaIdentifier(expectedDescription, true); }
/** * Checks whether the given word is a valid Java identifier and throws * a ParseException if it isn't. Wildcard characters are accepted. */ private void checkJavaIdentifier(String expectedDescription) throws ParseException { checkJavaIdentifier(expectedDescription, true); }
checkJavaIdentifier("java type");
checkJavaIdentifier("java type"); String type = nextWord; checkJavaIdentifier("class member name");
checkJavaIdentifier("java type"); String type = nextWord; checkJavaIdentifier("class member name");
checkJavaIdentifier("java type", allowGenerics);
checkJavaIdentifier("java type"); String type = nextWord; checkJavaIdentifier("class member name");
checkJavaIdentifier("java type", allowGenerics);
checkJavaIdentifier("java type"); String type = nextWord; checkJavaIdentifier("class member name");
checkJavaIdentifier("java type", allowGenerics);