类型:转载 责任编辑:asp 日期:2007/03/01
不是考大家,是请教:)
什么情况能让javac输出这些信息?每条20分,决不食言!!
1.{0} is already defined in a single-type import
2.anonymous class implements interface; cannot have qualifier for new
3.cannot access {0}; {1}
4.{0} in {1} cannot be applied to ({2})
5.{0} cannot be dereferenced
6.cannot reference {0} before supertype constructor has been called
7.cannot select a static class from a parameterized type
8.{0} cannot be inherited with different arguments: <{1}> and <{2}>
9.{0} clashes with package of same name
10.illegal qualifier; {0} is not an inner class
11.illegal start of type
12.improperly formed type, some parameters are missing
13.internal error; cannot instantiate {0} at {1} to ({2})
14.interfaces {0} and {1} are incompatible; both define {2}, but with different return type
15.undeclared type variable: {0}
16.name clash: {0} and {1} have the same erasure
17.name clash: {0} in {1} and {2} in {3} have the same erasure, yet none overrides the other
18.no enclosing instance of type {0} is in scope
19.{0} has no match in entry in {1}; required {2}
20.package {0} clashes with class of same name
21.repeated interface
22.return outside method
23.signature does not match {0}; incompatible supertype
24.signature does not match {0}; incompatible interfaces
25.the symbol {0} conflicts with a compiler-synthesized symbol in {1}
26.type {0} does not take parameters
27.type variables cannot be dereferenced
28.type variable {0} occurs more than once in result type of {1}; cannot be left uninstantiated
29.type variable {0} occurs more than once in type of {1}; cannot be left uninstantiated
30.type parameters of {0} cannot be determined
31.initializer must be able to complete normally
32.wrong number of type arguments; required {0}
33.variable {0} might already have been assigned to
34.variable {0} might be assigned in loop
35.error:\u0020
36.too many constants
37.all your base class are belong to us
38.{0} uses unchecked operations.
39.some input files use unchecked operations.
40.[retrofitting {0}]
41.\tretrofitting {0} with {1}
42.\tretrofitting {0} with type parameters {1}, supertype {2}, interfaces {3}
43.unrecognized attribute: {0}
44..class expected
45.cannot access {0} {1}
46.type parameter {0} is not within its bound
47.type parameter {0} is not within its bound; {1}
48.abstract {0} {1} cannot be accessed directly
推荐阅读