< prev index next >
src/jdk.compiler/share/classes/com/sun/tools/javac/comp/ArgumentAttr.java
Print this page
@@ -89,11 +89,11 @@
* - if A is potentially a poly expression (i.e. diamond instance creation expression), a speculative
* pass over A is performed; the results of such speculative attribution are then saved in a special
* type, so that enclosing overload resolution can be carried by simply checking compatibility against the
* type determined during this speculative pass.
*
- * - if A is a standalone expression, regular atributtion takes place.
+ * - if A is a standalone expression, regular attribution takes place.
*
* To minimize the speculative work, a cache is used, so that already computed argument types
* associated with a given unique source location are never recomputed multiple times.
*/
public class ArgumentAttr extends JCTree.Visitor {
@@ -110,11 +110,11 @@
private Env<AttrContext> env;
/** Result of method attribution. */
Type result;
- /** Cache for argument types; behavior is influences by the currrently selected cache policy. */
+ /** Cache for argument types; behavior is influences by the currently selected cache policy. */
Map<UniquePos, ArgumentType<?>> argumentTypeCache = new LinkedHashMap<>();
public static ArgumentAttr instance(Context context) {
ArgumentAttr instance = context.get(methodAttrKey);
if (instance == null)
< prev index next >